--- liblicense-0.8.orig/debian/control +++ liblicense-0.8/debian/control @@ -0,0 +1,76 @@ +Source: liblicense +XS-Python-Version: current +Priority: extra +Maintainer: Asheesh Laroia +DM-Upload-Allowed: yes +Build-Depends: debhelper (>= 5.0.38), libcurl4-gnutls-dev, libvorbis-dev, libtag1-dev, libflac-dev, libraptor-dev, libexempi-dev, libid3-3.8.3-dev, libgsf-1-dev, python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), libglib2.0-dev, xsltproc, docbook-xsl, libtool, libexpat-dev +Standards-Version: 3.7.2 +Section: libs + +Package: liblicense-dev +Section: libdevel +Architecture: any +Depends: liblicense3 (= ${binary:Version}) +Description: Stores and retrieves license information in media files + Liblicense implements the Creative Commons metadata standards for saving + and retrieving information about media files, including the license they + are under, where to get more information, and how to obtain further + permissions. The library is targeted at sotware developers; end-users + probably will not intentionally install this. + +Package: liblicense3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, liblicense-rdf (= ${source:Version}) +Description: Stores and retrieves license information in media files + Liblicense implements the Creative Commons metadata standards for saving + and retrieving information about media files, including the license they + are under, where to get more information, and how to obtain further + permissions. The library is targeted at sotware developers; end-users + probably will not intentionally install this. + +Package: liblicense-rdf +Section: libs +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: RDF metadata about media license choices + Liblicense implements the Creative Commons metadata standards for saving + and retrieving information about media files, including the license they + are under, where to get more information, and how to obtain further + permissions. This package distributes RDF metadata files that contain + information about various licenses. + +Package: liblicense-cli +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Command-line interface for license metadata + Liblicense implements the Creative Commons metadata standards for saving + and retrieving information about media files, including the license they + are under, where to get more information, and how to obtain further + permissions. The library is targeted at sotware developers; end-users + probably will not intentionally install this. + +Package: liblicense-icons +Section: libs +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Icons for Creative Commons and other licenses + Liblicense implements the Creative Commons metadata standards for saving + and retrieving information about media files, including the license they + are under, where to get more information, and how to obtain further + permissions. This is the package of icons used by liblicense and + perhaps useful to other programs displaying license information. + +Package: python-liblicense +Section: python +Architecture: any +XB-Python-Version: ${python:Versions} +Depends: ${shlibs:Depends}, ${python:Depends} +Provides: ${python:Provides} +Description: Python bindings for library to analyze media files' license info + Liblicense implements the Creative Commons metadata standards for saving + and retrieving information about media files, including the license they + are under, where to get more information, and how to obtain further + permissions. This is the package for Python bindings, allowing applications + in the Python language to use liblicense. --- liblicense-0.8.orig/debian/liblicense-rdf.install +++ liblicense-0.8/debian/liblicense-rdf.install @@ -0,0 +1,2 @@ +usr/share/liblicense/licenses/* + --- liblicense-0.8.orig/debian/docs +++ liblicense-0.8/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- liblicense-0.8.orig/debian/liblicense3.dirs +++ liblicense-0.8/debian/liblicense3.dirs @@ -0,0 +1,3 @@ +usr/lib +usr/lib/liblicense/0.8/io +usr/lib/liblicense/0.8/config --- liblicense-0.8.orig/debian/dirs +++ liblicense-0.8/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- liblicense-0.8.orig/debian/copyright +++ liblicense-0.8/debian/copyright @@ -0,0 +1,41 @@ +This package was debianized by Asheesh Laroia on +Mon, 30 Jul 2007 17:34:38 -0700. + +It was downloaded from http://sourceforge.net/projects/liblicense/. + +Copyright: (C) 2007-2008 Creative Commons + (C) 2007 Jason Kivlighn + (C) 2007 Scott Shawcroft + (C) 2007-2008 Peter Miller + +This includes xdgmime, which originates at +http://webcvs.freedesktop.org/mime/xdgmime/. It includes a header +indicating that it, too, permits re-use under LGPL v2 or later. It has +these copyright holders: + +xdgmime Copyright: + * Copyright (C) 2003,2004 Red Hat, Inc. + * Copyright (C) 2003,2004 Jonathan Blandford + +License: + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This package 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; 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 Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + + +The Debian packaging is (C) 2007, Asheesh Laroia and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- liblicense-0.8.orig/debian/liblicense-icons.install +++ liblicense-0.8/debian/liblicense-icons.install @@ -0,0 +1,2 @@ +usr/share/liblicense/icons/* +usr/share/pixmaps/*.svg --- liblicense-0.8.orig/debian/liblicense-cli.manpages +++ liblicense-0.8/debian/liblicense-cli.manpages @@ -0,0 +1 @@ +license.1 --- liblicense-0.8.orig/debian/manpage.xml +++ liblicense-0.8/debian/manpage.xml @@ -0,0 +1,232 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| less'. A +typical entry in a Makefile or Makefile.am is: + +DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\ +manpages/docbook.xsl +XP=xsltproc -''-nonet + +manpage.1: manpage.dbk + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The +XSL files are in docbook-xsl. Please remember that if you +create the nroff version in one of the debian/rules file +targets (such as build), you will need to include xsltproc +and docbook-xsl in your Build-Depends control field. + +--> + + + Asheesh"> + Laroia"> + + June 4, 2008"> + + 1"> + asheesh@asheesh.org"> + + LIBLICENSE"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + 2008 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + program to specify and modify media file licenses + + + + &dhpackage; + + + + + DESCRIPTION + + The liblicense package provides a + &dhpackage; command to + allow simple command-line examination and manipulation of license + information embedded in media files. The default action is to show the + default license as configured in $HOME/.license. This default can be + offered by applications that use liblicense when asking you what + license you would like to release your work under. + + + + In addition to showing you and allowing you to change the + embedded license in a file, the &dhpackage; + also can show and allow you to change the embedded "web + statement URI", a link to a web page with information about the file + that you can use to verify the embedded license. + + + + + OPTIONS + + These programs follow the usual &gnu; command line syntax, + with long options starting with two dashes (`-'). A summary of + options is included below. For a complete description, run the + application with --help. + + + + + + + + Show summary of options. + + + + + + + + + Output more information about the actions of the program. + + + + + + + + + Output less information about the actions of the program. + + + + + + + + + List all avialbale licenses in JURISDICTION (uses the + generic jurisdiction if JURISDICTION is not specified). + + + + + + + + + Sets the license of the file (to the license specified by "-l"). + + + + + + + + + Removes the embedded license metadata from the file. + + + + + + + + + When setting the license of a file or the default license preference, set it to URI. + + + + + + + + + Sets the web statement link in the file (to the value specified by "-w"). + + + + + + + + + Removes the embedded web statement metadata from the file. + + + + + + + + + When setting the web statement URI in a file, set it to URI. + + + + + + + + + + Use the module called MODULE to interact with a file. + + + + + + + + + List the available modules and their capabilities. + Modules are used to handle different media types. + + + + + + + AUTHOR + + This manual page was written by &dhusername; &dhemail;. Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; Lesser General Public License, Version 2.1 or any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in /usr/share/common-licenses/LGPL. + + + +
+ --- liblicense-0.8.orig/debian/liblicense3.install +++ liblicense-0.8/debian/liblicense3.install @@ -0,0 +1,2 @@ +usr/lib/liblicense.so.* +usr/lib/liblicense/*/*/* --- liblicense-0.8.orig/debian/compat +++ liblicense-0.8/debian/compat @@ -0,0 +1 @@ +5 --- liblicense-0.8.orig/debian/liblicense-icons.postinst +++ liblicense-0.8/debian/liblicense-icons.postinst @@ -0,0 +1,43 @@ +#!/bin/sh +# postinst script for liblicense +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + # Ask GNOME to regenerate icon cache + [ ! -d /usr/share/icons/hicolor ] || touch /usr/share/icons/hicolor + ;; + + 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 + + --- liblicense-0.8.orig/debian/changelog +++ liblicense-0.8/debian/changelog @@ -0,0 +1,33 @@ +liblicense (0.8-2.1build1) natty; urgency=low + + * Rebuild to add support for python 2.7. + + -- Matthias Klose Fri, 03 Dec 2010 00:03:32 +0000 + +liblicense (0.8-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix "fails to install": rename debian/postinst to + debian/liblicense-icons.postinst and touch /usr/share/icons/hicolor only + if it exists (closes: #566562). + + -- gregor herrmann Tue, 23 Feb 2010 21:16:24 +0100 + +liblicense (0.8-2) unstable; urgency=low + + * Build-depend on libcurl4-gnutls-dev to avoid the conflict with + libraptor1-dev at build-time. (Closes: #524237) + + -- Asheesh Laroia Tue, 23 Jun 2009 13:27:54 -0400 + +liblicense (0.8-1) unstable; urgency=low + + * New upstream release. + + -- Asheesh Laroia Tue, 29 Jul 2008 17:59:30 -0700 + +liblicense (0.7.0-1) unstable; urgency=low + + * Initial upload. (Closes: #461736) + + -- Asheesh Laroia Mon, 02 Jun 2008 17:53:32 -0700 --- liblicense-0.8.orig/debian/python-liblicense.install +++ liblicense-0.8/debian/python-liblicense.install @@ -0,0 +1,2 @@ +usr/lib/python*/site-packages/liblicense/liblicense.so +usr/lib/python*/site-packages/liblicense/__init__.py --- liblicense-0.8.orig/debian/liblicense-cli.install +++ liblicense-0.8/debian/liblicense-cli.install @@ -0,0 +1 @@ +usr/bin/license --- liblicense-0.8.orig/debian/rules +++ liblicense-0.8/debian/rules @@ -0,0 +1,116 @@ +#!/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 + +PYVERS=$(shell pyversions -vr) + +DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl +XP=xsltproc -''-nonet + +license.1: debian/manpage.xml + $(XP) $(DB2MAN) $< + +# 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 + +# shared library versions, option 1 +#version=1.0.0 +#major=1 +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +version=`ls src/.libs/lib*.so.* | \ + awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +major=`ls src/.libs/lib*.so.* | \ + awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +config.status: configure + dh_testdir + # Add here commands to configure the package. +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 + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-debug-code CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,--as-needed" --disable-ruby + + +build: license.1 build-stamp + touch $@ + +install: build + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. +# $(MAKE) check # first + $(MAKE) # for real + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + rm -f config.sub config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install +# mv $(CURDIR)/license.1 $(CURDIR)/debian/tmp/usr/share/man + +# 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 --sourcedir=debian/tmp + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_pycentral + 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 --- liblicense-0.8.orig/debian/liblicense-dev.install +++ liblicense-0.8/debian/liblicense-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/liblicense*.la +usr/lib/liblicense*.a +usr/lib/pkgconfig/liblicense.pc --- liblicense-0.8.orig/debian/liblicense-dev.dirs +++ liblicense-0.8/debian/liblicense-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include