--- libtext-roman-perl-3.3.orig/debian/changelog +++ libtext-roman-perl-3.3/debian/changelog @@ -0,0 +1,18 @@ +libtext-roman-perl (3.3-3) unstable; urgency=low + + * Section change (interpreters -> perl) + + -- Gunnar Wolf Thu, 19 Jun 2003 14:08:24 -0500 + +libtext-roman-perl (3.3-2) unstable; urgency=low + + * Changed the maintainer email address to the official Debian address + + -- Gunnar Wolf Thu, 19 Jun 2003 13:29:47 -0500 + +libtext-roman-perl (3.3-1) unstable; urgency=low + + * Initial Release. + + -- Gunnar Wolf Fri, 25 Apr 2003 18:59:10 -0500 + --- libtext-roman-perl-3.3.orig/debian/watch +++ libtext-roman-perl-3.3/debian/watch @@ -0,0 +1,6 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=2 +ftp://arix.com/ekkis/Text-Roman-(\d.*)\.tar\.gz --- libtext-roman-perl-3.3.orig/debian/dirs +++ libtext-roman-perl-3.3/debian/dirs @@ -0,0 +1,2 @@ +usr/share/perl5/Text/Roman +usr/share/doc/libtext-roman-perl --- libtext-roman-perl-3.3.orig/debian/copyright +++ libtext-roman-perl-3.3/debian/copyright @@ -0,0 +1,33 @@ +This package was debianized by Gunnar Eyal Wolf Iszaevich on +Fri, 25 Apr 2003 18:59:10 -0500. + +It was downloaded from ftp://arix.com/ekkis/ + +Upstream Author: Erick Calder + +Copyright: + This Perl Text::Roman module is licensed under the following license: + +Copyright (c) 2002, Erick Calder + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject +to the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --- libtext-roman-perl-3.3.orig/debian/control +++ libtext-roman-perl-3.3/debian/control @@ -0,0 +1,15 @@ +Source: libtext-roman-perl +Section: perl +Priority: optional +Maintainer: Gunnar Wolf +Standards-Version: 3.5.9 + +Package: libtext-roman-perl +Architecture: all +Depends: perl +Description: A module for managing integer and Roman + It provides functions for checking if a string is a valid Roman + numeral, as well as for converting between Roman and integers + . + The module also support Milhar algarisms, which extends the Roman + numeration system up to 4,002,999. --- libtext-roman-perl-3.3.orig/debian/rules +++ libtext-roman-perl-3.3/debian/rules @@ -0,0 +1,86 @@ +#!/usr/bin/make -f +# debian/rules makefile for libtext-roman-perl +# Heavily based on the rules file for GNU Hello + +package = libtext-roman-perl +tmpdir = debian/tmp +debiandir = $(tmpdir)/DEBIAN +docdir = $(tmpdir)/usr/share/doc/$(package) + +define checkdir + test -d debian -a -f debian/control -a -f debian/rules -a -f Makefile.PL -a -f Roman.pm +endef + +configure: configure-stamp +configure-stamp: + $(checkdir) + perl Makefile.PL INSTALLDIRS=vendor + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + $(checkdir) + $(MAKE) + +clean: checkroot + $(checkdir) + # Does the blib directory exist? If so, we must clean it + # before starting to build the package... Of course, that + # requires a valid Makefile, so we create it if needed. + if [ -d blib ]; then \ + if [ ! -f Makefile ]; then \ + perl Makefile.PL INSTALLDIRS=vendor; \ + fi; \ + make realclean; \ + fi + # And then, our stamps, temporary directories and files. + rm -fr configure-stamp build *~ debian/tmp debian/files debian/*~ + +binary-arch: build + true +# Yup, that was just a stub + +binary-indep: clean checkroot build + $(checkdir) + install -d $(tmpdir) $(debiandir) $(docdir) + $(MAKE) install PREFIX=$(CURDIR)/debian/tmp/usr + # Move documentation to its place, install ours and gzip what + # deserves being gzipped + cp -a README $(docdir) + cp -a debian/copyright $(docdir) + cp -a Changes $(docdir)/changelog + cp -a debian/changelog $(docdir)/changelog.Debian + gzip -9 $(docdir)/changelog + gzip -9 $(docdir)/changelog.Debian + for i in `find $(tmpdir)/usr/share/man -type f`; do \ + gzip -9 $$i; \ + done + # Fix some permissions that don't comply to the standards... + for i in `find $(tmpdir)/usr/share/perl5/ $(tmpdir)/usr/share/man/ $(tmpdir)/usr/share/doc/libtext-roman-perl -type f`;do\ + chmod 644 $$i; \ + done + for i in `find $(tmpdir)/usr/bin/ -type f`; do \ + chmod 755 $$i; \ + done + # Ok, everything is finally in its place... Now make the md5 checksums + # We make the checksums of every package in $(tmpdir)/usr - Everything + # outside usr/ is either a conffile or the debian control files, which + # don't need being md5summed + for i in `find $(tmpdir)/usr -type f -printf '%P '` ; do \ + CURRDIR=`pwd`; cd $(tmpdir); \ + md5sum usr/$$i ; cd $$CURRDIR; \ + done > $(debiandir)/md5sums + # Enough moving things around - Now build the package! + dpkg-gencontrol -isp + chown -R root.root $(tmpdir) + chmod -R g-ws $(tmpdir) + dpkg --build $(tmpdir) .. + +# Generic targets +binary: binary-indep binary-arch + +checkroot: + $(checkdir) + test $$(id -u) = 0 + +.PHONY: binary binary-arch binary-indep clean checkroot --- libtext-roman-perl-3.3.orig/debian/docs +++ libtext-roman-perl-3.3/debian/docs @@ -0,0 +1,2 @@ +README +Changes