[gmp-ecm] 14/77: Add new dynamic package.

Jerome Benoit calculus-guest at moszumanska.debian.org
Sat Jun 6 12:33:48 UTC 2015


This is an automated email from the git hooks/post-receive script.

calculus-guest pushed a commit to branch master
in repository gmp-ecm.

commit 3e91275442df478d5056700e81a79d4bb99f1c88
Author: Laurent Fousse <laurent at komite.net>
Date:   Thu May 15 17:10:34 2008 +0200

    Add new dynamic package.
---
 debian/changelog          |  7 +++++++
 debian/control            | 23 +++++++++++++++++++++++
 debian/gmp-ecm.install    |  4 ++--
 debian/libecm-dev.install |  4 ++--
 debian/libecm0.install    |  1 +
 debian/rules              |  6 ++++--
 6 files changed, 39 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e915302..a4b1d0a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+gmp-ecm (6.2~rc2-1) unstable; urgency=low
+
+  * New Upstream release candidate.
+  * New package libecm0 for dynamic lib (closes: #474083).
+
+ -- Laurent Fousse <laurent at komite.net>  Thu, 15 May 2008 13:17:14 +0200
+
 gmp-ecm (6.1.3-1) unstable; urgency=low
 
   * New upstream version.
diff --git a/debian/control b/debian/control
index 0f9964a..a68c36b 100644
--- a/debian/control
+++ b/debian/control
@@ -26,6 +26,29 @@ Description: Factor integers using the Elliptic Curve Method
  See http://www.loria.fr/~zimmerma/records/ecmnet.html for more
  informations about ecmnet.
 
+Package: libecm0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: Factor integers using the Elliptic Curve Method (library)
+ gmp-ecm is a free implementation of the Elliptic Curve Method (ECM)
+ for integer factorization.
+ .
+ The original purpose of the ECMNET project was to make Richard Brent's
+ prediction true, i.e. to find a factor of 50 digits or more by
+ ECM. This goal was attained on September 14, 1998, when Conrad Curry
+ found a 53-digit factor of 2^677-1 c150 using George Woltman's mprime
+ program. The new goal of ECMNET is now to find other large factors by
+ ecm, mainly by contributing to the Cunningham project, most likely the
+ longest, ongoing computational project in history according to Bob
+ Silverman. A new record was set by Nik Lygeros and Michel Mizony, who
+ found in December 1999 a prime factor of 54 digits using GMP-ECM.
+ .
+ See http://www.loria.fr/~zimmerma/records/ecmnet.html for more
+ informations about ecmnet.
+ .
+ This package provides the shared library.
+
 Package: libecm-dev
 Architecture: any
 Section: libdevel
diff --git a/debian/gmp-ecm.install b/debian/gmp-ecm.install
index 3dc1dfa..565d1b3 100644
--- a/debian/gmp-ecm.install
+++ b/debian/gmp-ecm.install
@@ -1,2 +1,2 @@
-debian/tmp/usr/bin/ecm
-debian/tmp/usr/share/man/man1/ecm.1
+usr/bin/ecm
+usr/share/man/man1/ecm.1
diff --git a/debian/libecm-dev.install b/debian/libecm-dev.install
index 9a5c805..020af60 100644
--- a/debian/libecm-dev.install
+++ b/debian/libecm-dev.install
@@ -1,2 +1,2 @@
-debian/tmp/usr/lib/libecm.a
-debian/tmp/usr/include/ecm.h
+usr/lib/libecm.a
+usr/include/ecm.h
diff --git a/debian/libecm0.install b/debian/libecm0.install
new file mode 100644
index 0000000..d44a21e
--- /dev/null
+++ b/debian/libecm0.install
@@ -0,0 +1 @@
+usr/lib/libecm.so.*	usr/lib/
diff --git a/debian/rules b/debian/rules
index 14be053..89ef1ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,7 +27,7 @@ endif
 config.status: configure
 	dh_testdir
 	# Add here commands to configure the package.
-	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-shared
 
 
 build: build-stamp
@@ -69,6 +69,9 @@ install: build
 	mkdir -p $(CURDIR)/debian/tmp/usr/share/man/man1
 	cp ecm.1 debian/tmp/usr/share/man/man1
 
+	dh_install -s -i --sourcedir=debian/tmp
+	dh_makeshlibs -v -plibecm0
+
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -82,7 +85,6 @@ binary-arch: build install
 	dh_installdocs
 	dh_installexamples
 	dh_installman
-	dh_install
 	dh_strip
 	dh_compress
 	dh_link -p gmp-ecm usr/share/man/man1/ecm.1.gz usr/share/man/man1/gmp-ecm.1.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gmp-ecm.git



More information about the debian-science-commits mailing list