rev 16500 - trunk/packages/polkit-qt/debian

Fathi Boudra fabo at alioth.debian.org
Thu Dec 31 10:10:46 UTC 2009


Author: fabo
Date: 2009-12-31 10:10:45 +0000 (Thu, 31 Dec 2009)
New Revision: 16500

Modified:
   trunk/packages/polkit-qt/debian/changelog
   trunk/packages/polkit-qt/debian/control
   trunk/packages/polkit-qt/debian/rules
Log:
Update debian/rules: convert to dh usage.


Modified: trunk/packages/polkit-qt/debian/changelog
===================================================================
--- trunk/packages/polkit-qt/debian/changelog	2009-12-31 10:02:23 UTC (rev 16499)
+++ trunk/packages/polkit-qt/debian/changelog	2009-12-31 10:10:45 UTC (rev 16500)
@@ -1,4 +1,4 @@
-polkit-qt (0.9.3-1) UNRELEASED; urgency=low
+polkit-qt (0.9.3-1) unstable; urgency=low
 
   * New upstream release.
   * Remove patch to fix pkgconfig templates - stolen upstream.
@@ -7,6 +7,7 @@
     - Bump Standards-Version to 3.8.3 (no changes needed).
   * Update debian/libpolkit-qt-dev.install:
     - add polkitqtversion.h file.
+  * Update debian/rules: convert to dh usage.
 
  -- Fathi Boudra <fabo at debian.org>  Wed, 23 Dec 2009 14:50:17 +0100
 

Modified: trunk/packages/polkit-qt/debian/control
===================================================================
--- trunk/packages/polkit-qt/debian/control	2009-12-31 10:02:23 UTC (rev 16499)
+++ trunk/packages/polkit-qt/debian/control	2009-12-31 10:10:45 UTC (rev 16500)
@@ -10,7 +10,7 @@
 Package: libpolkit-qt-dev
 Section: libdevel
 Architecture: any
-Depends: libpolkit-qt0 (= ${binary:Version}), libqt4-dev
+Depends: ${misc:Depends}, libpolkit-qt0 (= ${binary:Version}), libqt4-dev
 Description: PolicyKit-qt development files
  PolicyKit is a toolkit that allows applications that need to run privileged
  code to have both better and safer design, it also allows sysadmins

Modified: trunk/packages/polkit-qt/debian/rules
===================================================================
--- trunk/packages/polkit-qt/debian/rules	2009-12-31 10:02:23 UTC (rev 16499)
+++ trunk/packages/polkit-qt/debian/rules	2009-12-31 10:10:45 UTC (rev 16500)
@@ -3,69 +3,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-# shared library versions, option 1
-version=0.9.2
-major=0
+%:
+	dh --list-missing $@
 
-builddir/Makefile:
-	dh_testdir
-
-	mkdir -p builddir
-	cd builddir && cmake .. \
-	    -DCMAKE_INSTALL_PREFIX=/usr \
-	    -DCMAKE_C_FLAGS="$(CFLAGS)" \
-	    -DCMAKE_LD_FLAGS="-Wl,-z,defs" \
-	    -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \
-	    -DCMAKE_SKIP_RPATH=ON \
-	    -DCMAKE_VERBOSE_MAKEFILE=ON
-
-build: build-stamp
-build-stamp: builddir/Makefile
-	dh_testdir
-
-	$(MAKE) -C builddir
-
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-
-	rm -rf builddir
-
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-
-	$(MAKE) -C builddir DESTDIR=$(CURDIR)/debian/tmp install
-
-# Build architecture-independent files here.
-binary-indep: install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs
-	dh_installdocs
-	dh_install --sourcedir=debian/tmp --list-missing
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_makeshlibs
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: dh_auto_test




More information about the pkg-kde-commits mailing list