pkgs/schachuhr.spec

changeset 9
070a0d1c21d4
parent 8
6fe6d3548766
child 10
5b52bd88259b
     1.1 --- a/pkgs/schachuhr.spec	Sat Jul 09 19:14:03 2011 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,78 +0,0 @@
     1.4 -##
     1.5 -##  schachuhr.spec -- RPM Package Specification
     1.6 -##  Copyright (c) 2011 Michael Schloh von Bennewitz <michael@schloh.com>
     1.7 -##
     1.8 -##  Permission to use, copy, modify, and distribute this software for
     1.9 -##  any purpose with or without fee is hereby granted, provided that
    1.10 -##  the above copyright notice and this permission notice appear in all
    1.11 -##  copies.
    1.12 -##
    1.13 -##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
    1.14 -##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
    1.15 -##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
    1.16 -##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
    1.17 -##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    1.18 -##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    1.19 -##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
    1.20 -##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    1.21 -##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    1.22 -##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
    1.23 -##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    1.24 -##  SUCH DAMAGE.
    1.25 -##
    1.26 -
    1.27 -#   package information
    1.28 -Name:         schachuhr
    1.29 -Summary:      Chess Clock
    1.30 -URL:          http://schachuhr.europalab.com/
    1.31 -Vendor:       Europalab Software
    1.32 -Packager:     Michael Schloh von Bennewitz
    1.33 -Distribution: Michael Schloh von Bennewitz
    1.34 -Group:        Amusements/Games
    1.35 -License:      GPL
    1.36 -Version:      0.6.1
    1.37 -Release:      20110708
    1.38 -
    1.39 -#   list of sources
    1.40 -Source0:      ftp://ftp.europalab.com/pub/sfw/schachuhr/schachuhr-%{version}.tar.gz
    1.41 -
    1.42 -#   build information
    1.43 -BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root
    1.44 -BuildRequires: pkgconfig(QtDeclarative), groff, util-linux-ng
    1.45 -Requires:      libqtdeclarative4
    1.46 -AutoReq:       no
    1.47 -AutoReqProv:   no
    1.48 -
    1.49 -%description
    1.50 -    SchachUhr is an electronic representation of a traditional game clock
    1.51 -    such as those wooden or plastic clocks used in judging a chess match.
    1.52 -
    1.53 -%prep
    1.54 -%setup -q
    1.55 -
    1.56 -%build
    1.57 -qmake
    1.58 -make %{?jobs:-j%jobs}
    1.59 -groff -t -e -mandoc -Tascii docs/schachuhr.6.tr | col -bx | gzip -9 >docs/schachuhr.6.gz
    1.60 -
    1.61 -%install
    1.62 -rm -rf %{buildroot}
    1.63 -mkdir -p %{buildroot}/usr/share/doc/schachuhr
    1.64 -mkdir -p %{buildroot}/usr/share/man/man6
    1.65 -%make_install INSTALL_ROOT=%{buildroot}
    1.66 -cp docs/license.txt %{buildroot}/usr/share/doc/schachuhr/
    1.67 -cp docs/readme.txt %{buildroot}/usr/share/doc/schachuhr/
    1.68 -cp docs/schachuhr.6.gz %{buildroot}/usr/share/man/man6/
    1.69 -
    1.70 -%files
    1.71 -%defattr(-,root,root,-)
    1.72 -%{_bindir}/*
    1.73 -%doc %{_datadir}/doc/schachuhr
    1.74 -%doc %{_datadir}/man/man6/schachuhr.6.gz
    1.75 -%{_datadir}/applications/schachuhr.desktop
    1.76 -%{_datadir}/icons/hicolor/scalable/apps/schachuhr.svg
    1.77 -%{_datadir}/schachuhr/qml/*
    1.78 -
    1.79 -%changelog
    1.80 -* Fri Jul 08 2011 Michael Schloh von Bennewitz <michael@schloh.com> - 0.6.0
    1.81 -- Implement initial package specification for initial software release.

mercurial