[libcatmandu-mab2-perl] 01/01: Initial packaging.

Jonas Smedegaard dr at jones.dk
Tue Oct 21 21:22:09 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libcatmandu-mab2-perl.

commit ec4b70f58880041dcc85ba4a951b8cde4798a806
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Oct 21 22:53:30 2014 +0200

    Initial packaging.
---
 .gitignore             |  1 +
 debian/README.source   | 11 ++++++++
 debian/changelog       |  6 +++++
 debian/compat          |  1 +
 debian/control         | 31 ++++++++++++++++++++++
 debian/control.in      | 21 +++++++++++++++
 debian/copyright       | 50 ++++++++++++++++++++++++++++++++++++
 debian/copyright_hints | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/gbp.conf        |  8 ++++++
 debian/rules           | 46 +++++++++++++++++++++++++++++++++
 debian/source/format   |  1 +
 debian/watch           |  4 +++
 12 files changed, 250 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b408e6c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/.pc
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..f88449e
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,11 @@
+CDBS+git-buildpackage
+---------------------
+
+This source package uses CDBS and git-buildpackage.  NMUs need not (but
+are encouraged to) make special use of these tools.  In particular, the
+debian/control.in file can be completely ignored.
+
+More info here: http://wiki.debian.org/CDBS+git-buildpackage
+
+
+ -- Jonas Smedegaard <dr at jones.dk>  Mon, 18 Feb 2013 12:55:37 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4453ca4
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+libcatmandu-mab2-perl (0.07-1) unstable; urgency=low
+
+  * Initial Release.
+    Closes: bug#766204.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Tue, 21 Oct 2014 22:53:09 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..23bc7d3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,31 @@
+Source: libcatmandu-mab2-perl
+Section: perl
+Priority: optional
+Build-Depends: cdbs,
+ devscripts,
+ perl,
+ debhelper,
+ dh-buildinfo,
+ libcatmandu-perl,
+ libcatmandu-sru-perl,
+ libreadonly-perl,
+ libmoo-perl (>= 1),
+ libxml-libxml-perl (>= 2),
+ libtest-exception-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libcatmandu-mab2-perl
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libcatmandu-mab2-perl.git
+Homepage: https://github.com/jorol/Catmandu-MAB2
+
+Package: libcatmandu-mab2-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends}
+Enhances: ${cdbs:Enhances}
+Description: modules for working with MAB2 data within the Catmandu framework
+ Catmandu provides a suite of Perl modules to ease the import, storage,
+ retrieval, export and transformation of metadata records.
+ .
+ Catmandu::MAB2 contains methods to work with MAB2 data within the
+ Catmandu framework.
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 0000000..8a66d6c
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,21 @@
+Source: libcatmandu-mab2-perl
+Section: perl
+Priority: optional
+Build-Depends: @cdbs@
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libcatmandu-mab2-perl
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libcatmandu-mab2-perl.git
+Homepage: https://github.com/jorol/Catmandu-MAB2
+
+Package: libcatmandu-mab2-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends}
+Enhances: ${cdbs:Enhances}
+Description: modules for working with MAB2 data within the Catmandu framework
+ Catmandu provides a suite of Perl modules to ease the import, storage,
+ retrieval, export and transformation of metadata records.
+ .
+ Catmandu::MAB2 contains methods to work with MAB2 data within the
+ Catmandu framework.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9e88ee6
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,50 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Catmandu::MAB2
+Upstream-Contact: http://rt.cpan.org/Dist/Display.html?Queue=Catmandu-MAB2
+Source: https://github.com/jorol/Catmandu-MAB2
+ git://github.com/jorol/Catmandu-MAB2
+
+Files: *
+Copyright: 2013, Johann Rolschewski <rolschewski at gmail.com>
+License: Artistic or GPL-1+
+ License:
+ .
+ This is free software; you can redistribute it and/or modify it under
+ the same terms as the Perl 5 programming language system itself.
+ .
+ Comment:
+ .
+ Perl 5 is licensed under either the 'Artistic license' or the 'GNU
+ General Public License' version 1 or later.
+
+Files: debian/*
+Copyright: 2014, Jonas Smedegaard <dr at jones.dk>
+License: GPL-3+
+
+License: Artistic
+ Comment:
+ .
+ On Debian systems the 'Artistic License' is located in
+ '/usr/share/common-licenses/Artistic'.
+
+License: GPL-1+
+ Comment:
+ .
+ On Debian systems the 'GNU General Public License' version 1 is located
+ in '/usr/share/common-licenses/GPL-1'.
+
+License: GPL-3+
+ 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 3 of the License, 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.
+ .
+ Comment:
+ .
+ On Debian systems the 'GNU General Public License' version 3 is located
+ in '/usr/share/common-licenses/GPL-3'.
diff --git a/debian/copyright_hints b/debian/copyright_hints
new file mode 100644
index 0000000..ec0df0b
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,70 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: FIXME
+Upstream-Contact: FIXME
+Source: FIXME
+Disclaimer: Autogenerated by CDBS
+
+Files: CHANGES
+ MANIFEST
+ META.json
+ META.yml
+ Makefile.PL
+ cpanfile
+ debian/README.source
+ debian/compat
+ debian/control
+ debian/control.in
+ debian/gbp.conf
+ debian/source/format
+ debian/watch
+ dist.ini
+ t/00-load.t
+ t/01-parser.t
+ t/02-importer.t
+ t/03-fix.t
+ t/04-exporter.t
+ t/05-writer.t
+ t/06-sru.t
+ t/lib/MockFurl.pm
+ t/mab2.dat
+ t/mab2.xml
+ t/mab2disk.dat
+ t/sru_mabxml.xml
+Copyright: *No copyright*
+License: UNKNOWN
+ FIXME
+
+Files: README
+ bin/mab2_convert.pl
+ lib/Catmandu/Exporter/MAB2.pm
+ lib/Catmandu/Fix/mab_map.pm
+ lib/Catmandu/Importer/MAB2.pm
+ lib/Catmandu/Importer/SRU/Parser/mabxml.pm
+ lib/Catmandu/MAB2.pm
+ lib/MAB2/Parser/Disk.pm
+ lib/MAB2/Parser/RAW.pm
+ lib/MAB2/Parser/XML.pm
+ lib/MAB2/Writer/Disk.pm
+ lib/MAB2/Writer/Handle.pm
+ lib/MAB2/Writer/RAW.pm
+ lib/MAB2/Writer/XML.pm
+Copyright: 2013, Johann Rolschewski
+License: UNKNOWN
+ FIXME
+
+Files: debian/rules
+Copyright: 2014, Jonas Smedegaard <dr at jones.dk>
+License: GPL-3+
+ FIXME
+
+Files: LICENSE
+Copyright: 1989, Free Software Foundation, Inc
+  19xx name of author
+  19yy <name of author>
+  2013, Johann Rolschewski
+  disclaimer" for the program, if
+  interest in the
+  the software, and
+License: GPL-ever
+ FIXME
+
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..790a2f9
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,8 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
+
+[git-import-orig]
+filter = .gitignore
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fd0685c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,46 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2014 Jonas Smedegaard <dr at jones.dk>
+# Description: Main Debian packaging script for Catmandu::MAB2
+#
+# 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 3, 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, see <http://www.gnu.org/licenses/>.
+
+include /usr/share/cdbs/1/rules/upstream-tarball.mk
+include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/class/perl-makemaker.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+pkg = $(DEB_SOURCE_PACKAGE)
+
+DEB_UPSTREAM_PACKAGE = Catmandu-MAB2
+DEB_UPSTREAM_URL = http://www.cpan.org/authors/id/J/JO/JOROL
+
+# Needed by upstream build and (always) at runtime
+deps = libcatmandu-perl, libcatmandu-sru-perl, libreadonly-perl
+deps +=, libmoo-perl (>= 1)
+deps +=, libxml-libxml-perl (>= 2)
+
+# Needed by upstream testsuite
+deps-test +=, libtest-exception-perl
+
+CDBS_BUILD_DEPENDS +=, $(deps), $(deps-test)
+CDBS_DEPENDS_$(pkg) = $(deps)
+CDBS_ENHANCES_$(pkg) = libcatmandu-perl
+
+# Strip extension from executable and its man page
+binary-post-install/$(pkg)::
+	mv $(cdbs_curdestdir)usr/bin/mab2_convert.pl \
+		$(cdbs_curdestdir)usr/bin/mab2_convert
+	mv $(cdbs_curdestdir)usr/share/man/man1/mab2_convert.pl.1p \
+		$(cdbs_curdestdir)usr/share/man/man1/mab2_convert.1p
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..46ebe02
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
\ No newline at end of file
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..b7bf8ee
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# Run the "uscan" command to check for upstream updates and more.
+version=3
+http://www.cpan.org/authors/id/J/JO/JOROL/Catmandu-MAB2-([\d.]+)\.tar\.gz
+https://metacpan.org/release/Catmandu-MAB2 .*/Catmandu-MAB2-([\d.]+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcatmandu-mab2-perl.git



More information about the Pkg-perl-cvs-commits mailing list