Update Debian packaging.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 9 Jan 2010 21:45:43 +0000 (9 13:45 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 9 Jan 2010 21:53:09 +0000 (9 13:53 -0800)
debian/.gitignore [new file with mode: 0644]
debian/changelog
debian/compat
debian/control
debian/rules

diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644 (file)
index 0000000..159e30c
--- /dev/null
@@ -0,0 +1,5 @@
+/*.debhelper
+/*.debhelper.log
+/*.substvars
+/files
+/fmtools
index a5df3a7..7e0a2ea 100644 (file)
@@ -1,3 +1,14 @@
+fmtools (2.0.1) unstable; urgency=low
+
+  * New upstream release.  The new release uses Automake, so a "configure"
+    command had to be added to "rules".
+  
+  * Update to Debhelper 7.
+  
+  * Update to newer Debian policy version.
+
+ -- Ben Pfaff <pfaffben@debian.org>  Sat, 09 Jan 2010 13:30:15 -0800
+
 fmtools (1.0.2) unstable; urgency=low
 
   * New upstream release.
index 7ed6ff8..7f8f011 100644 (file)
@@ -1 +1 @@
-5
+7
index 3cbf9b1..6bb9f65 100644 (file)
@@ -2,12 +2,12 @@ Source: fmtools
 Section: sound
 Priority: extra
 Maintainer: Ben Pfaff <pfaffben@debian.org>
-Standards-Version: 3.7.2
-Build-Depends: debhelper (>= 5.0)
+Standards-Version: 3.8.3
+Build-Depends: debhelper (>= 7.0)
 
 Package: fmtools
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: FM radio tuner
  Command-line utility for adjusting the frequency and volume and
  muting and unmuting FM radio cards.
index 0068e4c..30e77a8 100755 (executable)
@@ -10,6 +10,7 @@ build: build-stamp
 build-stamp:
        dh_testdir
 
+       ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
        $(MAKE)
 
        touch build-stamp
@@ -18,16 +19,13 @@ clean:
        dh_testdir
        dh_testroot
        rm -f build-stamp
-
-       # Add here commands to clean up after the build process.
-       -$(MAKE) clean
-
+       [ ! -f Makefile ] || $(MAKE) distclean
        dh_clean
 
 install: build
        dh_testdir
        dh_testroot
-       dh_clean -k
+       dh_prep
        dh_installdirs usr/bin
        install -s fm fmscan debian/fmtools/usr/bin
 
@@ -45,7 +43,7 @@ binary-arch: build install
        dh_installcron
        dh_installman fm.1 fmscan.1
        dh_installinfo
-       dh_installchangelogs CHANGES
+       dh_installchangelogs
        dh_link
        dh_strip
        dh_compress