pkgs/schachuhr.spec

Fri, 08 Jul 2011 22:42:37 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 08 Jul 2011 22:42:37 +0200
changeset 4
fe1cd8fc5b83
parent 0
ff1b43f833a9
permissions
-rw-r--r--

Correct packaging for imminent validation by Intel AppUp.

michael@0 1 ##
michael@0 2 ## schachuhr.spec -- RPM Package Specification
michael@0 3 ## Copyright (c) 2011 Michael Schloh von Bennewitz <michael@schloh.com>
michael@0 4 ##
michael@0 5 ## Permission to use, copy, modify, and distribute this software for
michael@0 6 ## any purpose with or without fee is hereby granted, provided that
michael@0 7 ## the above copyright notice and this permission notice appear in all
michael@0 8 ## copies.
michael@0 9 ##
michael@0 10 ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
michael@0 11 ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
michael@0 12 ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
michael@0 13 ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
michael@0 14 ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
michael@0 15 ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
michael@0 16 ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
michael@0 17 ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
michael@0 18 ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
michael@0 19 ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
michael@0 20 ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
michael@0 21 ## SUCH DAMAGE.
michael@0 22 ##
michael@0 23
michael@0 24 # package information
michael@0 25 Name: schachuhr
michael@0 26 Summary: Chess Clock
michael@0 27 URL: http://schachuhr.europalab.com/
michael@0 28 Vendor: Europalab Software
michael@0 29 Packager: Michael Schloh von Bennewitz
michael@0 30 Distribution: Michael Schloh von Bennewitz
michael@0 31 Group: Amusements/Games
michael@0 32 License: GPL
michael@4 33 Version: 0.6.1
michael@0 34 Release: 20110708
michael@0 35
michael@0 36 # list of sources
michael@0 37 Source0: ftp://ftp.europalab.com/pub/sfw/schachuhr/schachuhr-%{version}.tar.gz
michael@0 38
michael@0 39 # build information
michael@0 40 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
michael@0 41 BuildRequires: pkgconfig(QtDeclarative), groff, util-linux-ng
michael@4 42 Requires: libqtdeclarative4
michael@0 43 AutoReq: no
michael@0 44 AutoReqProv: no
michael@0 45
michael@0 46 %description
michael@0 47 SchachUhr is an electronic representation of a traditional game clock
michael@0 48 such as those wooden or plastic clocks used in judging a chess match.
michael@0 49
michael@0 50 %prep
michael@0 51 %setup -q
michael@0 52
michael@0 53 %build
michael@0 54 qmake
michael@0 55 make %{?jobs:-j%jobs}
michael@0 56 groff -t -e -mandoc -Tascii docs/schachuhr.6.tr | col -bx | gzip -9 >docs/schachuhr.6.gz
michael@0 57
michael@0 58 %install
michael@0 59 rm -rf %{buildroot}
michael@0 60 mkdir -p %{buildroot}/usr/share/doc/schachuhr
michael@0 61 mkdir -p %{buildroot}/usr/share/man/man6
michael@0 62 %make_install INSTALL_ROOT=%{buildroot}
michael@0 63 cp docs/license.txt %{buildroot}/usr/share/doc/schachuhr/
michael@0 64 cp docs/readme.txt %{buildroot}/usr/share/doc/schachuhr/
michael@0 65 cp docs/schachuhr.6.gz %{buildroot}/usr/share/man/man6/
michael@0 66
michael@0 67 %files
michael@0 68 %defattr(-,root,root,-)
michael@0 69 %{_bindir}/*
michael@0 70 %doc %{_datadir}/doc/schachuhr
michael@0 71 %doc %{_datadir}/man/man6/schachuhr.6.gz
michael@0 72 %{_datadir}/applications/schachuhr.desktop
michael@0 73 %{_datadir}/icons/hicolor/scalable/apps/schachuhr.svg
michael@0 74 %{_datadir}/schachuhr/qml/*
michael@0 75
michael@0 76 %changelog
michael@0 77 * Fri Jul 08 2011 Michael Schloh von Bennewitz <michael@schloh.com> - 0.6.0
michael@0 78 - Implement initial package specification for initial software release.

mercurial