Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
p11-kit
p11-kit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File p11-kit.spec of Package p11-kit
# # spec file for package p11-kit # # Copyright (c) 2012 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.12 Release: 0 Summary: Library to work with PKCS#11 modules License: BSD-3-Clause 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 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 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 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 # Remove sample config away to doc folder. Having the sample there would conflict # with future versions of the library on file level. As replacement, we package # the file as documentation file. rm %{buildroot}%{_sysconfdir}/pkcs11/pkcs11.conf.example 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) # Package the example conf file as documentation. Like this we're sure that we will # not introduce conflicts with this version of the library and future ones. %doc p11-kit/pkcs11.conf.example %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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor