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