[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[MoM] Please use same version as upstream version in d/changelog [was: [camp] 02/02: add debian/*]



Hi Corentin,

if you wonder why your commit does not work with git-buildpackage just try


diff --git a/debian/changelog b/debian/changelog
index 805b3fc..5fd65fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-camp (0.7.1-1) UNRELEASED; urgency=low
+camp (0.7.1.1-1) UNRELEASED; urgency=low
 
   * Initial release (Closes: #759244)


Hope this helps

      Andreas.

----- Forwarded message from Corentin Desfarges <corentin-guest@moszumanska.debian.org> -----

Date: Thu, 28 Aug 2014 14:30:51 +0000
From: Corentin Desfarges <corentin-guest@moszumanska.debian.org>
To: debian-med-commit@lists.alioth.debian.org
Subject: [camp] 02/02: add debian/*

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

corentin-guest pushed a commit to branch master
in repository camp.

commit e69cc1e28ea8314b6cb32ab931f277a3fffa61a3
Author: Corentin Desfarges <corentin.desfarges.dev@gmail.com>
Date:   Thu Aug 28 16:20:47 2014 +0200

    add debian/*
---
 debian/README.source            | 10 +++++++++
 debian/changelog                |  5 +++++
 debian/compat                   |  1 +
 debian/control                  | 46 +++++++++++++++++++++++++++++++++++++++++
 debian/copyright                | 29 ++++++++++++++++++++++++++
 debian/patches/add_soname       | 11 ++++++++++
 debian/patches/rm_boost_version | 22 ++++++++++++++++++++
 debian/patches/series           |  2 ++
 debian/postinst                 |  2 ++
 debian/rules                    | 35 +++++++++++++++++++++++++++++++
 debian/source/format            |  1 +
 debian/watch                    |  2 ++
 12 files changed, 166 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..9fe48b2
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,10 @@
+camp for Debian
+---------------
+
+<this file describes information about the source package, see Debian policy
+manual section 4.14. You WILL either need to modify or delete this file>
+
+
+
+ -- root <root@debian>  Wed, 20 Aug 2014 15:02:43 +0200
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..805b3fc
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+camp (0.7.1-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #759244)
+
+ -- Corentin Desfarges <corentin.desfarges.dev@gmail.com>  Mon, 25 Aug 2014 16:00:00 +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..2e654a7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: camp
+Priority: optional
+Maintainer: Corentin Desfarges <corentin.desfarges.dev@gmail.com>
+Build-Depends:	debhelper (>= 9),
+		cmake,
+		libboost-all-dev
+Standards-Version: 3.9.5
+Section: science
+Homepage: https://github.com/tegesoft/camp
+Vcs-Git: git://git.debian.org/git/debian-med/camp.git
+#Vcs-Browser: http://anonscm.debian.org/?p=collab-maint/camp.git;a=summary
+
+Package: camp
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: C++ multi-purpose reflection library
+ CAMP is a multi-purpose reflection library developed by Technogerma Systems France (http://www.tegesoft.com).
+ It provides an abstraction for most of the high-level concepts of C++
+ - Classes
+ - Enumerations
+ - Properties
+ - Functions
+ - Objects
+ - Variables
+ By wrapping all these concepts into abstract structures, CAMP provides an extra layer of flexibility to programs, and allow them to fully expose their data structures at runtime.
+ Many applications can take advantage of CAMP, in order to automate tasks which would otherwise require a huge amount of work. For example, CAMP can be used to expose and edit objects' attributes into a graphical user interface. It can also be used to do automatic binding of C++ classes to script languages such as Python or Lua.
+ Another possible application would be the serialization of objects to XML, text or binary formats. Or you can even combine all these examples to provide a powerful and consistent interface for manipulating your objects outside C++ code.
+
+Package: camp-dev
+Architecture: any
+Section: libdevel
+Depends: camp, ${shlibs:Depends}, ${misc:Depends}
+Description: C++ multi-purpose reflection library
+ CAMP is a multi-purpose reflection library developed by Technogerma Systems France (http://www.tegesoft.com).
+ It provides an abstraction for most of the high-level concepts of C++
+ - Classes
+ - Enumerations
+ - Properties
+ - Functions
+ - Objects
+ - Variables
+ By wrapping all these concepts into abstract structures, CAMP provides an extra layer of flexibility to programs, and allow them to fully expose their data structures at runtime.
+ Many applications can take advantage of CAMP, in order to automate tasks which would otherwise require a huge amount of work. For example, CAMP can be used to expose and edit objects' attributes into a graphical user interface. It can also be used to do automatic binding of C++ classes to script languages such as Python or Lua.
+ Another possible application would be the serialization of objects to XML, text or binary formats. Or you can even combine all these examples to provide a powerful and consistent interface for manipulating your objects outside C++ code.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b7b0cc6
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: camp
+Source: https://github.com/tegesoft/camp
+
+Files: *
+Copyright: 2010 Laurent Gomila <laurent.gom@gmail.com>
+License: LGPL-3
+ This program 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 3 of the License, or
+ (at your option) any later version.
+ .
+ This program 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/>.
+
+Files: debian/*
+Copyright: 2014 Corentin Desfarges <corentin.desfarges.dev@gmail.com>
+License: GPL-3
+ The Debian packaging information is under the GPL, version 2 or later.
+ .
+ On Debian GNU/Linux systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL' and the
+ complete text of the GNU Lesser General Public License can be found in
+ `/usr/share/common-licenses/LGPL'.
diff --git a/debian/patches/add_soname b/debian/patches/add_soname
new file mode 100644
index 0000000..6f9ed21
--- /dev/null
+++ b/debian/patches/add_soname
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -148,7 +148,7 @@
+ 
+ # define the export macro
+ if(BUILD_SHARED_LIBS)
+-    set_target_properties(camp PROPERTIES DEFINE_SYMBOL CAMP_EXPORTS)
++    set_target_properties(camp PROPERTIES DEFINE_SYMBOL CAMP_EXPORTS SOVERSION 0.7 VERSION 0.7.1)
+ else()
+     add_definitions(-DCAMP_STATIC)
+ endif()
diff --git a/debian/patches/rm_boost_version b/debian/patches/rm_boost_version
new file mode 100644
index 0000000..f1ea451
--- /dev/null
+++ b/debian/patches/rm_boost_version
@@ -0,0 +1,22 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -131,7 +131,7 @@
+ )
+ 
+ # find Boost
+-find_package(Boost 1.38.0 REQUIRED)
++find_package(Boost REQUIRED)
+ 
+ # include files search paths
+ include_directories(
+--- a/test/CMakeLists.txt
++++ b/test/CMakeLists.txt
+@@ -62,7 +62,7 @@
+ )
+ 
+ # find Boost
+-find_package(Boost 1.38.0)
++find_package(Boost REQUIRED)
+ 
+ # include files search paths
+ include_directories(
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..33d482e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+add_soname
+rm_boost_version
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..0586afd
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,2 @@
+#!/bin/bash
+/sbin/ldconfig
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ae491bc
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,35 @@
+#!/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 $@ 
+
+override_dh_auto_install:
+	dh_auto_install --destdir=debian/camp
+
+# debmake generated override targets
+# This is example for Cmake (See http://bugs.debian.org/641051 )
+#override_dh_auto_configure:
+#	dh_auto_configure -- \
+#	-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
+
+
+
+
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..5ba9450
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/greenjava/camp/releases .*/archive/(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)

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

_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit


----- End forwarded message -----

-- 
http://fam-tille.de


Reply to: