[spglib] 01/01: Adding debian/ with appropriate files (as generated by dh_make).
Andrius Merkys
merkys-guest at moszumanska.debian.org
Tue Dec 5 07:42:53 UTC 2017
This is an automated email from the git hooks/post-receive script.
merkys-guest pushed a commit to branch master
in repository spglib.
commit fe7e2f608071fe73ea63a2a22e0d1cd57d3ab769
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date: Tue Dec 5 09:42:16 2017 +0200
Adding debian/ with appropriate files (as generated by dh_make).
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 27 +++++++++++++++++++++++++++
debian/copyright | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
debian/rules | 43 +++++++++++++++++++++++++++++++++++++++++++
debian/source/format | 1 +
debian/watch | 7 +++++++
7 files changed, 134 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..120cede
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+spglib (1.10.1-1) UNRELEASED; urgency=low
+
+ * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
+
+ -- Andrius Merkys <andrius.merkys at gmail.com> Wed, 22 Nov 2017 10:02:16 +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..ff1326a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: spglib
+Section: science
+Priority: extra
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Andrius Merkys <andrius.merkys at gmail.com>
+Build-Depends: debhelper (>=9)
+Standards-Version: 4.1.0
+Homepage: https://atztogo.github.io/spglib/
+#Vcs-Git: git://anonscm.debian.org/collab-maint/spglib.git
+#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/spglib.git
+
+Package: spglib
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: C library for crystal symmetry determination
+ Spglib is a C library for crystal symmetry determination. Symmetry
+ operations, space groups and other data can be obtained using this
+ symmetry finder.
+ .
+ Features include:
+ .
+ * Identify space-group type
+ * Find symmetry operations
+ * Find a primitive cell
+ * Search irreducible k-points
+ * Refine crystal structure
+ * Wyckoff position assignment
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..95d945e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,50 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: spglib
+Source: https://github.com/atztogo/spglib
+
+Files: *
+Copyright: 2014 Atsushi Togo
+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 the <organization> 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 <COPYRIGHT
+ HOLDER> 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: 2017 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 <https://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/rules b/debian/rules
new file mode 100755
index 0000000..e25d59f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,43 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+
+# 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
+
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ aclocal
+ autoheader
+ libtoolize
+ touch INSTALL NEWS README AUTHORS
+ automake -acf
+ autoconf
+ dh_auto_configure
+
+override_dh_auto_test:
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -f INSTALL NEWS README AUTHORS
+ rm -f Makefile.in aclocal.m4 compile depcomp install-sh ltmain.sh
+ rm -f missing src/Makefile.in test-driver
+ rm -f config.guess config.h.in config.sub configure
+ rm -rf m4
+
+# dh_make generated override targets
+# This is example for Cmake (See https://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..8a9cf0d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,7 @@
+# Compulsory line, this is a version 4 file
+version=4
+
+# GitHub hosted projects
+opts="filenamemangle=s/(?:.*?)?v?(\d[\d.]*)\.tar\.gz/spglib-$1.tar.gz/" \
+ https://github.com/atztogo/spglib/releases \
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/spglib.git
More information about the debian-science-commits
mailing list