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