Commit 2fef251b authored by Nicholas Breen's avatar Nicholas Breen

SONAME bump, rename libgromacs3 to libgromacs4

parent 3665f428
......@@ -4,6 +4,7 @@ gromacs (2019~beta1-1) experimental; urgency=medium
- patches/reproducible-builds.patch and sphinx-version-detect.patch
removed, equivalent functionality integrated upstream.
- Other patches rebased.
* Rename libgromacs3 to libgromacs4 for SONAME increment.
-- Nicholas Breen <nbreen@debian.org> Sun, 28 Oct 2018 10:01:40 -0700
......
......@@ -73,7 +73,7 @@ Description: GROMACS molecular dynamics sim, data and documentation
This package contains architecture-independent topology and force field
data, documentation, man pages, and example files.
Package: libgromacs3
Package: libgromacs4
Architecture: any
Multi-Arch: same
Section: libs
......@@ -96,11 +96,11 @@ Package: libgromacs-dev
Architecture: any
Section: libdevel
Depends: fftw3-dev,
libgromacs3 (= ${binary:Version}),
libgromacs4 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends}
Recommends: gromacs-data
Suggests: gromacs-mpich (= ${binary:Version}) | gromacs-openmpi (= ${binary:Version}) [alpha amd64 arm64 armel armhf hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mips64 mips64el mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 x32],
Suggests: gromacs-mpich (= ${binary:Version}) | gromacs-openmpi (= ${binary:Version}),
libmpich-dev,
libx11-dev,
zlib1g-dev
......
usr/share/doc/gromacs
usr/share/doc/gromacs-data
usr/share/doc/libgromacs-dev
usr/share/doc/libgromacs3
usr/share/doc/libgromacs4
usr/share/gromacs
usr/share/gromacs/shell-specific
......@@ -217,15 +217,15 @@ install: build-arch install-basic install-mpich install-openmpi
chmod 644 $(CURDIR)/debian/gromacs-data/usr/share/gromacs/shell-specific/*
dh_link -pgromacs-data usr/share/doc/gromacs/html usr/share/doc/gromacs-data/html
dh_link -pgromacs-data usr/share/doc/gromacs/html usr/share/doc/libgromacs-dev/html
dh_link -pgromacs-data usr/share/doc/gromacs/html usr/share/doc/libgromacs3/html
dh_link -pgromacs-data usr/share/doc/gromacs/html usr/share/doc/libgromacs4/html
# this name is also given in documentation
dh_link -pgromacs-data usr/share/doc/gromacs-data/copyright usr/share/doc/gromacs-data/COPYING
# rename a pair of Perl scripts to drop the .pl extension (Policy 10.4)
mv $(CURDIR)/debian/gromacs/usr/bin/demux.pl $(CURDIR)/debian/gromacs/usr/bin/demux
mv $(CURDIR)/debian/gromacs/usr/bin/xplor2gmx.pl $(CURDIR)/debian/gromacs/usr/bin/xplor2gmx
mkdir -p $(CURDIR)/debian/libgromacs3/usr/lib/$(DEB_HOST_MULTIARCH)
mv $(CURDIR)/debian/gromacs/usr/lib/*/*.so.* $(CURDIR)/debian/libgromacs3/usr/lib/$(DEB_HOST_MULTIARCH)/
mkdir -p $(CURDIR)/debian/libgromacs4/usr/lib/$(DEB_HOST_MULTIARCH)
mv $(CURDIR)/debian/gromacs/usr/lib/*/*.so.* $(CURDIR)/debian/libgromacs4/usr/lib/$(DEB_HOST_MULTIARCH)/
dh_installdirs -plibgromacs-dev
mv $(CURDIR)/debian/gromacs/usr/include $(CURDIR)/debian/libgromacs-dev/usr/include
......@@ -241,7 +241,7 @@ install: build-arch install-basic install-mpich install-openmpi
-rmdir $(CURDIR)/debian/gromacs/usr/share/gromacs
# what are you doing here?
mv $(CURDIR)/debian/gromacs/usr/share/cmake $(CURDIR)/debian/libgromacs-dev/usr/share/gromacs/
dh_lintian -pgromacs -pgromacs-data -plibgromacs3
dh_lintian -pgromacs -pgromacs-data -plibgromacs4
install-manual: build-manual install
dh_testdir
......@@ -312,8 +312,8 @@ binary-arch: build-arch install
dh_compress -a
dh_fixperms -a
dh_makeshlibs -a
dh_shlibdeps -plibgromacs3 -L libgromacs3 -l debian/libgromacs3/usr/lib
dh_shlibdeps -pgromacs -L libgromacs3 -l debian/libgromacs3/usr/lib:debian/gromacs/usr/lib
dh_shlibdeps -plibgromacs4 -L libgromacs4 -l debian/libgromacs4/usr/lib
dh_shlibdeps -pgromacs -L libgromacs4 -l debian/libgromacs4/usr/lib:debian/gromacs/usr/lib
dh_shlibdeps -pgromacs-mpich -L gromacs-mpich -l debian/gromacs-mpich/usr/lib
dh_shlibdeps -pgromacs-openmpi -L gromacs-openmpi -l debian/gromacs-openmpi/usr/lib
dh_gencontrol -a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment