]> git.pld-linux.org Git - packages/libp11.git/blame - libp11.spec
- release 2
[packages/libp11.git] / libp11.spec
CommitLineData
79e59891 1Summary: Layer on top of PKCS#11 API to make using PKCS#11 implementations easier
3d217944 2Summary(pl.UTF-8): Warstwa powyżej API PKCS#11 ułatwiająca używanie implementacji PKCS#11
79e59891 3Name: libp11
e3d69a01 4Version: 0.2.4
1676acaf 5Release: 2
79e59891
JB
6License: LGPL v2.1+
7Group: Libraries
8a61e2b4 8Source0: http://www.opensc-project.org/files/libp11/%{name}-%{version}.tar.gz
e3d69a01 9# Source0-md5: 9e2c5cbececde245e2d2f535bd49ce35
8a61e2b4 10URL: http://www.opensc-project.org/libp11/
79e59891 11BuildRequires: libltdl-devel
75ec75e9 12BuildRequires: openssl-devel >= 0.9.7
79e59891
JB
13BuildRequires: pkgconfig
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17Libp11 is a library implementing a small layer on top of PKCS#11 API
18to make using PKCS#11 implementations easier.
19
38532f27
JR
20%description -l pl.UTF-8
21Libp11 to biblioteka implementująca niewielką warstwę na wierzchu API
22PKCS#11 mająca ułatwić używanie implementacji PKCS#11.
79e59891
JB
23
24%package devel
25Summary: Header files for libp11 library
3d217944 26Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libp11
79e59891
JB
27Group: Development/Libraries
28Requires: %{name} = %{version}-%{release}
29Requires: libltdl-devel
75ec75e9 30Requires: openssl-devel >= 0.9.7
79e59891
JB
31
32%description devel
33Header files for libp11 library.
34
38532f27
JR
35%description devel -l pl.UTF-8
36Pliki nagłówkowe biblioteki libp11.
79e59891
JB
37
38%package static
39Summary: Static libp11 library
3d217944 40Summary(pl.UTF-8): Statyczna biblioteka libp11
79e59891
JB
41Group: Development/Libraries
42Requires: %{name}-devel = %{version}-%{release}
43
44%description static
45Static libp11 library.
46
38532f27 47%description static -l pl.UTF-8
79e59891
JB
48Statyczna biblioteka libp11.
49
50%prep
51%setup -q
52
53%build
e3d69a01
JB
54%configure \
55 --enable-api-doc
79e59891
JB
56%{__make}
57
58%install
59rm -rf $RPM_BUILD_ROOT
60
61%{__make} install \
62 DESTDIR=$RPM_BUILD_ROOT
63
64install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
65cp -af examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%post -p /sbin/ldconfig
71%postun -p /sbin/ldconfig
72
73%files
74%defattr(644,root,root,755)
af5c2a58 75%doc NEWS doc/{README,nonpersistent/{ChangeLog,wiki.out/*}}
79e59891 76%attr(755,root,root) %{_libdir}/libp11.so.*.*.*
e3d69a01 77%attr(755,root,root) %ghost %{_libdir}/libp11.so.0
79e59891
JB
78
79%files devel
80%defattr(644,root,root,755)
e3d69a01 81%doc doc/api.out/html/*
79e59891
JB
82%attr(755,root,root) %{_libdir}/libp11.so
83%{_libdir}/libp11.la
84%{_includedir}/libp11.h
85%{_pkgconfigdir}/libp11.pc
86%{_examplesdir}/%{name}-%{version}
87
88%files static
89%defattr(644,root,root,755)
90%{_libdir}/libp11.a
This page took 0.114548 seconds and 4 git commands to generate.