From 0d86e6fec1e8c045e4729bb76afdf5ad1b1e2d0708bc79e130b30bc57482e0f6 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 4 Aug 2011 09:25:42 +0000 Subject: [PATCH] Accepting request 77572 from GNOME:Factory New package: new dependency for gnome-keyring (0.3 solves some licensing issue) OBS-URL: https://build.opensuse.org/request/show/77572 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/p11-kit?expand=0&rev=1 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + baselibs.conf | 1 + p11-kit-0.3.tar.gz | 3 ++ p11-kit.changes | 14 ++++++ p11-kit.spec | 109 +++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 151 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 p11-kit-0.3.tar.gz create mode 100644 p11-kit.changes create mode 100644 p11-kit.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..2204bf9 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libp11-kit0 diff --git a/p11-kit-0.3.tar.gz b/p11-kit-0.3.tar.gz new file mode 100644 index 0000000..843ee8f --- /dev/null +++ b/p11-kit-0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af4b77de19c7e8e5c63ec1ddcde47cf689cb065d73fd2dc5b37df0426f2625c4 +size 505589 diff --git a/p11-kit.changes b/p11-kit.changes new file mode 100644 index 0000000..5abb73c --- /dev/null +++ b/p11-kit.changes @@ -0,0 +1,14 @@ +------------------------------------------------------------------- +Sat Jul 30 15:04:36 CEST 2011 - vuntz@opensuse.org + +- Update to version 0.3: + + Rewrite hash table, and simplify licensing. + + Correct paths for p11-kit config files. + + Many build fixes and tweaks. +- Remove Apache-2 part from License tag, as the code was rewritten. + +------------------------------------------------------------------- +Mon Jul 25 15:35:57 CEST 2011 - vuntz@opensuse.org + +- Initial package (version 0.2). + diff --git a/p11-kit.spec b/p11-kit.spec new file mode 100644 index 0000000..60bbc8c --- /dev/null +++ b/p11-kit.spec @@ -0,0 +1,109 @@ +# +# spec file for package p11-kit +# +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: p11-kit +Version: 0.3 +Release: 1 +Summary: Library to work with PKCS#11 modules +License: BSD3c +Group: Development/Libraries/C and C++ +Url: http://p11-glue.freedesktop.org/p11-kit.html +Source0: http://p11-glue.freedesktop.org/releases/%{name}-%{version}.tar.gz +Source99: baselibs.conf +BuildRequires: pkg-config +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +p11-kit provides a way to load and enumerate PKCS#11 modules, as well +as a standard configuration setup for installing PKCS#11 modules in +such a way that they're discoverable. + +%package -n libp11-kit0 +License: BSD3c +Summary: Library to work with PKCS#11 modules +Group: System/Libraries + +%description -n libp11-kit0 +p11-kit provides a way to load and enumerate PKCS#11 modules, as well +as a standard configuration setup for installing PKCS#11 modules in +such a way that they're discoverable. + +%package tools +License: BSD3c +Summary: Library to work with PKCS#11 modules -- Tools +Group: Development/Libraries/C and C++ + +%description tools +p11-kit provides a way to load and enumerate PKCS#11 modules, as well +as a standard configuration setup for installing PKCS#11 modules in +such a way that they're discoverable. + +%package devel +License: BSD3c +Summary: Library to work with PKCS#11 modules -- Development Files +Group: Development/Libraries/C and C++ +Requires: libp11-kit0 = %{version} + +%description devel +p11-kit provides a way to load and enumerate PKCS#11 modules, as well +as a standard configuration setup for installing PKCS#11 modules in +such a way that they're discoverable. + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} + +%install +%make_install +# Create pkcs11 config directory +test ! -e %{buildroot}%{_sysconfdir}/pkcs11/modules +install -d %{buildroot}%{_sysconfdir}/pkcs11/modules +find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print + +%clean +rm -rf %{buildroot} + +%post -n libp11-kit0 -p /sbin/ldconfig + +%postun -n libp11-kit0 -p /sbin/ldconfig + +%files -n libp11-kit0 +%defattr(-,root,root) +%doc AUTHORS ChangeLog COPYING NEWS README +%dir %{_sysconfdir}/pkcs11/ +%dir %{_sysconfdir}/pkcs11/modules/ +%{_libdir}/libp11-kit.so.* +%{_libdir}/p11-kit-proxy.so + +%files tools +%defattr(-,root,root) +%{_bindir}/p11-kit + +%files devel +%defattr(-,root,root) +%{_includedir}/p11-kit-1/ +%{_libdir}/libp11-kit.so +%{_libdir}/pkgconfig/p11-kit-1.pc +%doc %dir %{_datadir}/gtk-doc +%doc %dir %{_datadir}/gtk-doc/html +%doc %{_datadir}/gtk-doc/html/p11-kit/ + +%changelog