From: Jan Luebbe Date: Tue, 10 Jan 2006 10:45:06 +0000 (+0100) Subject: Imported Debian patch 0.1-1 X-Git-Tag: debian/0.1-1^0 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fc0e22639c2366b7225115db283c29e6848fb1aa;p=iec16022 Imported Debian patch 0.1-1 --- diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..4907581 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +iec16022 (0.1-1) unstable; urgency=low + + * Initial release. (Closes: #347267) + + -- Jan Luebbe Wed, 10 Jan 2006 11:45:06 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4310261 --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: iec16022 +Section: graphics +Priority: optional +Maintainer: Jan Luebbe +Build-Depends: debhelper (>= 4.0.0), dpatch, zlib1g-dev, libpopt-dev +Standards-Version: 3.6.2.2 + +Package: iec16022 +Architecture: any +Depends: ${shlibs:Depends} +Description: Generates 2d ISO/IEC 16022 barcodes (data matrix/semacode) + The program generates a 2d datamatrix/semacode barcode from a + parameter or from a file and produces output in various formats (png, + eps, ascii-art). + . + http://www.semapedia.org/ for example uses semacode tags to create + real-world "links" to wikipedia articles. + . + Homepage: http://www.datenfreihafen.org/projects/iec16022.html diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..0db1d00 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by Jan Luebbe on +Thu, 10 Jan 2006 10:11:14 +0100. + +It was downloaded from http://www.datenfreihafen.org/projects/iec16022.html + +Copyright Holders: + (c) 2004 Adrian Kennard, Andrews & Arnold Ltd + (c) 2006 Stefan Schmidt + + The Reed-Solomon encoder is (c) Cliff Hones 2004 + +License: + +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 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. + +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 GNU/Linux systems, the text of the GPL can be found in +/usr/share/common-licenses/GPL. diff --git a/debian/iec16022.install b/debian/iec16022.install new file mode 100644 index 0000000..681f725 --- /dev/null +++ b/debian/iec16022.install @@ -0,0 +1,3 @@ +iec16022 usr/bin +README usr/share/doc/iec16022 +CREDITS usr/share/doc/iec16022 diff --git a/debian/iec16022.manpages b/debian/iec16022.manpages new file mode 100644 index 0000000..7247a2a --- /dev/null +++ b/debian/iec16022.manpages @@ -0,0 +1 @@ +iec16022.1 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..da7222a --- /dev/null +++ b/debian/rules @@ -0,0 +1,114 @@ +#!/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. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +include /usr/share/dpatch/dpatch.make + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: patch + dh_testdir + + touch configure-stamp + + +#Architecture +build: build-arch + +build-arch: build-arch-stamp +build-arch-stamp: configure + $(CC) -o iec16022 iec16022.c -DLIB image.c reedsol.c iec16022ecc200.c -lz -lpopt + touch build-arch-stamp + +build-indep: build-indep-stamp +build-indep-stamp: configure + touch build-indep-stamp + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-arch-stamp build-indep-stamp configure-stamp + + -rm iec16022 + + dh_clean + +install: install-arch +install-indep: + dh_testdir + dh_testroot + dh_clean -k -i + dh_installdirs -i + + # Add here commands to install the indep part of the package into + # debian/-doc. + #INSTALLDOC# + + dh_install -i + +install-arch: + dh_testdir + dh_testroot + dh_clean -k -s + dh_installdirs -s + + # Add here commands to install the arch part of the package into + # debian/tmp. + #$(MAKE) install DESTDIR=$(CURDIR)/debian/projectm + + dh_install -s +# Must not depend on anything. This is to be called by +# binary-arch/binary-indep +# in another 'make' thread. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs CHANGELOG + dh_installdocs + #dh_installexamples + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb +# Build architecture independant packages using the common target. +binary-indep: build-indep install-indep + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build-arch install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +binary: binary-arch +.PHONY: build clean binary install configure +