Debian packaging, step #1
* add setup.py for python distutils use * add packaging/debian/* Not ready yet, but at least seems to behave sanely
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
free-poker-tools (0.10.99) unstable; urgency=low
|
||||
|
||||
* Initial packaging release.
|
||||
|
||||
-- Mika Bostrom <bostik+fpdb@iki.fi> Thu, 20 Aug 2009 06:30:53 +0300
|
||||
@@ -0,0 +1 @@
|
||||
7
|
||||
@@ -0,0 +1,24 @@
|
||||
Source: free-poker-tools
|
||||
Maintainer: Mika Bostrom <bostik+fpdb@bostik.iki.fi>
|
||||
Section: games
|
||||
Priority: optional
|
||||
Build-Depends: python, dpkg-dev, python-support
|
||||
Standards-Version: 3.8.0
|
||||
|
||||
Package: python-fpdb
|
||||
Architecture: any
|
||||
Section: games
|
||||
Priority: optional
|
||||
Depends: ${python:Depends}, python-gtk2, python-matplotlib,
|
||||
python-support, mysql-server | postgresql | python-pysqlite2,
|
||||
python-psycopg2 | python-mysqldb
|
||||
Suggests: wine
|
||||
Description: free poker database with HUD
|
||||
FPDB is a statistics tool for online poker. It supports most sites
|
||||
and several games. Most prominent feature is its heads-up display
|
||||
(HUD) which shows statistical details for players in real time.
|
||||
.
|
||||
Due to the fact that most online poker clients are Windows-only,
|
||||
you may need to install wine.
|
||||
.
|
||||
FPDB is under heavy development.
|
||||
@@ -0,0 +1,7 @@
|
||||
This package was debianised by Mika Bostrom <bostik+fpdb@bostik.iki.fi>
|
||||
|
||||
Upstream authors: ...
|
||||
|
||||
License: AGPL
|
||||
|
||||
Copyright (C) 2008- The FPDB developers
|
||||
@@ -0,0 +1 @@
|
||||
/usr/share/pyshared/fpdb/fpdb.py /usr/bin/fpdb
|
||||
@@ -0,0 +1 @@
|
||||
2.4-
|
||||
Executable
+45
@@ -0,0 +1,45 @@
|
||||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
|
||||
PACKAGE := python-fpdb
|
||||
|
||||
build: build-stamp
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
python setup.py build
|
||||
touch $@
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
python setup.py clean
|
||||
rm -rf build
|
||||
dh_clean build-stamp
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_prep || dh_clean -k
|
||||
dh_installdirs
|
||||
#
|
||||
python setup.py install --root=debian/$(PACKAGE) --prefix=/usr --no-compile
|
||||
|
||||
binary-indep: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installchangelogs
|
||||
dh_installdocs
|
||||
dh_link
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_pysupport
|
||||
dh_installdeb
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary-arch: build install
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install
|
||||
|
||||
Reference in New Issue
Block a user