[pkg-opensc-commit] [pkcs11-helper] 10/253: Added rpm spec file, thank to Eddy Nigg
Eric Dorland
eric at moszumanska.debian.org
Fri Jan 6 23:38:59 UTC 2017
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository pkcs11-helper.
commit fc0b02eb65eb880e6c812be4274c7744026b6fba
Author: Alon Bar-Lev <alon.barlev at gmail.com>
Date: Mon Nov 27 17:21:42 2006 +0000
Added rpm spec file, thank to Eddy Nigg
---
.svnignore | 1 +
CREDITS | 3 ++
configure.ac | 1 +
pkcs11-helper.spec.in | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 86 insertions(+)
diff --git a/.svnignore b/.svnignore
index 5f9908d..7473ba9 100644
--- a/.svnignore
+++ b/.svnignore
@@ -38,5 +38,6 @@ libtool
config-w32-vc.h
pkcs11-helper.exports
+pkcs11-helper.spec
libpkcs11-helper-1.pc
diff --git a/CREDITS b/CREDITS
index f5fbdb0..12b6d20 100644
--- a/CREDITS
+++ b/CREDITS
@@ -20,6 +20,9 @@ Andreas Jellinghaus
- For setting up the infrastructure required in OpenSC project.
- For helping in the complex task of licenses.
+Eddy Nigg
+ - For maintaining RPM support.
+
Apologies to anyone I have missed.
Alon Bar-Lev <alon.barlev at gmail.com>
diff --git a/configure.ac b/configure.ac
index 503e482..29263f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -388,6 +388,7 @@ AM_CONDITIONAL(ENABLE_PKCS11H_STANDALONE, test "${ENABLE_PKCS11H_STANDALONE}" =
AC_CONFIG_FILES([
Makefile
config-w32-vc.h
+ pkcs11-helper.spec
include/Makefile
include/pkcs11-helper-1.0/Makefile
include/pkcs11-helper-1.0/pkcs11-headers/Makefile
diff --git a/pkcs11-helper.spec.in b/pkcs11-helper.spec.in
new file mode 100644
index 0000000..9b3dcfa
--- /dev/null
+++ b/pkcs11-helper.spec.in
@@ -0,0 +1,81 @@
+%define name @PACKAGE@
+%define version @VERSION@
+%define release 2
+%define prefix /usr
+
+Summary: pkcs11-helper is a helper library for the use with smart cards and the PKCS#11 API
+Name: %{name}
+Version: %{version}
+Release: %{release}%{dist}
+License: GPL/BSD
+Vendor: opensc-project.org
+Packager: Eddy Nigg <eddy_nigg at startcom.org>
+Group: Applications/System
+Url: http://www.opensc-project.org
+Source: http://www.opensc-project.org/%{name}/%{name}-%{version}.tar.bz2
+BuildRoot: /var/tmp/%{name}-%{version}-%{release}
+BuildRequires: doxygen
+BuildRequires: openssl-devel >= 0.9.7a
+Requires: openssl >= 0.9.7a
+Provides: %{name} = %{version}
+
+%description
+pkcs11-helper provides a simple API to access PKCS#11 tokens.
+
+%package devel
+Summary: pkcs11-helper development files
+Group: Development/Libraries
+Requires: %{name} >= %{version}
+Requires: pkgconfig
+
+%description devel
+pkcs11-helper development files.
+
+%prep
+%setup -q
+
+%build
+%configure -q \
+ --disable-rpath \
+ --enable-doc
+
+# --without-crypto-engine-openssl \
+# --without-crypto-engine-gnutls \
+# --disable-dependency-tracking \
+%ifarch x86_64
+%{__perl} -pi -e "s:= /usr/lib64/pkgconfig:= \$(DESTDIR)/usr/lib64/pkgconfig:g" lib/Makefile
+%else
+%{__perl} -pi -e "s:= /usr/lib/pkgconfig:= \$(DESTDIR)/usr/lib/pkgconfig:g" lib/Makefile
+%endif
+
+make %{?_smp_mflags}
+
+%install
+if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
+
+%makeinstall
+
+%clean
+if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
+
+%files
+%defattr(-,root,root)
+%{_libdir}/libpkcs11-helper.*
+%{_mandir}/*
+%{_docdir}/%{name}-%{version}/COPYING.*
+%{_docdir}/%{name}-%{version}/README
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+#%{_libdir}/pkgconfig/*
+%{_datadir}/aclocal/*
+%{_docdir}/%{name}-%{version}/api/*
+
+
+%changelog
+* Mon Nov 27 2006 Eddy Nigg <eddy_nigg at startcom.org>
+- Fix documentation.
+
+* Sun Nov 26 2006 Eddy Nigg <eddy_nigg at startcom.org>
+- Initial build for StartCom Linux 5.0.x
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/pkcs11-helper.git
More information about the pkg-opensc-commit
mailing list