--- openpref-0.1.3.orig/debian/control +++ openpref-0.1.3/debian/control @@ -0,0 +1,15 @@ +Source: openpref +Section: games +Priority: optional +Maintainer: tang ke +Build-Depends: debhelper (>= 7), cmake, libqt4-dev (>= 4.3.4) +Standards-Version: 3.8.3 +Homepage: http://sourceforge.net/projects/openpref/ + +Package: openpref +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: card game against two virtual players + OpenPref is open source implemetation of European trick-taking game + Preferans against two virtual players. Two alternative AI algorithms + are available. --- openpref-0.1.3.orig/debian/docs +++ openpref-0.1.3/debian/docs @@ -0,0 +1,4 @@ +BUGS +NEWS +README +TODO --- openpref-0.1.3.orig/debian/compat +++ openpref-0.1.3/debian/compat @@ -0,0 +1 @@ +7 --- openpref-0.1.3.orig/debian/watch +++ openpref-0.1.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/openpref/openpref-(.*)\.tar\.gz --- openpref-0.1.3.orig/debian/rules +++ openpref-0.1.3/debian/rules @@ -0,0 +1,92 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + + +builddir/Makefile: + dh_testdir + # Add here commands to configure the package. + mkdir -p builddir + cd builddir && cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_FLAGS="$(CFLAGS)" -DCMAKE_LD_FLAGS="-Wl,-z,defs" -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" -DCMAKE_SKIP_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=ON + + +build: build-stamp + +build-stamp: builddir/Makefile + dh_testdir + + # Add here commands to compile the package. + $(MAKE) -C builddir + #docbook-to-man debian/openpref.sgml > openpref.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + rm -f Makefile Makefile.Debug Makefile.Release + rm -rf builddir + + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/openpref. + $(MAKE) -C builddir DESTDIR=$(CURDIR)/debian/openpref install + + +# Build architecture-independent files here. +binary-indep: install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- openpref-0.1.3.orig/debian/copyright +++ openpref-0.1.3/debian/copyright @@ -0,0 +1,68 @@ +This package was debianized by tang ke + +It was downloaded from http://sourceforge.net/projects/openpref + +Upstream Authors: + + Azarniy I.V., initial developer of KPref + Fedotov A.V., developer of OpenPref 0.1.0 + Ketmar Dark, author of new alphabeta engine, Qt4 port and massive refactorization + Konstantin Tokarev, developer of 0.1.2 and 0.1.3 + Contact: annulen@users.sourceforge.net + +Copyright: + + Copyright (C) 2000-2009 OpenPref Developers + +OpenPref License: + + OpenPref is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program (see file COPYING); if not, see + http://www.gnu.org/licenses + +cmake License: + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 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 AUTHOR 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. + +On Debian systems, the complete text of the GNU General +Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + +The Debian packaging is: + + Copyright (C) 2009 tang ke + +and is licensed under the GPL version 3, see above. --- openpref-0.1.3.orig/debian/openpref.1 +++ openpref-0.1.3/debian/openpref.1 @@ -0,0 +1,14 @@ +.TH OPENPREF 1 "Sep 2009" +.SH NAME +openpref \- card game against two virtual players +.SH OPTIONS +.SS Generic options: +.TP +End of options +.SS + +.SH AUTHORS +.nf +annu len +.br + --- openpref-0.1.3.orig/debian/manpages +++ openpref-0.1.3/debian/manpages @@ -0,0 +1 @@ +debian/openpref.1 --- openpref-0.1.3.orig/debian/dirs +++ openpref-0.1.3/debian/dirs @@ -0,0 +1 @@ +usr/bin --- openpref-0.1.3.orig/debian/changelog +++ openpref-0.1.3/debian/changelog @@ -0,0 +1,5 @@ +openpref (0.1.3-1) unstable; urgency=low + + * Initial release. (closes: #556615) + + -- tang ke Thu, 29 Oct 2009 15:07:42 +0800