[cod-tools] 17/142: trunk/ Adding settings for the packaging of 'codcif'. However, the packaging crashes because of missing relative paths to 'cexceptions'. A solution would be to remove such paths in upstream and rely on the main Makefile of 'cod-tools' to prepare first the 'cexceptions' and then 'codcif'.

Andrius Merkys merkys-guest at moszumanska.debian.org
Mon Sep 25 13:44:12 UTC 2017


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

merkys-guest pushed a commit to branch master
in repository cod-tools.

commit ac058e298d75212aad2db7438d37e7e5c74104da
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date:   Wed Oct 26 10:15:04 2016 +0000

    trunk/
    Adding settings for the packaging of 'codcif'. However, the packaging
    crashes because of missing relative paths to 'cexceptions'. A solution
    would be to remove such paths in upstream and rely on the main Makefile
    of 'cod-tools' to prepare first the 'cexceptions' and then 'codcif'.
    
    
    git-svn-id: svn+ssh://saulius-grazulis.lt/home/andrius/svn-repositories/cod-deb-packaging/trunk@17 26752c47-bcd6-4c9c-b022-347364b77eb5
---
 codcif/Makefile             |  1 +
 codcif/debian/changelog     |  5 +++++
 codcif/debian/compat        |  1 +
 codcif/debian/control       | 13 +++++++++++++
 codcif/debian/copyright     | 40 ++++++++++++++++++++++++++++++++++++++++
 codcif/debian/rules         | 27 +++++++++++++++++++++++++++
 codcif/debian/source/format |  1 +
 codcif/fetch-source         |  3 +++
 8 files changed, 91 insertions(+)

diff --git a/codcif/Makefile b/codcif/Makefile
new file mode 120000
index 0000000..49d1d10
--- /dev/null
+++ b/codcif/Makefile
@@ -0,0 +1 @@
+../MasterMakefile
\ No newline at end of file
diff --git a/codcif/debian/changelog b/codcif/debian/changelog
new file mode 100644
index 0000000..92e5380
--- /dev/null
+++ b/codcif/debian/changelog
@@ -0,0 +1,5 @@
+codcif (4754-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Andrius Merkys <andrius.merkys at gmail.com>  Wed, 26 Oct 2016 00:45:47 +0300
diff --git a/codcif/debian/compat b/codcif/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/codcif/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/codcif/debian/control b/codcif/debian/control
new file mode 100644
index 0000000..548174f
--- /dev/null
+++ b/codcif/debian/control
@@ -0,0 +1,13 @@
+Source: codcif
+Priority: extra
+Maintainer: Andrius Merkys <andrius.merkys at gmail.com>
+Build-Depends: debhelper (>= 8.0.0), cexceptions, getoptions
+Standards-Version: 3.9.3
+Section: libs
+
+Package: codcif
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}
+Description: CIF parser in C language
+ <insert long description, indented with spaces>
diff --git a/codcif/debian/copyright b/codcif/debian/copyright
new file mode 100644
index 0000000..394b147
--- /dev/null
+++ b/codcif/debian/copyright
@@ -0,0 +1,40 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: codcif
+Source: <svn://www.crystallography.net/cod-tools/trunk/src/components/codcif>
+
+Files: *
+Copyright: 2008 Saulius Gražulis <grazulis at ibt.lt>
+License: GPL-2
+ 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 2 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, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Files: debian/*
+Copyright: 2016 Andrius Merkys <andrius.merkys 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/codcif/debian/rules b/codcif/debian/rules
new file mode 100755
index 0000000..f1f2c4a
--- /dev/null
+++ b/codcif/debian/rules
@@ -0,0 +1,27 @@
+#!/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.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+build:
+	${MAKE}
+
+clean:
+	${MAKE} distclean
+
+override_dh_auto_install:
+	${MAKE} install PREFIX=debian/codcif/usr
+
+install: build
+	mkdir -p ${PREFIX}/include ${PREFIX}/lib
+	install *.h ${PREFIX}/include
+	install lib/libcodcif.a ${PREFIX}/lib
diff --git a/codcif/debian/source/format b/codcif/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/codcif/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/codcif/fetch-source b/codcif/fetch-source
new file mode 100755
index 0000000..9dacc3b
--- /dev/null
+++ b/codcif/fetch-source
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+svn export -r4754 svn://www.crystallography.net/cod-tools/trunk/src/components/codcif source

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



More information about the debian-science-commits mailing list