]> git.pld-linux.org Git - packages/libp11.git/blobdiff - libp11.spec
- release 2 (by relup.sh)
[packages/libp11.git] / libp11.spec
index 2c75e531762e5d3ca8b0e44a896e60a2a2152dcd..01c7926d40dd5f456cde7348ecb7c456772484f4 100644 (file)
@@ -1,18 +1,23 @@
+# TODO
+# - package apidocs
 Summary:       Layer on top of PKCS#11 API to make using PKCS#11 implementations easier
 Summary(pl.UTF-8):     Warstwa powyżej API PKCS#11 ułatwiająca używanie implementacji PKCS#11
 Name:          libp11
-Version:       0.2.3
-Release:       1
+Version:       0.2.8
+Release:       2
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       http://www.opensc-project.org/files/libp11/%{name}-%{version}.tar.gz
-# Source0-md5: 28ee2fc73fd82fbaa4a0670c972ca191
+# Source0-md5: f46dcbbea13a0732ab095d36283d5060
 URL:           http://www.opensc-project.org/libp11/
+BuildRequires: doxygen
 BuildRequires: libltdl-devel
 BuildRequires: openssl-devel >= 0.9.7
 BuildRequires: pkgconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%undefine      __cxx
+
 %description
 Libp11 is a library implementing a small layer on top of PKCS#11 API
 to make using PKCS#11 implementations easier.
@@ -51,7 +56,8 @@ Statyczna biblioteka libp11.
 %setup -q
 
 %build
-%configure
+%configure \
+       --enable-api-doc
 %{__make}
 
 %install
@@ -63,6 +69,9 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -af examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
+# obsoleted by pkgconfig
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libp11.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -71,14 +80,14 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc NEWS doc/{ChangeLog,README,*.html,*.css}
+%doc NEWS doc/{README,nonpersistent/{ChangeLog,wiki.out/*}}
 %attr(755,root,root) %{_libdir}/libp11.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libp11.so.2
 
 %files devel
 %defattr(644,root,root,755)
-%doc doc/api/*
+%doc doc/api.out/html/*
 %attr(755,root,root) %{_libdir}/libp11.so
-%{_libdir}/libp11.la
 %{_includedir}/libp11.h
 %{_pkgconfigdir}/libp11.pc
 %{_examplesdir}/%{name}-%{version}
This page took 0.089752 seconds and 4 git commands to generate.