diff -r 8fd77655ff43 -r 1bc8dc17e9c9 pkgs/appup/schachuhr.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pkgs/appup/schachuhr.spec Wed Jul 27 23:10:09 2011 +0200 @@ -0,0 +1,88 @@ +## +## 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.2 +Release: 20110726 + +# list of sources +Source0: ftp://ftp.europalab.com/pub/sfw/schachuhr/schachuhr-%{version}.tar.gz + +# build information +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildRequires: pkgconfig(QtDeclarative), groff, util-linux-ng +Requires: libqtdeclarative4 +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}/opt/share/doc/schachuhr +mkdir -p %{buildroot}/opt/share/man/man6 +%make_install INSTALL_ROOT=%{buildroot} +cp docs/license.txt %{buildroot}/opt/share/doc/schachuhr/ +cp docs/readme.txt %{buildroot}/opt/share/doc/schachuhr/ +cp docs/schachuhr.6.gz %{buildroot}/opt/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/* + +%post +echo "+------------------------Warning------------------------+" +echo "| To pass AppUp validation this binary package must be |" +echo "| correctly named: com...rpm |" +echo "+-------------------------------------------------------+" + +%changelog +* Tue Jul 26 2011 Michael Schloh von Bennewitz - 0.6.2 +- Update version with vendor upstream current release. +* Sat Jul 09 2011 Michael Schloh von Bennewitz - 0.6.1 +- Correct runtime binary dependencies to not use the pkgconfig framework. +* Fri Jul 08 2011 Michael Schloh von Bennewitz - 0.6.0 +- Implement initial package specification for initial software release.