diff -r 000000000000 -r ff1b43f833a9 pkgs/schachuhr.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pkgs/schachuhr.spec Fri Jul 08 21:05:20 2011 +0200 @@ -0,0 +1,79 @@ +## +## schachuhr.spec -- RPM Package Specification +## Copyright (c) 2011 Michael Schloh von Bennewitz +## +## Permission to use, copy, modify, and distribute this software for +## any purpose with or without fee is hereby granted, provided that +## the above copyright notice and this permission notice appear in all +## copies. +## +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +## SUCH DAMAGE. +## + +# package information +Name: schachuhr +Summary: Chess Clock +URL: http://schachuhr.europalab.com/ +Vendor: Europalab Software +Packager: Michael Schloh von Bennewitz +Distribution: Michael Schloh von Bennewitz +Group: Amusements/Games +License: GPL +Version: 0.6.0 +Release: 20110708 + +# list of sources +Source0: ftp://ftp.europalab.com/pub/sfw/schachuhr/schachuhr-%{version}.tar.gz + +# build information +#Prefix: /opt +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildRequires: pkgconfig(QtDeclarative), groff, util-linux-ng +Requires: pkgconfig(QtDeclarative) +AutoReq: no +AutoReqProv: no + +%description + SchachUhr is an electronic representation of a traditional game clock + such as those wooden or plastic clocks used in judging a chess match. + +%prep +%setup -q + +%build +qmake +make %{?jobs:-j%jobs} +groff -t -e -mandoc -Tascii docs/schachuhr.6.tr | col -bx | gzip -9 >docs/schachuhr.6.gz + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}/usr/share/doc/schachuhr +mkdir -p %{buildroot}/usr/share/man/man6 +%make_install INSTALL_ROOT=%{buildroot} +cp docs/license.txt %{buildroot}/usr/share/doc/schachuhr/ +cp docs/readme.txt %{buildroot}/usr/share/doc/schachuhr/ +cp docs/schachuhr.6.gz %{buildroot}/usr/share/man/man6/ + +%files +%defattr(-,root,root,-) +%{_bindir}/* +%doc %{_datadir}/doc/schachuhr +%doc %{_datadir}/man/man6/schachuhr.6.gz +%{_datadir}/applications/schachuhr.desktop +%{_datadir}/icons/hicolor/scalable/apps/schachuhr.svg +%{_datadir}/schachuhr/qml/* + +%changelog +* Fri Jul 08 2011 Michael Schloh von Bennewitz - 0.6.0 +- Implement initial package specification for initial software release.