[med-svn] [irtk] 07/07: d/*: drop versioned pkg for now

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Mar 18 17:03:50 UTC 2015


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

ghisvail-guest pushed a commit to branch debian/sid
in repository irtk.

commit 3901f10c9c18eec58c007032178b99c9ef684b4c
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Mar 18 16:05:07 2015 +0000

    d/*: drop versioned pkg for now
---
 debian/control                                               | 6 +++---
 debian/irtk-doc.doc-base                                     | 9 +++++++++
 debian/{irtk1.0-doc.docs => irtk-doc.docs}                   | 0
 debian/{irtk1.0.lintian-overrides => irtk.lintian-overrides} | 2 +-
 debian/irtk1.0-doc.doc-base                                  | 9 ---------
 debian/rules                                                 | 8 ++++----
 6 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/debian/control b/debian/control
index 619bb7a..0658517 100644
--- a/debian/control
+++ b/debian/control
@@ -26,19 +26,19 @@ Homepage: https://github.com/BioMedIA/IRTK
 Vcs-Git: git://anonscm.debian.org/debian-med/irtk.git 
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/irtk.git
 
-Package: irtk1.0
+Package: irtk
 Architecture: any
 Depends:
  ${misc:Depends},
  ${shlibs:Depends}
 Suggests:
- irtk1.0-doc
+ irtk-doc
 Description: Binaries for ITK
  The Image Registration Toolkit
  .
  This package provides the binaries.
 
-Package: irtk1.0-doc
+Package: irtk-doc
 Section: doc
 Architecture: all
 Depends:
diff --git a/debian/irtk-doc.doc-base b/debian/irtk-doc.doc-base
new file mode 100644
index 0000000..9cf850d
--- /dev/null
+++ b/debian/irtk-doc.doc-base
@@ -0,0 +1,9 @@
+Document: irtk-doc
+Title: The IRTK documentation
+Author: The IRTK developers
+Abstract: Documentation for the IRTK software suite.
+Section: Science/Data Analysis
+
+Format: HTML
+Index: /usr/share/doc/irtk-doc/html/index.html
+Files: /usr/share/doc/irtk-doc/html/*.html
diff --git a/debian/irtk1.0-doc.docs b/debian/irtk-doc.docs
similarity index 100%
rename from debian/irtk1.0-doc.docs
rename to debian/irtk-doc.docs
diff --git a/debian/irtk1.0.lintian-overrides b/debian/irtk.lintian-overrides
similarity index 53%
rename from debian/irtk1.0.lintian-overrides
rename to debian/irtk.lintian-overrides
index f5a24ae..95d899c 100644
--- a/debian/irtk1.0.lintian-overrides
+++ b/debian/irtk.lintian-overrides
@@ -1,2 +1,2 @@
 # Upstream does not provide manpages
-irtk1.0: binary-without-manpage
+irtk: binary-without-manpage
diff --git a/debian/irtk1.0-doc.doc-base b/debian/irtk1.0-doc.doc-base
deleted file mode 100644
index 701baff..0000000
--- a/debian/irtk1.0-doc.doc-base
+++ /dev/null
@@ -1,9 +0,0 @@
-Document: irtk1.0-doc
-Title: The IRTK documentation
-Author: The IRTK developers
-Abstract: Documentation of the IRTK software suite.
-Section: Science/Data Analysis
-
-Format: HTML
-Index: /usr/share/doc/irtk1.0-doc/html/index.html
-Files: /usr/share/doc/irtk1.0-doc/html/*.html
diff --git a/debian/rules b/debian/rules
index 163861e..0bc2a11 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ DH_VERBOSE = 1
 BUILDDIR = $(CURDIR)/debian/build
 
 # for versioned package
-IRTK_MAJOR_VERSION = 1.0
+#IRTK_MAJOR_VERSION = 1.0
 
 %:
 	dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --parallel
@@ -31,13 +31,13 @@ override_dh_auto_build:
 	dh_auto_build
 	# Generate debhelper .install file to install the IRTK 
 	# executables to a private versioned location.
-	touch debian/irtk$(IRTK_MAJOR_VERSION).install
-	echo "/usr/bin/* /usr/lib/irtk$(IRTK_MAJOR_VERSION)" > debian/irtk$(IRTK_MAJOR_VERSION).install	
+	touch debian/irtk.install
+	echo "/usr/bin/* /usr/lib/irtk" > debian/irtk.install	
 	# Generate debhelper .links file to create the versioned 
 	# symlinks to the IRTK executables.
 	for f in $$(find $(BUILDDIR)/bin \! -type d | sort); do \
 		bname=$$(basename $$f); \
-		echo "/usr/lib/irtk$(IRTK_MAJOR_VERSION)/$$bname /usr/bin/irtk-$$bname" >> debian/irtk$(IRTK_MAJOR_VERSION).links; \
+		echo "/usr/lib/irtk/$$bname /usr/bin/irtk-$$bname" >> debian/irtk.links; \
 	done
 	# Make doxygen documentation
 	cd $(BUILDDIR) && $(MAKE) doc

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/irtk.git



More information about the debian-med-commit mailing list