packaging: debian packaging templates
This commit is contained in:
parent
bdd264936c
commit
f5814595db
@ -18,7 +18,14 @@ SUBDIRS = etc src win32 doc MacOSX
|
||||
dist_noinst_SCRIPTS = bootstrap
|
||||
dist_noinst_DATA = README \
|
||||
solaris/Makefile solaris/README solaris/checkinstall.in \
|
||||
solaris/opensc.conf-dist solaris/pkginfo.in solaris/proto
|
||||
solaris/opensc.conf-dist solaris/pkginfo.in solaris/proto \
|
||||
packaging/debian.templates/changelog \
|
||||
packaging/debian.templates/compat \
|
||||
packaging/debian.templates/control \
|
||||
packaging/debian.templates/copyright \
|
||||
packaging/debian.templates/docs \
|
||||
packaging/debian.templates/opensc.install \
|
||||
packaging/debian.templates/rules
|
||||
dist_doc_DATA = NEWS
|
||||
|
||||
Generate-ChangeLog:
|
||||
|
5
packaging/debian.templates/changelog
Normal file
5
packaging/debian.templates/changelog
Normal file
@ -0,0 +1,5 @@
|
||||
#PACKAGE# (#VERSION#-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
|
||||
-- #USERNAME# <#EMAIL#> #DATE#
|
1
packaging/debian.templates/compat
Normal file
1
packaging/debian.templates/compat
Normal file
@ -0,0 +1 @@
|
||||
8
|
31
packaging/debian.templates/control
Normal file
31
packaging/debian.templates/control
Normal file
@ -0,0 +1,31 @@
|
||||
Source: opensc
|
||||
Section: utils
|
||||
Priority: extra
|
||||
Maintainer: Viktor Tarasov <viktor.tarasov@gmail.com>
|
||||
Build-Depends: debhelper (>= 8.0.0), autotools-dev, libltdl3-dev, libreadline-dev, libssl-dev (>= 0.9.7d-3), libpcsclite-dev (>= 1.2.9-beta1), pkg-config, xsltproc, docbook-xsl, zlib1g-dev, dh-autoreconf, flex
|
||||
Standards-Version: 3.9.2
|
||||
Homepage: https://github.com/OpenSC/OpenSC
|
||||
#Vcs-Git: git://git.debian.org/collab-maint/opensc.git
|
||||
#Vcs-Browser: http://git.debian.org/?p=collab-maint/opensc.git;a=summary
|
||||
|
||||
Package: opensc
|
||||
Section: utils
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, pcscd
|
||||
Replaces: libopensc2 (<< 0.12.0)
|
||||
Conflicts: libopensc2 (<< 0.12.0), mozilla-opensc
|
||||
Description: Smart card utilities with support for PKCS#15 compatible cards
|
||||
OpenSC provides a set of libraries and utilities to access smart
|
||||
cards. It mainly focuses on cards that support cryptographic
|
||||
operations. It facilitates their use in security applications such as
|
||||
mail encryption, authentication, and digital signature. OpenSC
|
||||
implements the PKCS#11 API. OpenSC implements the PKCS#15
|
||||
standard and aims to be compatible with all software that does so as
|
||||
well.
|
||||
.
|
||||
Before purchasing any cards, please read carefully documentation in
|
||||
/usr/share/doc/opensc/html/wiki/index.html - only some cards are
|
||||
supported. Not only does card type matters, but also card version,
|
||||
card OS version and preloaded applet. Only a subset of possible
|
||||
operations may be supported for your card. Card initialization may
|
||||
require third party proprietary software.
|
29
packaging/debian.templates/copyright
Normal file
29
packaging/debian.templates/copyright
Normal file
@ -0,0 +1,29 @@
|
||||
Format: http://dep.debian.net/deps/dep5
|
||||
Upstream-Name: opensc
|
||||
Source: https://github.com/OpenSC/OpenSC.git
|
||||
|
||||
Files: *
|
||||
Copyright: 2001-2013 OpenSC developers <opensc-devel@lists.sourceforge.net>
|
||||
|
||||
License: LGPL-3.0+
|
||||
|
||||
|
||||
License: LGPL-3.0+
|
||||
This package is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 3 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
|
||||
Lesser 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 Lesser General
|
||||
Public License can be found in "/usr/share/common-licenses/LGPL-3".
|
||||
|
||||
# Please also look if there are files or directories which have a
|
||||
# different copyright/license attached and list them here.
|
2
packaging/debian.templates/docs
Normal file
2
packaging/debian.templates/docs
Normal file
@ -0,0 +1,2 @@
|
||||
NEWS
|
||||
README
|
14
packaging/debian.templates/opensc.install
Normal file
14
packaging/debian.templates/opensc.install
Normal file
@ -0,0 +1,14 @@
|
||||
debian/tmp/usr/bin/pkcs15-*
|
||||
debian/tmp/usr/bin/*-tool
|
||||
debian/tmp/usr/bin/eidenv
|
||||
debian/tmp/usr/bin/opensc-explorer
|
||||
|
||||
debian/tmp/usr/lib/*.so.*
|
||||
debian/tmp/usr/lib/*.so
|
||||
debian/tmp/usr/lib/pkcs11/*.so
|
||||
debian/tmp/usr/share/opensc/*.profile
|
||||
etc/opensc.conf etc/opensc
|
||||
|
||||
debian/tmp/usr/share/man/man5/*.5
|
||||
debian/tmp/usr/share/man/man1/*.1
|
||||
|
30
packaging/debian.templates/rules
Executable file
30
packaging/debian.templates/rules
Executable file
@ -0,0 +1,30 @@
|
||||
#!/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 $@ --with autoreconf
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- --sysconfdir=/etc/opensc \
|
||||
--enable-pcsc \
|
||||
--disable-openct \
|
||||
--enable-doc \
|
||||
--enable-readline \
|
||||
--enable-zlib \
|
||||
--enable-sm \
|
||||
--htmldir=/usr/share/doc/opensc/html
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install --destdir=debian/tmp
|
||||
|
||||
override_dh_installdocs:
|
||||
dh_installdocs -A README NEWS ChangeLog
|
||||
|
Loading…
Reference in New Issue
Block a user