[med-svn] r5730 - trunk/packages/vienna-rna/trunk/debian

Alexandre Mestiashvili malex-guest at alioth.debian.org
Fri Jan 28 22:17:51 UTC 2011


Author: malex-guest
Date: 2011-01-28 22:17:50 +0000 (Fri, 28 Jan 2011)
New Revision: 5730

Added:
   trunk/packages/vienna-rna/trunk/debian/vienna-rna-doc.docs
   trunk/packages/vienna-rna/trunk/debian/vienna-rna-doc.install
Modified:
   trunk/packages/vienna-rna/trunk/debian/README.Debian
   trunk/packages/vienna-rna/trunk/debian/changelog
   trunk/packages/vienna-rna/trunk/debian/compat
   trunk/packages/vienna-rna/trunk/debian/control
   trunk/packages/vienna-rna/trunk/debian/copyright
   trunk/packages/vienna-rna/trunk/debian/dirs
   trunk/packages/vienna-rna/trunk/debian/docs
   trunk/packages/vienna-rna/trunk/debian/rules
Log:
initial release vienna-rna


Modified: trunk/packages/vienna-rna/trunk/debian/README.Debian
===================================================================
--- trunk/packages/vienna-rna/trunk/debian/README.Debian	2011-01-28 17:42:48 UTC (rev 5729)
+++ trunk/packages/vienna-rna/trunk/debian/README.Debian	2011-01-28 22:17:50 UTC (rev 5730)
@@ -1,13 +1,6 @@
-vienna-rna for Debian
----------------------
+viennarna for Debian
+--------------------
 
-The package is non-free, nevertheless, I have interest in it and want
-make my initial packaging attempt available for the community.
+<possible notes regarding this package - if none, delete this file>
 
-I'd be glad if someone could take over.
-
-Cheers,
-
-Steffen
-
- -- Steffen Moeller <moeller at debian.org>  Wed, 14 Nov 2007 00:57:29 +0100
+ -- Alex Mestiashvili <alex at biotec.tu-dresden.de>  Fri, 28 Jan 2011 17:48:23 +0100

Modified: trunk/packages/vienna-rna/trunk/debian/changelog
===================================================================
--- trunk/packages/vienna-rna/trunk/debian/changelog	2011-01-28 17:42:48 UTC (rev 5729)
+++ trunk/packages/vienna-rna/trunk/debian/changelog	2011-01-28 22:17:50 UTC (rev 5730)
@@ -1,13 +1,5 @@
-vienna-rna (1.7-1) unstable; urgency=low
+viennarna (1.8.4-1) unstable; urgency=low
 
-  [ S. Moeller ]
-
   * Initial release (Closes: #451193)
 
-  [ D. Paleino ]
-
-  * Updated to Standards-Version 3.7.3 (no changes needed)
-
-
- -- Steffen Moeller <moeller at debian.org>  Wed, 14 Nov 2007 00:57:29 +0100
-
+ -- Alex Mestiashvili <alex at biotec.tu-dresden.de>  Fri, 28 Jan 2011 17:48:23 +0100

Modified: trunk/packages/vienna-rna/trunk/debian/compat
===================================================================
--- trunk/packages/vienna-rna/trunk/debian/compat	2011-01-28 17:42:48 UTC (rev 5729)
+++ trunk/packages/vienna-rna/trunk/debian/compat	2011-01-28 22:17:50 UTC (rev 5730)
@@ -1 +1 @@
-5
+7

Modified: trunk/packages/vienna-rna/trunk/debian/control
===================================================================
--- trunk/packages/vienna-rna/trunk/debian/control	2011-01-28 17:42:48 UTC (rev 5729)
+++ trunk/packages/vienna-rna/trunk/debian/control	2011-01-28 22:17:50 UTC (rev 5730)
@@ -1,14 +1,15 @@
 Source: vienna-rna
 Section: non-free/science
 Priority: optional
-Maintainer: Steffen Moeller <moeller at debian.org>
-Build-Depends: debhelper (>= 5), autotools-dev
+Maintainer: Alex Mestiashvili <alex at biotec.tu-dresden.de>
+Build-Depends: debhelper (>= 7), autotools-dev
 Standards-Version: 3.7.3
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/vienna-rna/trunk/?rev=0&sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/vienna-rna/trunk/
 Homepage: http://www.tbi.univie.ac.at/~ivo/RNA/
 XS-Autobuild: yes
 
+
 Package: vienna-rna
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -31,15 +32,8 @@
  tree-editing (Shapiro & Zhang 1990). Finally, we provide an algorithm
  to design sequences with a predefined structure (inverse folding).
 
-Package: libvienna0
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: shared libraries of vienna-rna
- Later.
+Package: vienna-rna-doc
+Architecture: all
+Description: Documentation for vienna-rna
+ 
 
-Package: libvienna-rna-dev
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: include files and static libraries of vienna-rna
- Later.
-

Modified: trunk/packages/vienna-rna/trunk/debian/copyright
===================================================================
--- trunk/packages/vienna-rna/trunk/debian/copyright	2011-01-28 17:42:48 UTC (rev 5729)
+++ trunk/packages/vienna-rna/trunk/debian/copyright	2011-01-28 22:17:50 UTC (rev 5730)
@@ -1,36 +1,24 @@
-This package was debianized by Steffen Moeller <moeller at debian.org> on
-Wed, 14 Nov 2007 00:57:29 +0100.
+This package was debianized by Alex Mestiashvili <alex at biotec.tu-dresden.de> on
+Fri, 28 Jan 2011 17:48:23 +0100.
 
-It was downloaded from http://www.tbi.univie.ac.at/~ivo/RNA/
+It was downloaded from <url://example.com>
 
-Upstream Authors: 
+Upstream Author(s):
 
-    Ivo Hofacker   (all parts)
-    Peter Stadler  (design, documentation, cluster algorithms)
-    Walter Fontana (suboptimal folding, pre-historic implementation of mfe folding)
-    Stefan Wuchty  (suboptimal folding)
-    Stephan Bernhart (cofolding, local folding)
-    Ulli Mueckstein (RNAup)
+    <put author's name and email here>
+    <likewise for another author>
 
-Copyright: 
+Copyright:
 
-    Ivo Hofacker <rna at tbi.univie.ac.at>
+    <Copyright (C) YYYY Name OfAuthor>
+    <likewise for another author>
 
 License:
 
-    The programs, library and source code of the Vienna RNA Package are
-    free software. They are distributed in the hope that they will be
-    useful but WITHOUT ANY WARRANTY; without even the implied warranty
-    of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+    <Put the license of the package here indented by 4 spaces>
 
-    Permission is granted for research, educational, and commercial use
-    and modification so long as 1) the package and any derived works are
-    not redistributed for any fee, other than media costs, 2) proper
-    credit is given to the authors and the Institute for Theoretical
-    Chemistry of the University of Vienna.
-
-    If you want to include this software in a commercial product, please
-    contact the authors.
-
-The Debian packaging is (C) 2007, Steffen Moeller <moeller at debian.org> and
+The Debian packaging is (C) 2011, Alex Mestiashvili <alex at biotec.tu-dresden.de> and
 is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.

Modified: trunk/packages/vienna-rna/trunk/debian/dirs
===================================================================
--- trunk/packages/vienna-rna/trunk/debian/dirs	2011-01-28 17:42:48 UTC (rev 5729)
+++ trunk/packages/vienna-rna/trunk/debian/dirs	2011-01-28 22:17:50 UTC (rev 5730)
@@ -1 +1,2 @@
 usr/bin
+usr/sbin

Modified: trunk/packages/vienna-rna/trunk/debian/docs
===================================================================
--- trunk/packages/vienna-rna/trunk/debian/docs	2011-01-28 17:42:48 UTC (rev 5729)
+++ trunk/packages/vienna-rna/trunk/debian/docs	2011-01-28 22:17:50 UTC (rev 5730)
@@ -1,3 +1,2 @@
 NEWS
 README
-THANKS

Modified: trunk/packages/vienna-rna/trunk/debian/rules
===================================================================
--- trunk/packages/vienna-rna/trunk/debian/rules	2011-01-28 17:42:48 UTC (rev 5729)
+++ trunk/packages/vienna-rna/trunk/debian/rules	2011-01-28 22:17:50 UTC (rev 5730)
@@ -1,21 +1,35 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 # Sample debian/rules that uses debhelper.
+#
 # This file was originally written by Joey Hess and Craig Small.
 # As a special exception, when this file is copied by dh-make into a
 # dh-make output file, you may use that output file without restriction.
 # This special exception was added by Craig Small in version 0.37 of dh-make.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets  by Bill Allombert 2001
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
 
 # These are used for cross-compiling and for saving the configure script
 # from having to guess our platform (since we know it already)
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
 
 
+
+
+
 config.status: configure
 	dh_testdir
 	# Add here commands to configure the package.
@@ -25,68 +39,99 @@
 ifneq "$(wildcard /usr/share/misc/config.guess)" ""
 	cp -f /usr/share/misc/config.guess config.guess
 endif
-	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+	./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
 
 
-build: build-stamp
+#Architecture
+build: build-arch build-indep
 
-build-stamp:  config.status
-	dh_testdir
-	$(MAKE)
+build-arch: build-arch-stamp
+build-arch-stamp:  config.status 
+
+	# Add here commands to compile the arch part of the package.
+	#$(MAKE)
 	touch $@
 
-clean:
+build-indep: build-indep-stamp
+build-indep-stamp:  config.status 
+
+	# Add here commands to compile the indep part of the package.
+	#$(MAKE) doc
+	touch $@
+
+clean: 
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp 
+	rm -f build-arch-stamp build-indep-stamp 
 
 	# Add here commands to clean up after the build process.
-	#$(MAKE) distcleancheck
-	find . -name "*.o" -o -name "*.a" -o -name "*.so" | xargs -r rm
+	[ ! -f Makefile ] || $(MAKE) distclean
 	rm -f config.sub config.guess
 
-	for d in man Progs Utils; do if [ -r $d/Makefile ]; then $(MAKE) -C $d distclean; fi; done
-
 	dh_clean  --exclude ./Readseq/ureadseq.c.orig --exclude ./Readseq/readseq.c.orig --exclude ./Readseq/ureadseq.h.orig
 
-install: build
+install: install-indep install-arch
+install-indep:
 	dh_testdir
 	dh_testroot
-	dh_clean -k  --exclude ./Readseq/ureadseq.c.orig --exclude ./Readseq/readseq.c.orig --exclude ./Readseq/ureadseq.h.orig
-	dh_installdirs
+	dh_clean -k -i  --exclude ./Readseq/ureadseq.c.orig --exclude ./Readseq/readseq.c.orig --exclude ./Readseq/ureadseq.h.orig
+	dh_installdirs -i
 
-	# does not work since attempt to access /usr/Ü directly
-	$(MAKE) DESTDIR=$(CURDIR)/debian/vienna-rna install
+	# Add here commands to install the indep part of the package into
+	# debian/<package>-doc.
+	#INSTALLDOC#
 
-	mv $(CURDIR)/debian/vienna-rna/usr/install $(CURDIR)/debian/libvienna-dev/usr/
+	dh_install -i
 
+install-arch:
+	dh_testdir
+	dh_testroot
+	dh_clean -k -s  --exclude ./Readseq/ureadseq.c.orig --exclude ./Readseq/readseq.c.orig --exclude ./Readseq/ureadseq.h.orig
+	dh_installdirs -s
 
-# Build architecture-independent files here.
-binary-indep: 
-# We have nothing to do by default.
+	# Add here commands to install the arch part of the package into
+	# debian/tmp.
+	$(MAKE) DESTDIR=$(CURDIR)/debian/vienna-rna install
 
-# Build architecture-dependent files here.
-binary-arch: build install
+	dh_install -s
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs ChangeLog
 	dh_installdocs
 	dh_installexamples
-#	dh_install
 #	dh_installmenu
 #	dh_installdebconf	
+#	dh_installlogrotate	
+#	dh_installemacsen
+#	dh_installpam
 #	dh_installmime
-	dh_installman man/*.{1,3} RNAforester/man/*.{1,3} Cluster/*.{1,3}
+#	dh_python
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
 	dh_strip
 	dh_compress
 	dh_fixperms
 #	dh_perl
-#	dh_makeshlibs
+	dh_makeshlibs
 	dh_installdeb
 	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
+# Build architecture independant packages using the common target.
+binary-indep: build-indep install-indep
+	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
+# Build architecture dependant packages using the common target.
+binary-arch: build-arch install-arch
+	$(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch 

Added: trunk/packages/vienna-rna/trunk/debian/vienna-rna-doc.docs
===================================================================
--- trunk/packages/vienna-rna/trunk/debian/vienna-rna-doc.docs	                        (rev 0)
+++ trunk/packages/vienna-rna/trunk/debian/vienna-rna-doc.docs	2011-01-28 22:17:50 UTC (rev 5730)
@@ -0,0 +1,2 @@
+#DOCS#
+

Added: trunk/packages/vienna-rna/trunk/debian/vienna-rna-doc.install
===================================================================
--- trunk/packages/vienna-rna/trunk/debian/vienna-rna-doc.install	                        (rev 0)
+++ trunk/packages/vienna-rna/trunk/debian/vienna-rna-doc.install	2011-01-28 22:17:50 UTC (rev 5730)
@@ -0,0 +1,2 @@
+#DOCS#
+




More information about the debian-med-commit mailing list