[ismrmrd] 01/01: initial debianization for ismrmrd v1.2

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Jan 14 20:27:27 UTC 2015


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

ghisvail-guest pushed a commit to branch master
in repository ismrmrd.

commit e33eacdfacabb02a977e5185bf43a0023f9482ed
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Jan 14 20:25:17 2015 +0000

    initial debianization for ismrmrd v1.2
---
 debian/changelog               |  5 +++
 debian/compat                  |  1 +
 debian/control                 | 73 ++++++++++++++++++++++++++++++++++++++++++
 debian/copyright               | 55 +++++++++++++++++++++++++++++++
 debian/libismrmrd-dev.install  |  2 ++
 debian/libismrmrd-doc.doc-base | 10 ++++++
 debian/libismrmrd-doc.docs     |  1 +
 debian/libismrmrd-doc.links    |  1 +
 debian/libismrmrd1.2.install   |  1 +
 debian/rules                   | 23 +++++++++++++
 debian/source/format           |  1 +
 debian/watch                   |  3 ++
 12 files changed, 176 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6b93ea2
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ismrmrd (1.2.0-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #732360)
+
+ -- Ghislain Antony Vaillant <ghisvail at gmail.com>  Fri, 28 Feb 2014 15:29:55 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3de772e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,73 @@
+Source: ismrmrd
+Section: science
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Build-Depends:
+ cmake (>= 2.8),
+ debhelper (>= 9),
+ libhdf5-serial-dev (>= 1.8),
+ libpugixml-dev,
+ doxygen,
+ libfftw3-dev,
+ libboost-program-options-dev
+Standards-Version: 3.9.6
+Homepage: http://ismrmrd.sourceforge.net/
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/ismrmrd.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/ismrmrd.git
+
+Package: libismrmrd1.2
+Architecture: any
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends}
+Description: ISMRM Raw Data format (ISMRMRD) - shared library
+ The ISMRMRD format combines a mix of flexible data structures (XML header) 
+ and fixed structures (equivalent to C-structs) to represent MRI data.
+ .
+ In addition, the ISMRMRD format also specifies an image header for storing 
+ reconstructed images and the accompanying C++ library provides a convenient 
+ way of writing such images into HDF5 files along with generic arrays for 
+ storing less well defined data structures, e.g. coil sensitivity maps or 
+ other calibration data.
+ .
+ This package provides the shared library.
+
+Package: libismrmrd-dev
+Section: libdevel
+Architecture: any
+Depends:
+ libismrmrd1.2 (= ${binary:Version}),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Suggests:
+ libismrmrd-dev-doc
+Description: ISMRM Raw Data format (ISMRMRD) - development files
+ The ISMRMRD format combines a mix of flexible data structures (XML header) 
+ and fixed structures (equivalent to C-structs) to represent MRI data.
+ .
+ In addition, the ISMRMRD format also specifies an image header for storing 
+ reconstructed images and the accompanying C++ library provides a convenient 
+ way of writing such images into HDF5 files along with generic arrays for 
+ storing less well defined data structures, e.g. coil sensitivity maps or 
+ other calibration data.
+ .
+ This package provides the development files.
+
+Package: libismrmrd-doc
+Section: doc
+Architecture: all
+Depends:
+ libjs-jquery,
+ ${misc:Depends}
+Description: ISMRM Raw Data format (ISMRMRD) - Documentation
+ The ISMRMRD format combines a mix of flexible data structures (XML header) 
+ and fixed structures (equivalent to C-structs) to represent MRI data.
+ .
+ In addition, the ISMRMRD format also specifies an image header for storing 
+ reconstructed images and the accompanying C++ library provides a convenient 
+ way of writing such images into HDF5 files along with generic arrays for 
+ storing less well defined data structures, e.g. coil sensitivity maps or 
+ other calibration data.
+ .
+ This package provides the documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b225e9b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,55 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ismrmrd
+Source: http://sourceforge.net/projects/ismrmrd/
+
+Files: *
+Copyright: 2013-2014 Michael S. Hansen <michael.hansen at nih.gov>
+License: Expat
+ ISMRMRD SOFTWARE LICENSE JULY 2013
+ . 
+ PERMISSION IS HEREBY GRANTED, FREE OF CHARGE, TO ANY PERSON OBTAINING
+ A COPY OF THIS SOFTWARE AND ASSOCIATED DOCUMENTATION FILES (THE
+ "SOFTWARE"), TO DEAL IN THE SOFTWARE WITHOUT RESTRICTION, INCLUDING
+ WITHOUT LIMITATION THE RIGHTS TO USE, COPY, MODIFY, MERGE, PUBLISH,
+ DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THE SOFTWARE, AND TO
+ PERMIT PERSONS TO WHOM THE SOFTWARE IS FURNISHED TO DO SO, SUBJECT TO
+ THE FOLLOWING CONDITIONS:
+ .
+ THE ABOVE COPYRIGHT NOTICE, THIS PERMISSION NOTICE, AND THE LIMITATION
+ OF LIABILITY BELOW SHALL BE INCLUDED IN ALL COPIES OR REDISTRIBUTIONS
+ OF SUBSTANTIAL PORTIONS OF THE SOFTWARE.
+ .
+ SOFTWARE IS BEING DEVELOPED IN PART AT THE NATIONAL HEART, LUNG, AND BLOOD
+ INSTITUTE, NATIONAL INSTITUTES OF HEALTH BY AN EMPLOYEE OF THE FEDERAL
+ GOVERNMENT IN THE COURSE OF HIS OFFICIAL DUTIES. PURSUANT TO TITLE 17, 
+ SECTION 105 OF THE UNITED STATES CODE, THIS SOFTWARE IS NOT SUBJECT TO 
+ COPYRIGHT PROTECTION AND IS IN THE PUBLIC DOMAIN. EXCEPT AS CONTAINED IN
+ THIS NOTICE, THE NAME OF THE AUTHORS, THE NATIONAL HEART, LUNG, AND BLOOD
+ INSTITUTE (NHLBI), OR THE NATIONAL INSTITUTES OF HEALTH (NIH) MAY NOT 
+ BE USED TO ENDORSE OR PROMOTE PRODUCTS DERIVED FROM THIS SOFTWARE WITHOUT 
+ SPECIFIC PRIOR WRITTEN PERMISSION FROM THE NHLBI OR THE NIH.THE SOFTWARE IS 
+ PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 
+ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR 
+ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Files: debian/*
+Copyright: 2014 Ghislain Vaillant <ghisvail at gmail.com>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/libismrmrd-dev.install b/debian/libismrmrd-dev.install
new file mode 100644
index 0000000..1fd043c
--- /dev/null
+++ b/debian/libismrmrd-dev.install
@@ -0,0 +1,2 @@
+usr/include/ismrmrd
+usr/lib/*.so
diff --git a/debian/libismrmrd-doc.doc-base b/debian/libismrmrd-doc.doc-base
new file mode 100644
index 0000000..6d0d3d2
--- /dev/null
+++ b/debian/libismrmrd-doc.doc-base
@@ -0,0 +1,10 @@
+Document: libismrmrd-doc
+Title: ISMRMRD API Documentation
+Author: ISMRMRD developers
+Abstract: This documentation describes the ISMRMRD library API.
+Section: Science/Physics
+
+Format: HTML
+Index: /usr/share/doc/libismrmrd-doc/api/index.html
+Files: /usr/share/doc/libismrmrd-doc/api/*.html
+
diff --git a/debian/libismrmrd-doc.docs b/debian/libismrmrd-doc.docs
new file mode 100644
index 0000000..cc8f355
--- /dev/null
+++ b/debian/libismrmrd-doc.docs
@@ -0,0 +1 @@
+debian/build/doc/html/api
diff --git a/debian/libismrmrd-doc.links b/debian/libismrmrd-doc.links
new file mode 100644
index 0000000..c118dc7
--- /dev/null
+++ b/debian/libismrmrd-doc.links
@@ -0,0 +1 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/libismrmrd-doc/api/jquery.js
diff --git a/debian/libismrmrd1.2.install b/debian/libismrmrd1.2.install
new file mode 100644
index 0000000..093956b
--- /dev/null
+++ b/debian/libismrmrd1.2.install
@@ -0,0 +1 @@
+usr/lib/*.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2a64be0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+BUILDDIR = $(CURDIR)/debian/build
+
+%:
+	dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --parallel
+
+override_dh_auto_configure:
+	dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr \
+		-DUSE_SYSTEM_PUGIXML=ON
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf $(BUILDDIR)
+
+override_dh_auto_build:
+	dh_auto_build
+	# Make doc
+	cd $(BUILDDIR) && $(MAKE) apidoc
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..5da2ace
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/ismrmrd-$1\.tar\.gz/ \
+  https://github.com/ismrmrd/ismrmrd/tags .*/v?(\d\S*)\.tar\.gz

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



More information about the debian-science-commits mailing list