From: <suc...@us...> - 2006-06-03 19:41:37
|
Revision: 31 Author: sucknblow Date: 2006-06-03 12:41:05 -0700 (Sat, 03 Jun 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=31&view=rev Log Message: ----------- Add Debian packaging files. These aren't quite 'lintian' clean, yet. Names libmozjs-dev as a build dependency - this package only exists in Debian unstable right now. For building packages on older Debian suites, or (K)ubuntu, use libsmjs-dev instead. Added Paths: ----------- trunk/debian/ trunk/debian/README.Debian trunk/debian/changelog trunk/debian/compat trunk/debian/control trunk/debian/copyright trunk/debian/docs trunk/debian/easypmp.install trunk/debian/postinst trunk/debian/postrm trunk/debian/preinst trunk/debian/prerm trunk/debian/rules Added: trunk/debian/README.Debian =================================================================== --- trunk/debian/README.Debian (rev 0) +++ trunk/debian/README.Debian 2006-06-03 19:41:05 UTC (rev 31) @@ -0,0 +1,6 @@ +easypmp for Debian +------------------ + +<possible notes regarding this package - if none, delete this file> + + -- Martin Ellis <mar...@kd...>, Fri, 2 Jun 2006 18:43:00 +0100 Added: trunk/debian/changelog =================================================================== --- trunk/debian/changelog (rev 0) +++ trunk/debian/changelog 2006-06-03 19:41:05 UTC (rev 31) @@ -0,0 +1,6 @@ +pmplib (0.10-1) unstable; urgency=low + + * Initial release Closes: #nnnn (nnnn is the bug number of your ITP) + + -- Martin Ellis <mar...@kd...> Fri, 2 Jun 2006 18:43:00 +0100 + Added: trunk/debian/compat =================================================================== --- trunk/debian/compat (rev 0) +++ trunk/debian/compat 2006-06-03 19:41:05 UTC (rev 31) @@ -0,0 +1 @@ +4 Added: trunk/debian/control =================================================================== --- trunk/debian/control (rev 0) +++ trunk/debian/control 2006-06-03 19:41:05 UTC (rev 31) @@ -0,0 +1,16 @@ +Source: pmplib +Section: sound +Priority: optional +Maintainer: Martin Ellis <mar...@kd...> +Build-Depends: debhelper (>= 4.0.0), libid3tag0-dev, libmozjs-dev +Standards-Version: 3.6.2 + +Package: easypmp +Architecture: any +Depends: ${shlibs:Depends} +Description: create music databases used by portable media players + Easypmp is a command line utility used to maintain the music database on + a variety of portable music players. + . + Portable music players use that database to allow the user to browse + tracks stored on the device by artist, album, genre or track title. Added: trunk/debian/copyright =================================================================== --- trunk/debian/copyright (rev 0) +++ trunk/debian/copyright 2006-06-03 19:41:05 UTC (rev 31) @@ -0,0 +1,32 @@ +This package was debianized by Martin Ellis <mar...@kd...> on +Fri, 2 Jun 2006 18:43:00 +0100. + +It was downloaded from http://pmplib.sourceforge.net/ + +The source code is also available from the project Subversion repository: +https://svn.sourceforge.net/svnroot/pmplib + +The upstream maintainer of this package is +Nyaochi <ny...@ny...> + +Copyright: + + Copyright (C) 2006 Nyaochi <ny...@ny...> + Copyright (C) 2006 Martin Ellis <mar...@kd...> + + This program 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 2, 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; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems the complete text of the GNU General Public License can +be found in '/usr/share/common-licenses/GPL'. Added: trunk/debian/docs =================================================================== --- trunk/debian/docs (rev 0) +++ trunk/debian/docs 2006-06-03 19:41:05 UTC (rev 31) @@ -0,0 +1 @@ +README Added: trunk/debian/easypmp.install =================================================================== --- trunk/debian/easypmp.install (rev 0) +++ trunk/debian/easypmp.install 2006-06-03 19:41:05 UTC (rev 31) @@ -0,0 +1,9 @@ +debian/tmp/usr/lib/libucs2.so.* +debian/tmp/usr/lib/libfilepath.so.* +debian/tmp/usr/lib/libgmi.so.* +debian/tmp/usr/lib/libplaylist.so.* +debian/tmp/usr/lib/libpmp.so.* +debian/tmp/usr/lib/pmp/*.so +debian/tmp/usr/lib/pmp/*.la +debian/tmp/usr/bin/easypmp +debian/tmp/usr/share/doc/easypmp/* Added: trunk/debian/postinst =================================================================== --- trunk/debian/postinst (rev 0) +++ trunk/debian/postinst 2006-06-03 19:41:05 UTC (rev 31) @@ -0,0 +1,42 @@ +#! /bin/sh +# postinst script for easypmp +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# + +case "$1" in + configure) + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + Added: trunk/debian/postrm =================================================================== --- trunk/debian/postrm (rev 0) +++ trunk/debian/postrm 2006-06-03 19:41:05 UTC (rev 31) @@ -0,0 +1,38 @@ +#! /bin/sh +# postrm script for easypmp +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 Added: trunk/debian/preinst =================================================================== --- trunk/debian/preinst (rev 0) +++ trunk/debian/preinst 2006-06-03 19:41:05 UTC (rev 31) @@ -0,0 +1,38 @@ +#! /bin/sh +# preinst script for easypmp +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <new-preinst> `install' +# * <new-preinst> `install' <old-version> +# * <new-preinst> `upgrade' <old-version> +# * <old-preinst> `abort-upgrade' <new-version> +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + Added: trunk/debian/prerm =================================================================== --- trunk/debian/prerm (rev 0) +++ trunk/debian/prerm 2006-06-03 19:41:05 UTC (rev 31) @@ -0,0 +1,38 @@ +#! /bin/sh +# prerm script for easypmp +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + Added: trunk/debian/rules =================================================================== --- trunk/debian/rules (rev 0) +++ trunk/debian/rules 2006-06-03 19:41:05 UTC (rev 31) @@ -0,0 +1,88 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure + dh_testdir + CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man + + +build: build-stamp + +build-stamp: config.status + dh_testdir + $(MAKE) + #docbook-to-man debian/easypmp.sgml > easypmp.1 + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_install +# dh_installmenu + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps -ldebian/easypmp/usr/lib + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install Property changes on: trunk/debian/rules ___________________________________________________________________ Name: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |