Fri, 08 Jul 2011 22:40:26 +0200
Added tag SCHUR_GENESIS for changeset ff1b43f833a9
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@0 | 33 | Version: 0.6.0 |
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 | #Prefix: /opt |
michael@0 | 41 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
michael@0 | 42 | BuildRequires: pkgconfig(QtDeclarative), groff, util-linux-ng |
michael@0 | 43 | Requires: pkgconfig(QtDeclarative) |
michael@0 | 44 | AutoReq: no |
michael@0 | 45 | AutoReqProv: no |
michael@0 | 46 | |
michael@0 | 47 | %description |
michael@0 | 48 | SchachUhr is an electronic representation of a traditional game clock |
michael@0 | 49 | such as those wooden or plastic clocks used in judging a chess match. |
michael@0 | 50 | |
michael@0 | 51 | %prep |
michael@0 | 52 | %setup -q |
michael@0 | 53 | |
michael@0 | 54 | %build |
michael@0 | 55 | qmake |
michael@0 | 56 | make %{?jobs:-j%jobs} |
michael@0 | 57 | groff -t -e -mandoc -Tascii docs/schachuhr.6.tr | col -bx | gzip -9 >docs/schachuhr.6.gz |
michael@0 | 58 | |
michael@0 | 59 | %install |
michael@0 | 60 | rm -rf %{buildroot} |
michael@0 | 61 | mkdir -p %{buildroot}/usr/share/doc/schachuhr |
michael@0 | 62 | mkdir -p %{buildroot}/usr/share/man/man6 |
michael@0 | 63 | %make_install INSTALL_ROOT=%{buildroot} |
michael@0 | 64 | cp docs/license.txt %{buildroot}/usr/share/doc/schachuhr/ |
michael@0 | 65 | cp docs/readme.txt %{buildroot}/usr/share/doc/schachuhr/ |
michael@0 | 66 | cp docs/schachuhr.6.gz %{buildroot}/usr/share/man/man6/ |
michael@0 | 67 | |
michael@0 | 68 | %files |
michael@0 | 69 | %defattr(-,root,root,-) |
michael@0 | 70 | %{_bindir}/* |
michael@0 | 71 | %doc %{_datadir}/doc/schachuhr |
michael@0 | 72 | %doc %{_datadir}/man/man6/schachuhr.6.gz |
michael@0 | 73 | %{_datadir}/applications/schachuhr.desktop |
michael@0 | 74 | %{_datadir}/icons/hicolor/scalable/apps/schachuhr.svg |
michael@0 | 75 | %{_datadir}/schachuhr/qml/* |
michael@0 | 76 | |
michael@0 | 77 | %changelog |
michael@0 | 78 | * Fri Jul 08 2011 Michael Schloh von Bennewitz <michael@schloh.com> - 0.6.0 |
michael@0 | 79 | - Implement initial package specification for initial software release. |