r35965 - in /packages/libcvector/trunk/debian: control rules

tille at users.alioth.debian.org tille at users.alioth.debian.org
Thu Nov 5 21:34:06 UTC 2009


Author: tille
Date: Thu Nov  5 21:34:05 2009
New Revision: 35965

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=35965
Log:
Build lintian clean packages, testing is needed

Modified:
    packages/libcvector/trunk/debian/control
    packages/libcvector/trunk/debian/rules

Modified: packages/libcvector/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/libcvector/trunk/debian/control?rev=35965&op=diff
==============================================================================
--- packages/libcvector/trunk/debian/control (original)
+++ packages/libcvector/trunk/debian/control Thu Nov  5 21:34:05 2009
@@ -3,29 +3,45 @@
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 DM-Upload-Allowed: yes
 Uploaders: Andreas Tille <tille at debian.org>
-Build-Depends: debhelper (>= 7), d-shlibs (>= 0.38), cdbs
+Build-Depends: debhelper (>= 7), d-shlibs (>= 0.38), cdbs, libtool
 Standards-Version: 3.8.3
 Section: libs
 Homepage: http://sourceforge.net/projects/cvector/
 Vcs-Browser: http://svn.debian.org/wsvn/debian-science/packages/libcvector/trunk/?rev=0&sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/libcvector/trunk/
 
-Package: libcvector0-dev
+Package: libcvector-1.0.3-2-dev
 Section: libdevel
 Architecture: any
-Depends: libcvector0 (= ${binary:Version}), ${devlibs:Depends}, ${misc:Depends}
+Depends: libcvector-1.0.3-2 (= ${binary:Version}), ${devlibs:Depends}, ${misc:Depends}
 Provides: libcvector-dev
 Conflicts: libcvector-dev
 Description: ANSI C implementation of dynamic arrays approximating the C++ vector class
  CVector is an ANSI C implementation of dynamic arrays to provide an
  approximation to the functionality of the C++ vector class.
  .
+ The CVector.h header file defines the CVectorHandle type as a dynamic
+ array for elements in which each element uses elementsize characters in
+ a block of memory elementsize*capacity characters long. There are size
+ elements used in the array each with an index between 0 and size-1.
+ CVectorCreate() is used to create the dynamic array. Elements may either
+ be added at the end of the dynamic array using CVectorAddElement(), or
+ in arbitrary order with CVectorSetElement().
+ .
  This package contains the development library.
 
-Package: libcvector0
+Package: libcvector-1.0.3-2
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: ANSI C implementation of dynamic arrays approximating the C++ vector class
  CVector is an ANSI C implementation of dynamic arrays to provide an
  approximation to the functionality of the C++ vector class.
+ .
+ The CVector.h header file defines the CVectorHandle type as a dynamic
+ array for elements in which each element uses elementsize characters in
+ a block of memory elementsize*capacity characters long. There are size
+ elements used in the array each with an index between 0 and size-1.
+ CVectorCreate() is used to create the dynamic array. Elements may either
+ be added at the end of the dynamic array using CVectorAddElement(), or
+ in arbitrary order with CVectorSetElement().

Modified: packages/libcvector/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/libcvector/trunk/debian/rules?rev=35965&op=diff
==============================================================================
--- packages/libcvector/trunk/debian/rules (original)
+++ packages/libcvector/trunk/debian/rules Thu Nov  5 21:34:05 2009
@@ -4,22 +4,23 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/makefile.mk
 
+name=libCVector
 pkg=libcvector
 ver=0
+
+DEB_MAKE_BUILD_TARGET := all
 
 common-binary-post-install-arch::
 	# Call d-shlibmove to comply with library packaging guide
 	d-devlibdeps debian/$(pkg)$(ver)-dev.substvars \
-	             debian/tmp/usr/lib/$(pkg).so
+	             lib/.libs/$(name).so
 	# /bin/sh debian/debug/
 	cp -a *.h debian/tmp
 	# cp -a doc/html/* debian/tmp/usr/share/doc/html
 	d-shlibmove --commit \
-		    --movedev "debian/tmp/*.h" usr/include \
-		    debian/tmp/usr/lib/$(pkg).so
+		    --movedev "*.h" usr/include \
+		    lib/.libs/$(name).so
 
 clean::
-	rm -f debian/$(pkg)$(ver)-dev.substvars
-
-build:
-	make all
+	make distclean
+	rm -f debian/*-dev.substvars




More information about the debian-science-commits mailing list