[resource-retriever] 01/01: Initial Debianization

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Tue Aug 4 21:55:32 UTC 2015


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

jspricke-guest pushed a commit to branch master
in repository resource-retriever.

commit cfd1450b01018ab7f680290e9c1fb21d64a24a98
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Tue Aug 4 23:54:54 2015 +0200

    Initial Debianization
---
 debian/changelog                                   |  5 ++
 debian/compat                                      |  1 +
 debian/control                                     | 54 ++++++++++++++++++++++
 debian/copyright                                   | 43 +++++++++++++++++
 debian/libresource-retriever-dev.install           |  5 ++
 debian/libresource-retriever0d.install             |  1 +
 .../patches/0001-Add-Debian-specific-SONAME.patch  | 20 ++++++++
 debian/patches/series                              |  1 +
 debian/python-resource-retriever.pyinstall         |  1 +
 debian/rules                                       | 25 ++++++++++
 debian/source/format                               |  1 +
 debian/watch                                       | 10 ++++
 12 files changed, 167 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a769096
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+resource-retriever (1.11.6-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: ######)
+
+ -- Jochen Sprickerhof <debian at jochen.sprickerhof.de>  Tue, 04 Aug 2015 23:44:51 +0200
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..f68587b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,54 @@
+Source: resource-retriever
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Thomas Moulard <thomas.moulard at gmail.com>,  
+           Jochen Sprickerhof <debian at jochen.sprickerhof.de>,
+           Leopold Palomo-Avellaneda <leo at alaxarxa.net>
+Build-Depends: debhelper (>= 9), dh-exec (>=0.3), catkin
+Standards-Version: 3.9.6
+Section: libs
+Homepage: http://www.ros.org/wiki/resource_retriever
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/ros/resource-retriever.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/ros/resource-retriever.git
+
+Package: libresource-retriever0d
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: ROS resource_retriever library
+ This package retrieves data from url-format files such as http://, ftp://,
+ package:// file://, etc., and loads the data into memory. The package:// url
+ for ros packages is translated into a local file:// url. The resourse
+ retriever was initially designed to load mesh files into memory, but it can
+ be used for any type of data. The resource retriever is based on the the
+ libcurl library.
+ .
+ This package contains the library itself.
+
+Package: libresource-retriever-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}, libresource-retriever0d ( = ${binary:Version}),
+	${python:Depends}, python, libboost-thread-dev
+Description: ROS resource_retriever library - development files
+ This package retrieves data from url-format files such as http://, ftp://,
+ package:// file://, etc., and loads the data into memory. The package:// url
+ for ros packages is translated into a local file:// url. The resourse
+ retriever was initially designed to load mesh files into memory, but it can
+ be used for any type of data. The resource retriever is based on the the
+ libcurl library.
+ .
+ This package contains the development files.
+
+Package: python-resource-retriever
+Section: python
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: ROS resource_retriever library - Python
+ This package retrieves data from url-format files such as http://, ftp://,
+ package:// file://, etc., and loads the data into memory. The package:// url
+ for ros packages is translated into a local file:// url. The resourse
+ retriever was initially designed to load mesh files into memory, but it can
+ be used for any type of data. The resource retriever is based on the the
+ libcurl library.
+ .
+ This package contains the Python binding.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3968c39
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,43 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: actionlib
+Upstream-Contact: >Esteve Fernandez <esteve at osrfoundation.org>
+Source: http://www.ros.org/wiki/actionlib
+
+Files: *
+Copyright: 2011-2015 Willow Garage, Inc.
+License: BSD-3-clause
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+  * Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+  * Redistributions in binary form must reproduce the above
+    copyright notice, this list of conditions and the following
+    disclaimer in the documentation and/or other materials provided
+    with the distribution.
+  * Neither the name of Willow Garage, Inc. nor the names of its
+    contributors may be used to endorse or promote products derived
+    from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+Files: debian/*
+Copyright: 2015, Thomas Moulard <thomas.moulard at gmail.com>,
+                 Jochen Sprickerhof <debian at jochen.sprickerhof.de>,
+           	 Leopold Palomo-Avellaneda <leo at alaxarxa.net>
+License: BSD-3-clause
+ 
diff --git a/debian/libresource-retriever-dev.install b/debian/libresource-retriever-dev.install
new file mode 100755
index 0000000..9a56576
--- /dev/null
+++ b/debian/libresource-retriever-dev.install
@@ -0,0 +1,5 @@
+#! /usr/bin/dh-exec
+usr/include
+usr/share
+usr/lib/lib*.so
+usr/lib/pkgconfig/*.pc usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig/
diff --git a/debian/libresource-retriever0d.install b/debian/libresource-retriever0d.install
new file mode 100644
index 0000000..d0dbfd1
--- /dev/null
+++ b/debian/libresource-retriever0d.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
diff --git a/debian/patches/0001-Add-Debian-specific-SONAME.patch b/debian/patches/0001-Add-Debian-specific-SONAME.patch
new file mode 100644
index 0000000..09054ca
--- /dev/null
+++ b/debian/patches/0001-Add-Debian-specific-SONAME.patch
@@ -0,0 +1,20 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Tue, 4 Aug 2015 23:53:53 +0200
+Subject: Add Debian specific SONAME
+
+---
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f34b0da..e787e20 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -25,6 +25,7 @@ include_directories(${CURL_INCLUDE_DIRS})
+ 
+ add_library(${PROJECT_NAME} src/retriever.cpp)
+ target_link_libraries(${PROJECT_NAME} ${CURL_LIBRARIES} ${catkin_LIBRARIES})
++set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${resource_retriever_VERSION} SOVERSION "0d")
+ 
+ if(CATKIN_ENABLE_TESTING)
+   add_subdirectory(test EXCLUDE_FROM_ALL)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b7da620
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Add-Debian-specific-SONAME.patch
diff --git a/debian/python-resource-retriever.pyinstall b/debian/python-resource-retriever.pyinstall
new file mode 100644
index 0000000..323db1f
--- /dev/null
+++ b/debian/python-resource-retriever.pyinstall
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python2*/*/resource_retriever/*.py resource_retriever
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..18789b3
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#DH_VERBOSE = 1
+
+# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# see ENVIRONMENT in dpkg-buildflags(1)
+# package maintainers to append CFLAGS
+#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
+# package maintainers to append LDFLAGS
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+
+# main packaging script based on dh7 syntax
+%:
+	dh $@ --parallel --buildsystem=cmake --with python2
+
+# test suite is broken atm.
+override_dh_auto_test:
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..ed56091
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,10 @@
+# Watch control file for uscan
+# Compulsory line, this is a version 3 file
+version=3
+# For GitHub projects you can use the tags page:
+
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/resource_retriever-$1\.tar\.gz/ \
+  https://github.com/ros/resource_retriever/releases .*/v?(\d\S*)\.tar\.gz
+
+
+

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



More information about the debian-science-commits mailing list