]>
Commit | Line | Data |
---|---|---|
46d7d535 AM |
1 | Summary: XAdES digital signature standard library |
2 | Name: libdigidoc | |
3 | Version: 2.2.5 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: Libraries | |
7 | Source0: http://www.openxades.org/files/%{name}-release-%{version}.tar.gz | |
8 | # Source0-md5: cc07cb0b6fa378ed85d12d0c9a7df07f | |
9 | URL: http://www.openxades.org/ | |
10 | BuildRequires: libxml2-devel | |
11 | BuildRequires: openssl-devel | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
46d7d535 AM |
14 | %description |
15 | DigiDoc is a generic library implementing the XAdES digital signature | |
16 | standard. It allows to create, sign, verify, and modify digidoc XML | |
17 | containers. Support for doing hardware cryptographic signing | |
18 | operations is porivded via PKCS#11. | |
19 | ||
20 | %package devel | |
21 | Summary: Header files and development documentation for libdigidoc | |
22 | Group: Development/Libraries | |
23 | ||
24 | %description devel | |
25 | Header files and development documentation for libdigidoc. | |
26 | ||
27 | %package static | |
28 | Summary: Static libdigidoc library | |
29 | Group: Development/Libraries | |
30 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
31 | ||
32 | %description static | |
33 | Static libdigidoc library. | |
34 | ||
35 | %prep | |
36 | %setup -q | |
37 | ||
38 | %build | |
39 | %configure | |
40 | ||
41 | %{__make} -j1 | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %{__make} -j1 install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %post -p /sbin/ldconfig | |
53 | %postun -p /sbin/ldconfig | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
57 | %doc AUTHORS ChangeLog NEWS README doc/*.pdf doc/*.xsd | |
58 | %attr(755,root,root) %{_bindir}/cdigidoc | |
59 | %attr(755,root,root) %{_libdir}/libdigidoc.so.*.* | |
60 | %attr(755,root,root) %ghost %{_libdir}/libdigidoc.so.2 | |
61 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/digidoc.conf | |
62 | %{_datadir}/%{name} | |
63 | ||
64 | %files devel | |
65 | %defattr(644,root,root,755) | |
66 | %attr(755,root,root) %{_libdir}/libdigidoc.so | |
67 | %{_libdir}/libdigidoc.la | |
68 | %{_includedir}/%{name} | |
69 | %{_pkgconfigdir}/%{name}.pc | |
70 | ||
71 | %files static | |
72 | %defattr(644,root,root,755) | |
73 | %{_libdir}/libdigidoc.a |