rev 5735 - in kde-extras/exiv2/trunk: . debian

Mark Purcell msp at alioth.debian.org
Sun Mar 11 12:38:00 CET 2007


Author: msp
Date: 2007-03-11 11:37:59 +0000 (Sun, 11 Mar 2007)
New Revision: 5735

Added:
   kde-extras/exiv2/trunk/debian/exiv2.1
   kde-extras/exiv2/trunk/debian/libexiv2-0.12.install
   kde-extras/exiv2/trunk/debian/libexiv2-dev.install
Removed:
   kde-extras/exiv2/trunk/config.guess
   kde-extras/exiv2/trunk/config.sub
   kde-extras/exiv2/trunk/exiv2.1
Modified:
   kde-extras/exiv2/trunk/debian/changelog
   kde-extras/exiv2/trunk/debian/control
   kde-extras/exiv2/trunk/debian/copyright
   kde-extras/exiv2/trunk/debian/rules
Log:
* NOT RELEASED YET
* Maintainer: Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>
* Switch to cdbs
* Add debian/watch
* TODO: Setup debian/*.install to place everything in the correct location 

Deleted: kde-extras/exiv2/trunk/config.guess

Deleted: kde-extras/exiv2/trunk/config.sub

Modified: kde-extras/exiv2/trunk/debian/changelog
===================================================================
--- kde-extras/exiv2/trunk/debian/changelog	2007-03-11 10:28:46 UTC (rev 5734)
+++ kde-extras/exiv2/trunk/debian/changelog	2007-03-11 11:37:59 UTC (rev 5735)
@@ -1,3 +1,14 @@
+exiv2 (0.12-0.3) UNRELEASED; urgency=low
+
+  * NOT RELEASED YET
+  * Maintainer: Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>
+  * Switch to cdbs
+  * Add debian/watch
+
+  * TODO: Setup debian/*.install to place everything in the correct location 
+
+ -- Mark Purcell <msp at debian.org>  Sun, 11 Mar 2007 11:38:25 +0000
+
 exiv2 (0.12-0.2) experimental; urgency=low
 
   * Non-maintainer upload. (NMU)

Modified: kde-extras/exiv2/trunk/debian/control
===================================================================
--- kde-extras/exiv2/trunk/debian/control	2007-03-11 10:28:46 UTC (rev 5734)
+++ kde-extras/exiv2/trunk/debian/control	2007-03-11 11:37:59 UTC (rev 5735)
@@ -1,7 +1,8 @@
 Source: exiv2
 Section: graphics
 Priority: optional
-Maintainer: KELEMEN Peter <fuji at debian.org>
+Maintainer: Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>
+Uploaders: KELEMEN Peter <fuji at debian.org>, Mark Purcell <msp at debian.org>
 Build-Depends: debhelper (>= 4.0.0), g++ (>= 4.0.0), autotools-dev, chrpath, dpkg-dev (>= 1.13.19), zlib1g-dev
 Standards-Version: 3.7.2
 

Modified: kde-extras/exiv2/trunk/debian/copyright
===================================================================
--- kde-extras/exiv2/trunk/debian/copyright	2007-03-11 10:28:46 UTC (rev 5734)
+++ kde-extras/exiv2/trunk/debian/copyright	2007-03-11 11:37:59 UTC (rev 5735)
@@ -7,3 +7,38 @@
 
 License: GPL
 See /usr/share/common-licenses/GPL for details.
+This package was debianized by #USERNAME# <#EMAIL#> on
+#DATE#.
+
+It was downloaded from <fill in http/ftp site>
+
+Upstream Author: <put author(s) name and email here>
+
+Copyright: <put the year(s) of the copyright, and the names of the
+            copyright holder(s) here>
+
+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'.
+
+The Debian packaging is (C) #YEAR#, #USERNAME# <#EMAIL#> and
+is licensed under the GPL, see above.
+
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.

Copied: kde-extras/exiv2/trunk/debian/exiv2.1 (from rev 5734, kde-extras/exiv2/trunk/exiv2.1)

Added: kde-extras/exiv2/trunk/debian/libexiv2-0.12.install
===================================================================
--- kde-extras/exiv2/trunk/debian/libexiv2-0.12.install	2007-03-11 10:28:46 UTC (rev 5734)
+++ kde-extras/exiv2/trunk/debian/libexiv2-0.12.install	2007-03-11 11:37:59 UTC (rev 5735)
@@ -0,0 +1 @@
+debian/tmp/usr/lib/lib*.so.*

Copied: kde-extras/exiv2/trunk/debian/libexiv2-dev.install (from rev 5731, kde-extras/libkexiv2/trunk/debian/libkexiv2-dev.install)

Modified: kde-extras/exiv2/trunk/debian/rules
===================================================================
--- kde-extras/exiv2/trunk/debian/rules	2007-03-11 10:28:46 UTC (rev 5734)
+++ kde-extras/exiv2/trunk/debian/rules	2007-03-11 11:37:59 UTC (rev 5735)
@@ -1,119 +1,24 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+FILENAME = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz
+UPFILENAME = $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).tar.gz
+URL = http://www.exiv2.org/$(UPFILENAME)
 
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/utils.mk
 
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+get-orig-source:
+	@@dh_testdir
+	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+	@@echo Downloading $(UPFILENAME) from $(URL) ...
+	@@wget -N -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)
 
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0 -g
-else
-	CFLAGS += -O2
-endif
-
-config.status: configure
-	dh_testdir
-	# Add here commands to configure the package.
-	CC='gcc' CXX='g++' CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
-
-build: build-stamp
-build-stamp:  config.status
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE)
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-
-	# Add here commands to clean up after the build process.
-	-$(MAKE) distclean
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-
-	# Add here commands to install the package into debian/tmp
-	$(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
-	chrpath -d $(CURDIR)/debian/tmp/usr/bin/exiv2
-	cp $(CURDIR)/src/exiv2.1 $(CURDIR)
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-# package libexiv2
-	dh_movefiles -plibexiv2-0.12		\
-		usr/lib/libexiv2-0.12.so	\
-		usr/lib/libexiv2.so		\
-		usr/lib/libexiv2.la
-# package libexiv2-dev
-	dh_movefiles -plibexiv2-dev		\
-		usr/bin/exiv2-config		\
-		usr/lib/pkgconfig/exiv2.pc	\
-		usr/include/exiv2		\
-		usr/lib/libexiv2.a
-# package exiv2
-	dh_movefiles -pexiv2 usr/bin/exiv2
-# the rest....
-	dh_installchangelogs 
-# docs in package libexiv2-doc but in /usr/share/doc/libexiv2/
-	dh_installdocs
-	dh_installdocs -plibexiv2-0.12 -Pdebian/libexiv2-doc -Xcmd.txt -XMakefile -Xtemplates -Xcopyright $(CURDIR)/doc/*
-# cmd.txt goes as example
-	dh_installexamples -pexiv2 $(CURDIR)/doc/cmd.txt
-#	dh_install
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
-	dh_installman -pexiv2 exiv2.1
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-#	dh_perl
-#	dh_python
-	dh_makeshlibs -V
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
+print-version:
+	@@echo DEB_SOURCE_PACKAGE: $(DEB_SOURCE_PACKAGE)
+	@@echo DEB_VERSION: $(DEB_VERSION)
+	@@echo DEB_NO_EPOCH_VERSION: $(DEB_NOEPOCH_VERSION)
+	@@echo DEB_UPSTREAM_VERSION: $(DEB_UPSTREAM_VERSION)
+	@@echo FILENAME: $(FILENAME)
+	@@echo URL: $(URL)

Deleted: kde-extras/exiv2/trunk/exiv2.1




More information about the pkg-kde-commits mailing list