From c0e7e94538205b944c5dd20af4d7d888be2ee76d Mon Sep 17 00:00:00 2001 From: Alexander Vdolainen Date: Fri, 7 Aug 2015 18:05:18 +0300 Subject: [PATCH] debian control files fixed; --- debian/changelog | 8 +++---- debian/compat | 1 + debian/copyright | 40 ++++++------------------------- debian/libsntl-dev.dirs | 1 + debian/libsntl-dev.install | 6 ++--- debian/libsntl.install | 2 +- debian/libsntl.postinst.debhelper | 5 ++++ debian/libsntl.postrm.debhelper | 5 ++++ debian/postinst.ex | 39 ------------------------------ debian/postrm.ex | 37 ---------------------------- debian/preinst.ex | 35 --------------------------- debian/prerm.ex | 38 ----------------------------- debian/watch.ex | 23 ------------------ 13 files changed, 27 insertions(+), 213 deletions(-) create mode 100644 debian/libsntl.postinst.debhelper create mode 100644 debian/libsntl.postrm.debhelper delete mode 100644 debian/postinst.ex delete mode 100644 debian/postrm.ex delete mode 100644 debian/preinst.ex delete mode 100644 debian/prerm.ex delete mode 100644 debian/watch.ex diff --git a/debian/changelog b/debian/changelog index faaba8b..af00f48 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,24 +4,24 @@ libsntl (0.3.0) stable; urgency=high * Performance tricks * Long messages * Extended API - * It's incompatible with 0.2.xx and below by protocol + * Manual pages added -- Alexander Vdolainen Thu, 16 Jul 2015 22:50:32 +0200 libsntl (0.2.1) stable; urgency=low - * Initial release (Closes: #nnnn) + * Initial release -- Alexander Vdolainen Thu, 11 Jun 2015 03:37:48 +0200 libsntl (0.2.0) stable; urgency=low - * Initial release (Closes: #nnnn) + * Initial release -- Alexander Vdolainen Thu, 04 Jun 2015 16:00:00 +0200 libsntl (0.1.0) stable; urgency=low - * Initial release (Closes: #nnnn) + * Initial release -- Alexander Vdolainen Mon, 24 Nov 2014 11:52:48 +0200 diff --git a/debian/compat b/debian/compat index e69de29..7f8f011 100644 --- a/debian/compat +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/copyright b/debian/copyright index 9fcefe8..bdf65df 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,38 +1,12 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libsntl -Source: +Source: Files: * -Copyright: - -License: - - +Copyright: 2015 Askele Group + 2014 Askele Oy +License: Askele PL + Askele Group Proprietary License 1.0 + Not allow any distrbution without license . - - -# If you want to use GPL v2 or later for the /debian/* files use -# the following clauses, or change it to suit. Delete these two lines -Files: debian/* -Copyright: 2014 Alexander Vdolainen -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 - . - On Debian systems, the complete text of the GNU General - Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". - -# Please also look if there are files or directories which have a -# different copyright/license attached and list them here. -# Please avoid to pick license terms that are more restrictive than the -# packaged work, as it may make Debian's contributions unacceptable upstream. + No warrantly diff --git a/debian/libsntl-dev.dirs b/debian/libsntl-dev.dirs index c413e42..12fc492 100644 --- a/debian/libsntl-dev.dirs +++ b/debian/libsntl-dev.dirs @@ -1,4 +1,5 @@ usr/lib usr/include +usr/include/sntl usr/share/man usr/share/man/man3 \ No newline at end of file diff --git a/debian/libsntl-dev.install b/debian/libsntl-dev.install index 8a3bca9..9095460 100644 --- a/debian/libsntl-dev.install +++ b/debian/libsntl-dev.install @@ -1,5 +1,5 @@ -usr/include/* -usr/lib/lib*.a -usr/lib/lib*.so +usr/include/sntl/*.h +usr/lib/libsntl*.a +usr/lib/libsntl*.la usr/lib/pkgconfig/* usr/share/man/man3/* diff --git a/debian/libsntl.install b/debian/libsntl.install index d0dbfd1..728710f 100644 --- a/debian/libsntl.install +++ b/debian/libsntl.install @@ -1 +1 @@ -usr/lib/lib*.so.* +usr/lib/libsntl.so.* diff --git a/debian/libsntl.postinst.debhelper b/debian/libsntl.postinst.debhelper new file mode 100644 index 0000000..3d89d3e --- /dev/null +++ b/debian/libsntl.postinst.debhelper @@ -0,0 +1,5 @@ +# Automatically added by dh_makeshlibs +if [ "$1" = "configure" ]; then + ldconfig +fi +# End automatically added section diff --git a/debian/libsntl.postrm.debhelper b/debian/libsntl.postrm.debhelper new file mode 100644 index 0000000..7f44047 --- /dev/null +++ b/debian/libsntl.postrm.debhelper @@ -0,0 +1,5 @@ +# Automatically added by dh_makeshlibs +if [ "$1" = "remove" ]; then + ldconfig +fi +# End automatically added section diff --git a/debian/postinst.ex b/debian/postinst.ex deleted file mode 100644 index 46cd8a7..0000000 --- a/debian/postinst.ex +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh -# postinst script for libsntl -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-remove' -# * `abort-deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - configure) - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/postrm.ex b/debian/postrm.ex deleted file mode 100644 index 40d2e01..0000000 --- a/debian/postrm.ex +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh -# postrm script for libsntl -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `remove' -# * `purge' -# * `upgrade' -# * `failed-upgrade' -# * `abort-install' -# * `abort-install' -# * `abort-upgrade' -# * `disappear' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - ;; - - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/preinst.ex b/debian/preinst.ex deleted file mode 100644 index 050f69e..0000000 --- a/debian/preinst.ex +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# preinst script for libsntl -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `install' -# * `install' -# * `upgrade' -# * `abort-upgrade' -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - install|upgrade) - ;; - - abort-upgrade) - ;; - - *) - echo "preinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/prerm.ex b/debian/prerm.ex deleted file mode 100644 index 4bba561..0000000 --- a/debian/prerm.ex +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh -# prerm script for libsntl -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `remove' -# * `upgrade' -# * `failed-upgrade' -# * `remove' `in-favour' -# * `deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - remove|upgrade|deconfigure) - ;; - - failed-upgrade) - ;; - - *) - echo "prerm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/watch.ex b/debian/watch.ex deleted file mode 100644 index bc7e56c..0000000 --- a/debian/watch.ex +++ /dev/null @@ -1,23 +0,0 @@ -# Example watch control file for uscan -# Rename this file to "watch" and then you can run the "uscan" command -# to check for upstream updates and more. -# See uscan(1) for format - -# Compulsory line, this is a version 3 file -version=3 - -# Uncomment to examine a Webpage -# -#http://www.example.com/downloads.php libsntl-(.*)\.tar\.gz - -# Uncomment to examine a Webserver directory -#http://www.example.com/pub/libsntl-(.*)\.tar\.gz - -# Uncommment to examine a FTP server -#ftp://ftp.example.com/pub/libsntl-(.*)\.tar\.gz debian uupdate - -# Uncomment to find new files on sourceforge, for devscripts >= 2.9 -# http://sf.net/libsntl/libsntl-(.*)\.tar\.gz - -# Uncomment to find new files on GooglePages -# http://example.googlepages.com/foo.html libsntl-(.*)\.tar\.gz