Sun, 10 Jul 2011 10:07:31 +0200
Add Deb packaging logic and move RPM to its own directory.
pkgs/deb/README | file | annotate | diff | comparison | revisions | |
pkgs/deb/changelog | file | annotate | diff | comparison | revisions | |
pkgs/deb/compat | file | annotate | diff | comparison | revisions | |
pkgs/deb/control | file | annotate | diff | comparison | revisions | |
pkgs/deb/copyright | file | annotate | diff | comparison | revisions | |
pkgs/deb/rules | file | annotate | diff | comparison | revisions | |
pkgs/rpm/schachuhr.spec | file | annotate | diff | comparison | revisions | |
pkgs/schachuhr.spec | file | annotate | diff | comparison | revisions | |
schachuhr.pro | file | annotate | diff | comparison | revisions |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pkgs/deb/README Sun Jul 10 10:07:31 2011 +0200 1.3 @@ -0,0 +1,6 @@ 1.4 +The Debian Package schachuhr 1.5 +---------------------------- 1.6 + 1.7 +Comments regarding the Package 1.8 + 1.9 + -- Michael Schloh von Bennewitz <michael@schloh.com> Sun, 10 Jul 2011 09:20:43 +0200
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/pkgs/deb/changelog Sun Jul 10 10:07:31 2011 +0200 2.3 @@ -0,0 +1,5 @@ 2.4 +schachuhr (0.0.1) unstable; urgency=low 2.5 + 2.6 + * Initial Release. 2.7 + 2.8 + -- Michael Schloh von Bennewitz <michael@schloh.com> Sun, 10 Jul 2011 09:20:43 +0200
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/pkgs/deb/compat Sun Jul 10 10:07:31 2011 +0200 3.3 @@ -0,0 +1,1 @@ 3.4 +7
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/pkgs/deb/control Sun Jul 10 10:07:31 2011 +0200 4.3 @@ -0,0 +1,19 @@ 4.4 +Source: schachuhr 4.5 +Section: games 4.6 +Priority: optional 4.7 +Maintainer: Michael Schloh von Bennewitz <michael@schloh.com> 4.8 +Build-Depends: debhelper (>= 5), libqt4-dev 4.9 +Standards-Version: 3.7.3 4.10 +Homepage: http://schachuhr.europalab.com/ 4.11 + 4.12 +Package: schachuhr 4.13 +Architecture: any 4.14 +Depends: ${shlibs:Depends}, ${misc:Depends} 4.15 +Description: Game clock graphical user interface client 4.16 + Game clocks typically used in chess matches afford two competing 4.17 + opponents the means of judging their move timing by looking at their 4.18 + side of the game clock. This allows for judging the match outcome as 4.19 + well, because of time allowance playing a role in chess. The SchachUhr 4.20 + can certainly be used for this, but in other types of strategy matches 4.21 + and games in which timing plays a role as well. 4.22 +XSBC-Maemo-Display-Name: schachuhr
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/pkgs/deb/copyright Sun Jul 10 10:07:31 2011 +0200 5.3 @@ -0,0 +1,35 @@ 5.4 +This package was debianized by Michael Schloh von Bennewitz 5.5 +<michael@schloh.com> on Sun, 10 Jul 2011 09:20:43 +0200. 5.6 + 5.7 +It was downloaded from http://schachuhr.europalab.com/ 5.8 + 5.9 +Upstream Author: 5.10 + 5.11 + Michael Schloh von Bennewitz <michael@schloh.com> 5.12 + 5.13 +Copyright: 5.14 + 5.15 + Copyright (C) 2011 Michael Schloh von Bennewitz 5.16 + 5.17 +License: 5.18 + 5.19 + This package is free software; you can redistribute it and/or modify 5.20 + it under the terms of the GNU General Public License as published by 5.21 + the Free Software Foundation; either version 2 of the License, or 5.22 + (at your option) any later version. 5.23 + 5.24 + This package is distributed in the hope that it will be useful, 5.25 + but WITHOUT ANY WARRANTY; without even the implied warranty of 5.26 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 5.27 + GNU General Public License for more details. 5.28 + 5.29 + You should have received a copy of the GNU General Public License 5.30 + along with this package; if not, write to the Free Software 5.31 + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 5.32 + 5.33 +The complete text of the GNU General Public License can be found at: 5.34 + 5.35 + http://www.gnu.org/licenses/gpl-2.0.html 5.36 + 5.37 +The Debian packaging is (C) 2011, Michael Schloh von Bennewitz 5.38 +<michael@schloh.com> and is licensed under the GPL, see above.
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/pkgs/deb/rules Sun Jul 10 10:07:31 2011 +0200 6.3 @@ -0,0 +1,91 @@ 6.4 +#!/usr/bin/make -f 6.5 +# -*- makefile -*- 6.6 +# Sample debian/rules that uses debhelper. 6.7 +# This file was originally written by Joey Hess and Craig Small. 6.8 +# As a special exception, when this file is copied by dh-make into a 6.9 +# dh-make output file, you may use that output file without restriction. 6.10 +# This special exception was added by Craig Small in version 0.37 of dh-make. 6.11 + 6.12 +# Uncomment this to turn on verbose mode. 6.13 +#export DH_VERBOSE=1 6.14 + 6.15 + 6.16 + 6.17 + 6.18 + 6.19 +configure: configure-stamp 6.20 +configure-stamp: 6.21 + dh_testdir 6.22 + # qmake PREFIX=/usr# Uncomment this line for use without Qt Creator 6.23 + 6.24 + touch configure-stamp 6.25 + 6.26 + 6.27 +build: build-stamp 6.28 + 6.29 +build-stamp: configure-stamp 6.30 + dh_testdir 6.31 + 6.32 + # Add here commands to compile the package. 6.33 + # $(MAKE) # Uncomment this line for use without Qt Creator 6.34 + #docbook-to-man debian/schachuhr.sgml > schachuhr.1 6.35 + 6.36 + touch $@ 6.37 + 6.38 +clean: 6.39 + dh_testdir 6.40 + dh_testroot 6.41 + rm -f build-stamp configure-stamp 6.42 + 6.43 + # Add here commands to clean up after the build process. 6.44 + $(MAKE) clean 6.45 + 6.46 + dh_clean 6.47 + 6.48 +install: build 6.49 + dh_testdir 6.50 + dh_testroot 6.51 + dh_clean -k 6.52 + dh_installdirs 6.53 + 6.54 + # Add here commands to install the package into debian/schachuhr. 6.55 + $(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/schachuhr install 6.56 + 6.57 + 6.58 +# Build architecture-independent files here. 6.59 +binary-indep: build install 6.60 +# We have nothing to do by default. 6.61 + 6.62 +# Build architecture-dependent files here. 6.63 +binary-arch: build install 6.64 + dh_testdir 6.65 + dh_testroot 6.66 + dh_installchangelogs 6.67 + dh_installdocs 6.68 + dh_installexamples 6.69 +# dh_install 6.70 +# dh_installmenu 6.71 +# dh_installdebconf 6.72 +# dh_installlogrotate 6.73 +# dh_installemacsen 6.74 +# dh_installpam 6.75 +# dh_installmime 6.76 +# dh_python 6.77 +# dh_installinit 6.78 +# dh_installcron 6.79 +# dh_installinfo 6.80 + dh_installman 6.81 + dh_link 6.82 + dh_strip 6.83 + dh_compress 6.84 + dh_fixperms 6.85 +# dh_perl 6.86 +# dh_makeshlibs 6.87 + dh_installdeb 6.88 + # dh_shlibdeps # Uncomment this line for use without Qt Creator 6.89 + dh_gencontrol 6.90 + dh_md5sums 6.91 + dh_builddeb 6.92 + 6.93 +binary: binary-indep binary-arch 6.94 +.PHONY: build clean binary-indep binary-arch binary install configure
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/pkgs/rpm/schachuhr.spec Sun Jul 10 10:07:31 2011 +0200 7.3 @@ -0,0 +1,78 @@ 7.4 +## 7.5 +## schachuhr.spec -- RPM Package Specification 7.6 +## Copyright (c) 2011 Michael Schloh von Bennewitz <michael@schloh.com> 7.7 +## 7.8 +## Permission to use, copy, modify, and distribute this software for 7.9 +## any purpose with or without fee is hereby granted, provided that 7.10 +## the above copyright notice and this permission notice appear in all 7.11 +## copies. 7.12 +## 7.13 +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 7.14 +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 7.15 +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 7.16 +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR 7.17 +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 7.18 +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 7.19 +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 7.20 +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 7.21 +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 7.22 +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 7.23 +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 7.24 +## SUCH DAMAGE. 7.25 +## 7.26 + 7.27 +# package information 7.28 +Name: schachuhr 7.29 +Summary: Chess Clock 7.30 +URL: http://schachuhr.europalab.com/ 7.31 +Vendor: Europalab Software 7.32 +Packager: Michael Schloh von Bennewitz 7.33 +Distribution: Michael Schloh von Bennewitz 7.34 +Group: Amusements/Games 7.35 +License: GPL 7.36 +Version: 0.6.1 7.37 +Release: 20110708 7.38 + 7.39 +# list of sources 7.40 +Source0: ftp://ftp.europalab.com/pub/sfw/schachuhr/schachuhr-%{version}.tar.gz 7.41 + 7.42 +# build information 7.43 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root 7.44 +BuildRequires: pkgconfig(QtDeclarative), groff, util-linux-ng 7.45 +Requires: libqtdeclarative4 7.46 +AutoReq: no 7.47 +AutoReqProv: no 7.48 + 7.49 +%description 7.50 + SchachUhr is an electronic representation of a traditional game clock 7.51 + such as those wooden or plastic clocks used in judging a chess match. 7.52 + 7.53 +%prep 7.54 +%setup -q 7.55 + 7.56 +%build 7.57 +qmake 7.58 +make %{?jobs:-j%jobs} 7.59 +groff -t -e -mandoc -Tascii docs/schachuhr.6.tr | col -bx | gzip -9 >docs/schachuhr.6.gz 7.60 + 7.61 +%install 7.62 +rm -rf %{buildroot} 7.63 +mkdir -p %{buildroot}/usr/share/doc/schachuhr 7.64 +mkdir -p %{buildroot}/usr/share/man/man6 7.65 +%make_install INSTALL_ROOT=%{buildroot} 7.66 +cp docs/license.txt %{buildroot}/usr/share/doc/schachuhr/ 7.67 +cp docs/readme.txt %{buildroot}/usr/share/doc/schachuhr/ 7.68 +cp docs/schachuhr.6.gz %{buildroot}/usr/share/man/man6/ 7.69 + 7.70 +%files 7.71 +%defattr(-,root,root,-) 7.72 +%{_bindir}/* 7.73 +%doc %{_datadir}/doc/schachuhr 7.74 +%doc %{_datadir}/man/man6/schachuhr.6.gz 7.75 +%{_datadir}/applications/schachuhr.desktop 7.76 +%{_datadir}/icons/hicolor/scalable/apps/schachuhr.svg 7.77 +%{_datadir}/schachuhr/qml/* 7.78 + 7.79 +%changelog 7.80 +* Fri Jul 08 2011 Michael Schloh von Bennewitz <michael@schloh.com> - 0.6.0 7.81 +- Implement initial package specification for initial software release.
8.1 --- a/pkgs/schachuhr.spec Sat Jul 09 19:14:03 2011 +0200 8.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 8.3 @@ -1,78 +0,0 @@ 8.4 -## 8.5 -## schachuhr.spec -- RPM Package Specification 8.6 -## Copyright (c) 2011 Michael Schloh von Bennewitz <michael@schloh.com> 8.7 -## 8.8 -## Permission to use, copy, modify, and distribute this software for 8.9 -## any purpose with or without fee is hereby granted, provided that 8.10 -## the above copyright notice and this permission notice appear in all 8.11 -## copies. 8.12 -## 8.13 -## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 8.14 -## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 8.15 -## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 8.16 -## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR 8.17 -## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 8.18 -## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 8.19 -## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 8.20 -## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 8.21 -## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 8.22 -## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 8.23 -## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 8.24 -## SUCH DAMAGE. 8.25 -## 8.26 - 8.27 -# package information 8.28 -Name: schachuhr 8.29 -Summary: Chess Clock 8.30 -URL: http://schachuhr.europalab.com/ 8.31 -Vendor: Europalab Software 8.32 -Packager: Michael Schloh von Bennewitz 8.33 -Distribution: Michael Schloh von Bennewitz 8.34 -Group: Amusements/Games 8.35 -License: GPL 8.36 -Version: 0.6.1 8.37 -Release: 20110708 8.38 - 8.39 -# list of sources 8.40 -Source0: ftp://ftp.europalab.com/pub/sfw/schachuhr/schachuhr-%{version}.tar.gz 8.41 - 8.42 -# build information 8.43 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root 8.44 -BuildRequires: pkgconfig(QtDeclarative), groff, util-linux-ng 8.45 -Requires: libqtdeclarative4 8.46 -AutoReq: no 8.47 -AutoReqProv: no 8.48 - 8.49 -%description 8.50 - SchachUhr is an electronic representation of a traditional game clock 8.51 - such as those wooden or plastic clocks used in judging a chess match. 8.52 - 8.53 -%prep 8.54 -%setup -q 8.55 - 8.56 -%build 8.57 -qmake 8.58 -make %{?jobs:-j%jobs} 8.59 -groff -t -e -mandoc -Tascii docs/schachuhr.6.tr | col -bx | gzip -9 >docs/schachuhr.6.gz 8.60 - 8.61 -%install 8.62 -rm -rf %{buildroot} 8.63 -mkdir -p %{buildroot}/usr/share/doc/schachuhr 8.64 -mkdir -p %{buildroot}/usr/share/man/man6 8.65 -%make_install INSTALL_ROOT=%{buildroot} 8.66 -cp docs/license.txt %{buildroot}/usr/share/doc/schachuhr/ 8.67 -cp docs/readme.txt %{buildroot}/usr/share/doc/schachuhr/ 8.68 -cp docs/schachuhr.6.gz %{buildroot}/usr/share/man/man6/ 8.69 - 8.70 -%files 8.71 -%defattr(-,root,root,-) 8.72 -%{_bindir}/* 8.73 -%doc %{_datadir}/doc/schachuhr 8.74 -%doc %{_datadir}/man/man6/schachuhr.6.gz 8.75 -%{_datadir}/applications/schachuhr.desktop 8.76 -%{_datadir}/icons/hicolor/scalable/apps/schachuhr.svg 8.77 -%{_datadir}/schachuhr/qml/* 8.78 - 8.79 -%changelog 8.80 -* Fri Jul 08 2011 Michael Schloh von Bennewitz <michael@schloh.com> - 0.6.0 8.81 -- Implement initial package specification for initial software release.
9.1 --- a/schachuhr.pro Sat Jul 09 19:14:03 2011 +0200 9.2 +++ b/schachuhr.pro Sun Jul 10 10:07:31 2011 +0200 9.3 @@ -29,3 +29,11 @@ 9.4 # Please do not modify the following two lines. Required for deployment. 9.5 include(qmlapplicationviewer/qmlapplicationviewer.pri) 9.6 qtcAddDeployment() 9.7 + 9.8 +OTHER_FILES += \ 9.9 + pkgs/deb/rules \ 9.10 + pkgs/deb/README \ 9.11 + pkgs/deb/copyright \ 9.12 + pkgs/deb/control \ 9.13 + pkgs/deb/compat \ 9.14 + pkgs/deb/changelog