Update debian packaging for new snapshot
* Deal with .pyw file extensions, because distutils doesn't * Remove unnecessary win32-only build files from fpdb/* * Tweak .desktop file for better menu integration * Assume that build happens with python2.6
This commit is contained in:
parent
8411f3ed09
commit
22fb033823
|
@ -5,5 +5,5 @@ Exec=/usr/bin/fpdb
|
|||
Icon=fpdb-icon.png
|
||||
Terminal=true
|
||||
Type=Application
|
||||
Categories=Utility
|
||||
Categories=Utility;GTK;Application
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
free-poker-tools (0.20~git20100616) unstable; urgency=low
|
||||
free-poker-tools (0.20~git20100630) unstable; urgency=low
|
||||
|
||||
* Snapshot release
|
||||
* Executable names have been changed to accommodate for some win32
|
||||
trouble cases; update paths
|
||||
trouble cases; install these files manually to build-tree
|
||||
* Improved statistics
|
||||
|
||||
-- Mika Bostrom <bostik+fpdb@bostik.iki.fi> Wed, 16 Jun 2010 08:10:00 +0300
|
||||
|
|
|
@ -23,6 +23,13 @@ install: build
|
|||
dh_installdirs
|
||||
#
|
||||
python setup.py install --root=debian/$(PACKAGE) --prefix=/usr --no-compile
|
||||
# Copy *.pyw manually in packaging tree
|
||||
cp pyfpdb/*.pyw debian/$(PACKAGE)/usr/lib/python2.6/site-packages/fpdb/
|
||||
# Remove scripts that are only useful in win32
|
||||
rm debian/$(PACKAGE)/usr/lib/python2.6/site-packages/fpdb//windows_make_bats.py
|
||||
rm debian/$(PACKAGE)/usr/lib/python2.6/site-packages/fpdb/makeexe.py
|
||||
rm debian/$(PACKAGE)/usr/lib/python2.6/site-packages/fpdb/py2exe_setup.py
|
||||
|
||||
|
||||
binary-indep: build install
|
||||
dh_testdir
|
||||
|
|
3
setup.py
3
setup.py
|
@ -12,8 +12,7 @@ setup(name = 'fpdb',
|
|||
package_dir = { 'fpdb' : 'pyfpdb' },
|
||||
data_files = [
|
||||
('/usr/share/doc/python-fpdb',
|
||||
['docs/readme.txt', 'docs/release-notes.txt',
|
||||
'docs/tabledesign.html', 'THANKS.txt']),
|
||||
['THANKS.txt']),
|
||||
('/usr/share/pixmaps',
|
||||
['gfx/fpdb-icon.png', 'gfx/fpdb-icon2.png',
|
||||
'gfx/fpdb-cards.png'
|
||||
|
|
Loading…
Reference in New Issue
Block a user