[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#251873: diff file available



I have created my own package. Feel free to use the attached diff as a 
base for an official one.


Georg
diff -ruN libmarc-charset-perl-0.95.orig/debian/changelog libmarc-charset-perl-0.95/debian/changelog
--- libmarc-charset-perl-0.95.orig/debian/changelog	1970-01-01 01:00:00.000000000 +0100
+++ libmarc-charset-perl-0.95/debian/changelog	2006-03-05 16:37:59.000000000 +0100
@@ -0,0 +1,5 @@
+libmarc-charset-perl (0.95-1) unstable; urgency=low
+
+  * Initial version
+
+ -- Georg Baum <gbaum@users.sf.net>  Sun, 05 Mar 2006 16:18:16 +0100
diff -ruN libmarc-charset-perl-0.95.orig/debian/compat libmarc-charset-perl-0.95/debian/compat
--- libmarc-charset-perl-0.95.orig/debian/compat	1970-01-01 01:00:00.000000000 +0100
+++ libmarc-charset-perl-0.95/debian/compat	2006-03-05 16:56:29.000000000 +0100
@@ -0,0 +1 @@
+4
diff -ruN libmarc-charset-perl-0.95.orig/debian/control libmarc-charset-perl-0.95/debian/control
--- libmarc-charset-perl-0.95.orig/debian/control	1970-01-01 01:00:00.000000000 +0100
+++ libmarc-charset-perl-0.95/debian/control	2006-03-05 17:13:54.000000000 +0100
@@ -0,0 +1,31 @@
+Source: libmarc-charset-perl
+Section: perl
+Priority: optional
+Maintainer: Georg Baum <gbaum@users.sf.net>
+Build-Depends: debhelper (>= 4.0.0), perl
+Standards-Version: 3.6.1
+
+Package: libmarc-charset-perl
+Architecture: all
+Depends: ${perl:Depends}, libclass-accessor-perl
+Description: Bidirectional MARC-8 <-> Unicode converter module for perl
+ MARC::Charset is a package to assist you in converting converting data encoded
+ using MARC-8 character sets to Unicode (UTF-8).
+ .
+ The MARC format (MAchine Readable Cataloging) has been used since the early
+ 1970s to encode bibliographic data. Since catalogers have used non-Latin
+ character sets for a long time, MARC had to grapple with the issue of encoding
+ non-ASCII data in an 8-bit environment from very early on; this became known
+ as the "MARC-8 Environment".
+ .
+ In 1992 the Unicode standard provided a a uniform encoding for all major
+ modern written languages. The MARC21 standard now supports encoding character
+ data in Unicode, specifically the UCS Transformation Formats-8 (UTF-8). UTF-8
+ has the advantage that it allows normal ASCII (8-bit) data to exist side by
+ side with the full repertoire of Unicode characters (16-bit).
+ .
+ Unicode notwithstanding, libraries still have a wealth of data encoded using
+ MARC-8. Yet, some new data formats such as XML require that characters are
+ encoded using Unicode. In order to fascilitate conversion the Library of
+ Congress graciously published character mappings to enable the conversion
+ of MARC-8 data to Unicode.
diff -ruN libmarc-charset-perl-0.95.orig/debian/copyright libmarc-charset-perl-0.95/debian/copyright
--- libmarc-charset-perl-0.95.orig/debian/copyright	1970-01-01 01:00:00.000000000 +0100
+++ libmarc-charset-perl-0.95/debian/copyright	2006-03-05 16:52:02.000000000 +0100
@@ -0,0 +1,12 @@
+This package was debianized by Georg Baum <gbaum@users.sf.net>
+Sun Mar  5 16:18:16 CET 2006
+
+
+It was downloaded from http://www.cpan.org/modules/by-module/MARC/MARC-Charset-0.95.tar.gz
+
+Upstream Author(s): Copyright (C) 2002 Ed Summers <ehs@pobox.com>
+
+Copyright:
+
+This software is free software and may be distributed under the same
+terms as Perl itself.
diff -ruN libmarc-charset-perl-0.95.orig/debian/docs libmarc-charset-perl-0.95/debian/docs
--- libmarc-charset-perl-0.95.orig/debian/docs	1970-01-01 01:00:00.000000000 +0100
+++ libmarc-charset-perl-0.95/debian/docs	2006-03-05 16:20:50.000000000 +0100
@@ -0,0 +1 @@
+README
diff -ruN libmarc-charset-perl-0.95.orig/debian/rules libmarc-charset-perl-0.95/debian/rules
--- libmarc-charset-perl-0.95.orig/debian/rules	1970-01-01 01:00:00.000000000 +0100
+++ libmarc-charset-perl-0.95/debian/rules	2006-03-05 17:11:16.000000000 +0100
@@ -0,0 +1,84 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	perl Makefile.PL INSTALLDIRS=vendor
+	touch configure-stamp
+
+
+build: build-stamp
+build-stamp: configure-stamp 
+	dh_testdir
+	$(MAKE)
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp install-stamp
+	-$(MAKE) clean
+	dh_clean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	$(MAKE) install PREFIX=$(CURDIR)/debian/libmarc-charset-perl/usr
+#	rm `find . -name perllocal.pod`
+#	rm -rf debian/libmarc-charset-perl/usr/lib
+	touch install-stamp
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+#	dh_installdebconf	
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+	dh_installcron
+	dh_installman
+	dh_installinfo
+#	dh_undocumented
+	dh_installchangelogs Changes
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_makeshlibs
+	dh_installdeb
+	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# We have nothing to do by default.
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure

Reply to: