r37073 - in /packages/rheolef/trunk/debian: changelog control librheolef-doc.doc-base.usrman librheolef-doc.install rheolef-doc.doc-base.usrman rheolef-doc.install rules

saramito-guest at users.alioth.debian.org saramito-guest at users.alioth.debian.org
Thu Dec 9 23:08:33 UTC 2010


Author: saramito-guest
Date: Thu Dec  9 23:08:33 2010
New Revision: 37073

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=37073
Log:
  * debian/rules: rename package librheolefX.X to librheolef1, which is
    upstream-version-independent: The "1" stands for the ABI version.
    Also rename librheolef-doc to rheolef-doc.

Added:
    packages/rheolef/trunk/debian/rheolef-doc.doc-base.usrman
    packages/rheolef/trunk/debian/rheolef-doc.install
Removed:
    packages/rheolef/trunk/debian/librheolef-doc.doc-base.usrman
    packages/rheolef/trunk/debian/librheolef-doc.install
Modified:
    packages/rheolef/trunk/debian/changelog
    packages/rheolef/trunk/debian/control
    packages/rheolef/trunk/debian/rules

Modified: packages/rheolef/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/rheolef/trunk/debian/changelog?rev=37073&op=diff
==============================================================================
--- packages/rheolef/trunk/debian/changelog (original)
+++ packages/rheolef/trunk/debian/changelog Thu Dec  9 23:08:33 2010
@@ -8,6 +8,9 @@
   * debian/control: Architecture changed to any for package rheolef
     and Achitecture changed to all for package librheolef-doc.
     Also texlive-font-utils is added for build-depends source.
+  * debian/rules: rename package librheolefX.X to librheolef1, which is
+    upstream-version-independent: The "1" stands for the ABI version.
+    Also rename librheolef-doc to rheolef-doc.
 
  -- Sylvestre Ledru <sylvestre at debian.org>  Wed, 08 Dec 2010 18:24:20 +0100
 

Modified: packages/rheolef/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/rheolef/trunk/debian/control?rev=37073&op=diff
==============================================================================
--- packages/rheolef/trunk/debian/control (original)
+++ packages/rheolef/trunk/debian/control Thu Dec  9 23:08:33 2010
@@ -10,13 +10,13 @@
 Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/rheolef/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/rheolef/trunk/
 
-Package: librheolef5.91
+Package: librheolef1
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Conflicts: librheolef5.89, librheolef5.90
 Replaces: librheolef5.89, librheolef5.90
-Suggests: librheolef-doc
+Suggests: rheolef-doc
 Description: Finite elements for partial differential equations (shared library)
  Rheolef is a computer environment that serves as a convenient
  laboratory for computations in applied mathematics, involving finite
@@ -46,9 +46,9 @@
 Package: librheolef-dev
 Section: libdevel
 Architecture: any
-Depends: librheolef5.91(= ${binary:Version}), rheolef, libboost-dev, libboost-serialization-dev,
+Depends: librheolef1(= ${binary:Version}), rheolef, libboost-dev, libboost-serialization-dev,
  libsuitesparse-dev, ${misc:Depends}
-Recommends: librheolef-doc
+Recommends: rheolef-doc
 Suggests:
 Description: Finite elements for partial differential equations (headers)
  Rheolef is a computer environment that serves as a convenient
@@ -76,7 +76,7 @@
   - multi-regions and non-constant coefficients
   - axisymetric problems
 
-Package: librheolef-doc
+Package: rheolef-doc
 Section: doc
 Architecture: all
 Depends: ${misc:Depends}, dpkg (>= 1.15.4) | install-info
@@ -109,8 +109,8 @@
 Package: rheolef
 Section: math
 Architecture: any
-Depends: ${shlibs:Depends}, librheolef5.91, gnuplot, imagemagick, vtk-tcl, ${misc:Depends}
-Recommends: librheolef-dev, librheolef-doc
+Depends: ${shlibs:Depends}, librheolef1, gnuplot, imagemagick, vtk-tcl, ${misc:Depends}
+Recommends: librheolef-dev, rheolef-doc
 Suggests: gmsh, plotmtv, mayavi, mayavi2, paraview, ffmpeg
 Description: Finite elements for partial differential equations (unix commands)
  Rheolef is a computer environment that serves as a convenient

Added: packages/rheolef/trunk/debian/rheolef-doc.doc-base.usrman
URL: http://svn.debian.org/wsvn/debian-science/packages/rheolef/trunk/debian/rheolef-doc.doc-base.usrman?rev=37073&op=file
==============================================================================
--- packages/rheolef/trunk/debian/rheolef-doc.doc-base.usrman (added)
+++ packages/rheolef/trunk/debian/rheolef-doc.doc-base.usrman Thu Dec  9 23:08:33 2010
@@ -1,0 +1,8 @@
+Document: librheolef-usrman
+Title: Rheolef Library - User Manual
+Author: Pierre Saramito, Nicolas Roquet, Jocelyn Etienne
+Abstract: Rheolef is a computer environment that serves as a convenient laboratory for computations in applied mathematics, involving finite element-like methods. It provides a set of unix commands and C++ algorithms and containers.
+Section: Science/Mathematics
+
+Format: PDF
+Files: /usr/share/doc/librheolef-doc/usrman.pdf

Added: packages/rheolef/trunk/debian/rheolef-doc.install
URL: http://svn.debian.org/wsvn/debian-science/packages/rheolef/trunk/debian/rheolef-doc.install?rev=37073&op=file
==============================================================================
--- packages/rheolef/trunk/debian/rheolef-doc.install (added)
+++ packages/rheolef/trunk/debian/rheolef-doc.install Thu Dec  9 23:08:33 2010
@@ -1,0 +1,1 @@
+usr/share/doc/*

Modified: packages/rheolef/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/rheolef/trunk/debian/rules?rev=37073&op=diff
==============================================================================
--- packages/rheolef/trunk/debian/rules (original)
+++ packages/rheolef/trunk/debian/rules Thu Dec  9 23:08:33 2010
@@ -14,11 +14,12 @@
 MAJOR_VERSION=$(shell cat VERSION | sed -e 's/\([0-9]*\)\.[0-9]*/\1/')
 MINOR_VERSION=$(shell cat VERSION | sed -e 's/[0-9]*\.\([0-9]*\)/\1/')
 SONAME=$(MAJOR_VERSION)
+ABI_VERSION=1
+LIBRHEOLEF=librheolef${ABI_VERSION}
+LIBRHEOLEF_DEV=librheolef-dev
+RHEOLEF_DOC=rheolef-doc
+RHEOLEF_RUNTIME=rheolef
 TMPDIR=debian/tmp-rheolef
-LIBRHEOLEF=$(shell echo "librheolef$(VERSION)")
-LIBRHEOLEF_DEV=librheolef-dev
-LIBRHEOLEF_DOC=librheolef-doc
-RHEOLEF_RUNTIME=rheolef
 
 CFLAGS = -Wall -g
 
@@ -44,8 +45,8 @@
               -e "s/\@VERSION\@/$(VERSION)/g" \
               -e "s/\@SONAME\@/$(SONAME)/g" > debian/$(LIBRHEOLEF).lintian-overrides
 	cat debian/librheolefX.X.install | \
-          sed -e "s/\@VERSION\@/$(VERSION)/g" > debian/librheolef$(VERSION).install
-	cp -f debian/librheolefX.X.substvars debian/librheolef$(VERSION).substvars
+          sed -e "s/\@VERSION\@/$(VERSION)/g" > debian/$(LIBRHEOLEF).install
+	cp -f debian/librheolefX.X.substvars debian/$(LIBRHEOLEF).substvars
 	dh_testdir
 	./bootstrap
 	CC=gcc CXX=g++ ./configure --enable-fast-install --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-optim --with-umfpack --enable-debian-packaging=yes
@@ -112,7 +113,7 @@
 	dh_link
 	dh_fixperms
 	dh_installdeb
-	dh_gencontrol --dpkg-gencontrol-params="-Tdebian/librheolef5.91.substvars"
+	dh_gencontrol --dpkg-gencontrol-params="-Tdebian/$(LIBRHEOLEF).substvars"
 	dh_md5sums
 	dh_builddeb || true
 




More information about the debian-science-commits mailing list