]>
Commit | Line | Data |
---|---|---|
cce07826 | 1 | Summary: Open Crypto Development Kit |
2a1c182b | 2 | Summary(pl.UTF-8): Open Crypto Development Kit |
cce07826 | 3 | Name: opencdk |
506d944a | 4 | Version: 0.6.6 |
3b08747f | 5 | Release: 2 |
bfa7e907 | 6 | License: GPL v2+ |
cce07826 | 7 | Group: Libraries |
bfa7e907 | 8 | Source0: ftp://ftp.gnutls.org/pub/gnutls/opencdk/%{name}-%{version}.tar.bz2 |
506d944a | 9 | # Source0-md5: 813d62d7afe7b2c2d8f3df0a6c9d9331 |
cce07826 | 10 | URL: http://www.gnu.org/software/gnutls/ |
bfa7e907 | 11 | BuildRequires: autoconf >= 2.61 |
ff78ea98 | 12 | BuildRequires: automake >= 1:1.10 |
37150805 | 13 | BuildRequires: libtool |
bfa7e907 | 14 | BuildRequires: libgcrypt-devel >= 1.2.2 |
cce07826 | 15 | BuildRequires: zlib-devel |
bfa7e907 | 16 | Requires: libgcrypt >= 1.2.2 |
cce07826 AM |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
20 | This library provides basic parts of the OpenPGP message format. | |
21 | ||
339c8ba7 JR |
22 | %description -l pl.UTF-8 |
23 | Biblioteka dostarcza podstawową obsługę formatu OpenPGP. | |
cce07826 AM |
24 | |
25 | %package devel | |
26 | Summary: Header files etc to develop opencdk applications | |
2a1c182b | 27 | Summary(pl.UTF-8): Pliki nagłówkowe i inne do opencdk |
cce07826 | 28 | Group: Development/Libraries |
a59f1cf0 | 29 | Requires: %{name} = %{version}-%{release} |
bfa7e907 | 30 | Requires: libgcrypt-devel >= 1.2.2 |
6fbe8e14 | 31 | Requires: zlib-devel |
cce07826 AM |
32 | |
33 | %description devel | |
34 | Header files etc to develop opencdk applications. | |
35 | ||
339c8ba7 JR |
36 | %description devel -l pl.UTF-8 |
37 | Pliki nagłówkowe i inne do opencdk. | |
cce07826 AM |
38 | |
39 | %package static | |
40 | Summary: Static opencdk library | |
2a1c182b | 41 | Summary(pl.UTF-8): Biblioteka statyczna opencdk |
cce07826 | 42 | Group: Development/Libraries |
a59f1cf0 | 43 | Requires: %{name}-devel = %{version}-%{release} |
cce07826 AM |
44 | |
45 | %description static | |
46 | Static opencdk library. | |
47 | ||
339c8ba7 | 48 | %description static -l pl.UTF-8 |
cce07826 AM |
49 | Biblioteka statyczna opencdk. |
50 | ||
51 | %prep | |
52 | %setup -q | |
53 | ||
54 | %build | |
37150805 | 55 | %{__libtoolize} |
bfa7e907 | 56 | %{__aclocal} -I m4 |
37150805 | 57 | %{__autoconf} |
b85ad194 | 58 | %{__autoheader} |
37150805 | 59 | %{__automake} |
cce07826 AM |
60 | %configure |
61 | %{__make} | |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
37150805 | 65 | install -d $RPM_BUILD_ROOT%{_aclocaldir} |
cce07826 AM |
66 | |
67 | %{__make} install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT | |
69 | ||
c24b0f23 | 70 | install src/opencdk.m4 $RPM_BUILD_ROOT%{_aclocaldir} |
37150805 | 71 | |
cce07826 AM |
72 | %clean |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %post -p /sbin/ldconfig | |
76 | %postun -p /sbin/ldconfig | |
77 | ||
78 | %files | |
79 | %defattr(644,root,root,755) | |
48cd038b | 80 | %doc AUTHORS ChangeLog NEWS README THANKS TODO |
ff78ea98 | 81 | %attr(755,root,root) %{_libdir}/libopencdk.so.*.*.* |
cce07826 AM |
82 | |
83 | %files devel | |
84 | %defattr(644,root,root,755) | |
bfa7e907 | 85 | %doc doc/*.html |
70224963 JB |
86 | %attr(755,root,root) %{_bindir}/opencdk-config |
87 | %attr(755,root,root) %{_libdir}/libopencdk.so | |
88 | %{_libdir}/libopencdk.la | |
89 | %{_includedir}/opencdk.h | |
90 | %{_aclocaldir}/opencdk.m4 | |
91 | %{_pkgconfigdir}/opencdk.pc | |
cce07826 AM |
92 | |
93 | %files static | |
94 | %defattr(644,root,root,755) | |
70224963 | 95 | %{_libdir}/libopencdk.a |