Index: Makefile ================================================================== --- Makefile +++ Makefile @@ -5,13 +5,13 @@ SHELL := /bin/bash #(for brace expansion) NAME := streamtuner2 VERSION := $(shell version get:plugin st2.py || echo 2.1dev) DEST := /usr/share/streamtuner2 INST := install -m 644 -PACK := xpm +PACK := xpm --verbose DEPS := -n $(NAME) -d python -d python-pyquery -d python-gtk2 -d python-requests -d python-keybinder -OPTS := -s src -u man,fixperms,preprocess=py -f --prefix=$(DEST) --deb-compression xz --rpm-compression xz --exe-autoextract +OPTS := -s src -u man,packfile,fixperms,preprocess=py -f --prefix=$(DEST) --deb-compression xz --rpm-compression xz --exe-autoextract # targets .PHONY: bin all: gtk3 #(most used) pack: all ver docs xpm src ADDED Packfile Index: Packfile ================================================================== --- Packfile +++ Packfile @@ -0,0 +1,8 @@ +# The "Packfile" is just a make script, which is used as mid-packing +# helper. It's run within fpm/xmp execution context in /tmp/staging123/, +# where final distribution file arrangements are made. +# Keeps the Makefile more „build“-related. + + +all: # complainy lintian needs a custom changelog.gz + gzip -9c usr/share/doc/streamtuner2/NEWS > usr/share/doc/streamtuner2/changelog.gz Index: st2.py ================================================================== --- st2.py +++ st2.py @@ -16,11 +16,11 @@ # category: sound # depends: pygtk | gi, threading, requests, pyquery, lxml # id: streamtuner2 # pack: *.py, gtk3.xml.gz, bin, channels/__init__.py, bundle/*.py, CREDITS, help/index.page, # streamtuner2.desktop, README, help/streamtuner2.1=/usr/share/man/man1/, -# NEWS.gz=/usr/share/doc/streamtuner2/changelog.gz, icon.png=/usr/share/pixmaps/streamtuner2.png +# NEWS=/usr/share/doc/streamtuner2/, icon.png=/usr/share/pixmaps/streamtuner2.png # architecture: all # # Streamtuner2 is a GUI for browsing internet radio directories, music # collections, and video services - grouped by genres or categories. # It runs your preferred audio player, and streamripper for recording.