--- lxsplit-0.2.4.orig/debian/changelog +++ lxsplit-0.2.4/debian/changelog @@ -0,0 +1,7 @@ +lxsplit (0.2.4-0ubuntu1) karmic; urgency=low + + * Patched Makefile for better clean rules and to fix $(DESTDIR) + + * Initial release (LP: #298499) + + -- Christopher Lunsford Fri, 08 May 2009 04:47:36 -0400 --- lxsplit-0.2.4.orig/debian/rules +++ lxsplit-0.2.4/debian/rules @@ -0,0 +1,40 @@ +#!/usr/bin/make -f + +include /usr/share/dpatch/dpatch.make + +clean: unpatch + dh_testdir + dh_testroot + $(MAKE) clean + dh_clean -k + +build: + dh_testdir + $(MAKE) + +install: patch build + dh_testdir + dh_testroot + dh_installdirs usr/bin + $(MAKE) DESTDIR=$(CURDIR)/debian/lxsplit install + +binary-indep: install + +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs README + dh_installman debian/lxsplit.1 + dh_link + dh_strip + dh_shlibdeps + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- lxsplit-0.2.4.orig/debian/copyright +++ lxsplit-0.2.4/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by Christopher Lunsford on +Fri, 08 May 2009 04:47:36 -0400 + +It was downloaded from http://lxsplit.sourceforge.net/ + +Upstream Authors: + + Richard Stellingwerff + O. Sezer + +Copyright: + + Copyright © 2009 O. Sezer + +License: + + This package 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 package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 + USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is Copyright © 2009, Christopher Lunsford and +is licensed under the GPL, see above. --- lxsplit-0.2.4.orig/debian/compat +++ lxsplit-0.2.4/debian/compat @@ -0,0 +1 @@ +5 --- lxsplit-0.2.4.orig/debian/watch +++ lxsplit-0.2.4/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/lxsplit/lxsplit-(.*)\.tar\.gz --- lxsplit-0.2.4.orig/debian/control +++ lxsplit-0.2.4/debian/control @@ -0,0 +1,15 @@ +Source: lxsplit +Section: utils +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Christopher Lunsford +Build-Depends: debhelper (>= 5.0.38), dpatch (>=2.0.29) +Standards-Version: 3.8.1 +Homepage: http://lxsplit.sourceforge.net/ + +Package: lxsplit +Architecture: any +Depends: ${shlibs:Depends} +Description: This program is a simple tool for splitting and joining files + LXSplit can split and join files without compression. + It is fully compatible with the HJSplit utility. --- lxsplit-0.2.4.orig/debian/lxsplit.1 +++ lxsplit-0.2.4/debian/lxsplit.1 @@ -0,0 +1,24 @@ +.TH LXSPLIT "1" "May 2009" "LXSplit v0.2.4 by O. Sezer." +.SH NAME +LXSplit \- A simple tool for splitting and joining split files +.SH SYNOPSIS +.B lxsplit +[\fIOPTION\fR] [\fIFILE\fR] [\fISPLITSIZE\fR] +.SH DESCRIPTION +LXSplit is a simple tool for splitting files and joining the splitted +files. It is fully compatible with the HJSplit utility. Splitting is +done without compression. +.SH OPTIONS +.SS "Available options:" +.HP +\fB\-j\fR : join the files beginning with the given name +.TP +\fB\-s\fR : split the given file. +requires a valid size +.PP +Splitsize examples: 15M, 100m, 5000k, 30000000b +.SH EXAMPLES +.IP +\&./lxsplit \fB\-s\fR hugefile.bin 15M +.IP +\&./lxsplit \fB\-j\fR hugefile.bin.0001 --- lxsplit-0.2.4.orig/debian/patches/01_Makefile.dpatch +++ lxsplit-0.2.4/debian/patches/01_Makefile.dpatch @@ -0,0 +1,28 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_Makefile.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fixes $(DESTDIR) and clean option in the Makefile. + +@DPATCH@ +diff -urNad lxsplit-0.2.4~/Makefile lxsplit-0.2.4/Makefile +--- lxsplit-0.2.4~/Makefile 2009-05-08 18:40:04.000000000 -0400 ++++ lxsplit-0.2.4/Makefile 2009-05-08 18:42:52.000000000 -0400 +@@ -23,7 +23,7 @@ + # operating system): yes or no. + USE_LARGEFILE:= yes + +-INSTALL_PATH := /usr/local/bin ++INSTALL_PATH := $(DESTDIR)/usr/bin + + ifeq ($(USE_LARGEFILE),yes) + # these flags work for linux / glibc. +@@ -61,7 +61,7 @@ + + clean: + -rm -f core *.o mkuoff_t uoff_t.h +-# -rm -f $(BINARY) ++ -rm -f $(BINARY) + + install: + cp $(BINARY) $(INSTALL_PATH) --- lxsplit-0.2.4.orig/debian/patches/00list +++ lxsplit-0.2.4/debian/patches/00list @@ -0,0 +1 @@ +01_Makefile.dpatch