[libxray-scattering-perl] 01/15: Imported Debian patch 0.2.2-1

gregor herrmann gregoa at debian.org
Tue Jul 28 16:45:42 UTC 2015


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

gregoa pushed a commit to branch master
in repository libxray-scattering-perl.

commit 3447b166d76b7e141e6e4a3255cb563808e74beb
Author: Carlo Segre <segre at debian.org>
Date:   Mon Mar 2 21:03:12 2009 -0600

    Imported Debian patch 0.2.2-1
---
 debian/changelog | 12 ++++++++
 debian/compat    |  1 +
 debian/control   | 21 ++++++++++++++
 debian/copyright | 17 ++++++++++++
 debian/dirs      |  1 +
 debian/rules     | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 135 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5788ff9
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,12 @@
+libxray-scattering-perl (0.2.2-1) unstable; urgency=low
+
+  * Initial release (Closes: #517946)
+
+ -- Carlo Segre <segre at debian.org>  Mon, 02 Mar 2009 21:03:12 -0600
+
+libxray-scattering-perl (0.2.1-1) unstable; urgency=low
+
+  * Initial unofficial release
+
+ -- Carlo Segre <segre at debian.org>  Sun, 27 Jul 2008 00:19:13 -0500
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..92c96ff
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: libxray-scattering-perl
+Section: perl
+Priority: optional
+Maintainer: Carlo Segre <segre at debian.org>
+Build-Depends: debhelper (>= 7)
+Build-Depends-Indep: perl (>= 5.8.8), libchemistry-elements-perl,
+	libmath-spline-perl, libxray-absorption-perl
+Standards-Version: 3.8.0
+Homepage: http://cars9.uchicago.edu/~ravel/software/
+
+Package: libxray-scattering-perl
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, libchemistry-elements-perl,
+	libmath-spline-perl, libxray-absorption-perl
+Homepage: http://cars9.uchicago.edu/~ravel/software/
+Description: x-ray scattering data for the elements
+ This module supports access to X-ray scattering data for atoms and ions. 
+ It is designed to be a transparent interface to scattering data from a
+ variety of sources.  Currently, the only sources of data are the Cromer-Mann
+ tables from the International Tables of Crystallography and the 1995
+ Waasmaier-Kirfel tables.  More resources can be added easily.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..fd8bbdd
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,17 @@
+This package was debianized by Carlo Segre <segre at debian.org> on
+Sat, 26 Jul 2008 00:19:13 -0500.
+
+It was downloaded from http://cars9.uchicago.edu/svn/libperlxray
+
+Upstream Author: Bruce Ravel <bravel at bnl.gov>
+
+Copyright (c) 1999-2007 Bruce Ravel
+
+License: 
+
+All rights reserved. This program is free software; you can 
+redistribute it and/or modify it under the same terms as Perl
+itself, see `/usr/share/common-licenses/Artistic'.
+
+The Debian packaging is (C) 2008, Carlo Segre <segre at debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..dd222db
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/share
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0cddc83
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,83 @@
+#!/usr/bin/make -f
+# This debian/rules file is provided as a template for perl packages 
+# using the Module::Build system.  It was written by Carlo Segre and 
+# may be freely used.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# Uncomment if patches required
+#include /usr/share/quilt/quilt.make
+
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+
+# Use "build-stamp: $(QUILT_STAMPFN)" if patches required
+build-stamp:
+	dh_testdir
+
+	# Generate the Build script and run it
+	$(PERL) Build.PL destdir=$(TMP)
+	./Build build
+	./Build test
+	touch $@
+
+# Use "clean: unpatch" if patches required
+clean:
+	dh_testdir
+	dh_testroot
+
+	dh_clean build-stamp install-stamp
+
+	# Clean up all directories and the Build script
+	[ ! -f Build ] || ./Build realclean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_prep
+
+	# Install package in temporary directory
+	./Build install --installdirs vendor
+	# remove .packlist
+	rm -rf $(TMP)/usr/lib/perl5/auto
+	# remove empty dirs if they exist
+	[ ! -d $(TMP)/usr/bin ] || rmdir --parents --ignore-fail-on-non-empty --verbose $(TMP)/usr/bin
+	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --parents --ignore-fail-on-non-empty --verbose $(TMP)/usr/lib/perl5
+
+	touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-dependent package
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installexamples
+	dh_installdocs
+	dh_installchangelogs
+	dh_perl
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+source diff:
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary

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



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