summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control35
-rw-r--r--debian/copyright20
-rw-r--r--debian/lzd.docs2
-rw-r--r--debian/patches/0001-build.patch19
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules13
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/options1
10 files changed, 98 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..cf7c541
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+lzd (0.1-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Mon, 25 Mar 2013 19:09:51 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..81bcb18
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: lzd
+Section: utils
+Priority: extra
+Maintainer: Daniel Baumann <mail@daniel-baumann.ch>
+Build-Depends: debhelper (>= 9)
+Standards-Version: 3.9.4
+Homepage: http://www.nongnu.org/lzip/lzip.html
+
+Package: lzd
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Educational, lossless data compressor based on the LZMA algorithm
+ Lzip is a lossless data compressor based on the LZMA algorithm, with very safe
+ integrity checking and a user interface similar to the one of gzip or bzip2.
+ Lzip decompresses almost as fast as gzip and compresses better than bzip2,
+ which makes it well suited for software distribution and data archiving.
+ .
+ Lzd is a very simplified decompressor for lzip files with an educational
+ purpose. Studying its source is a good first step to understand how lzip works.
+
+Package: lzd-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: ${misc:Depends}, lzd (= ${binary:Version})
+Description: Educational, lossless data compressor based on the LZMA algorithm (debug)
+ Lzip is a lossless data compressor based on the LZMA algorithm, with very safe
+ integrity checking and a user interface similar to the one of gzip or bzip2.
+ Lzip decompresses almost as fast as gzip and compresses better than bzip2,
+ which makes it well suited for software distribution and data archiving.
+ .
+ Lzd is a very simplified decompressor for lzip files with an educational
+ purpose. Studying its source is a good first step to understand how lzip works.
+ .
+ This package contains the debugging symbols.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2828be2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,20 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Lzd
+Upstream-Contact: lzip-bug@nongnu.org
+Source: http://download.savannah.gnu.org/releases/lzip/
+
+Files: *
+Copyright: 2013 Antonio Diaz Diaz <ant_diaz@teleline.es>
+License: PD
+
+Files: debian/*
+Copyright: 2013 Daniel Baumann <mail@daniel-baumann.ch>
+License: PD
+
+License: PD
+ This program is free software: you have unlimited permission
+ to copy, distribute and modify it.
+ .
+ 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.
diff --git a/debian/lzd.docs b/debian/lzd.docs
new file mode 100644
index 0000000..50bd824
--- /dev/null
+++ b/debian/lzd.docs
@@ -0,0 +1,2 @@
+NEWS
+README
diff --git a/debian/patches/0001-build.patch b/debian/patches/0001-build.patch
new file mode 100644
index 0000000..269cca1
--- /dev/null
+++ b/debian/patches/0001-build.patch
@@ -0,0 +1,19 @@
+Author: Daniel Baumann <mail@daniel-baumann.ch>
+Description: Avoid overwriting build-environment.
+
+diff -Naurp lzd.orig/configure lzd/configure
+--- lzd.orig/configure
++++ lzd/configure
+@@ -23,9 +23,9 @@ datarootdir='$(prefix)/share'
+ infodir='$(datarootdir)/info'
+ mandir='$(datarootdir)/man'
+ CXX=g++
+-CPPFLAGS=
+-CXXFLAGS='-Wall -W -O2'
+-LDFLAGS=
++#CPPFLAGS=
++#CXXFLAGS='-Wall -W -O2'
++#LDFLAGS=
+
+ # checking whether we are using GNU C++.
+ if [ ! -x /bin/g++ ] &&
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..58cf314
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-build.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..bb1e73b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+%:
+ dh ${@}
+
+override_dh_auto_install:
+ dh_auto_install -- DESTDIR=$(CURDIR)/debian/lzd
+
+override_dh_strip:
+ dh_strip --dbg-package=lzd-dbg
+
+override_dh_builddeb:
+ dh_builddeb -- -Zxz
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..5bd47b7
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+compression = xz