]>
Commit | Line | Data |
---|---|---|
63406587 | 1 | Summary: DomainKey Library for email servers & clients |
4067481d | 2 | Summary(pl.UTF-8): Biblioteka DomainKey dla serwerów i klientów poczty elektronicznej |
63406587 | 3 | Name: libdomainkeys |
14848c0d | 4 | Version: 0.68 |
f55e9388 | 5 | Release: 3 |
63406587 AM |
6 | License: Yahoo! DomainKeys Public License Agreement v1.1 |
7 | Group: Libraries | |
8 | Source0: http://dl.sourceforge.net/domainkeys/%{name}-%{version}.tar.gz | |
14848c0d | 9 | # Source0-md5: c9fe164d6296e7ad5468580875ac4f2e |
8e887577 | 10 | Patch0: %{name}-libtool.patch |
afb72495 | 11 | Patch1: %{name}-segv.patch |
27c61924 | 12 | Patch2: %{name}-dknewkey.patch |
63406587 AM |
13 | URL: http://domainkeys.sourceforge.net/ |
14 | BuildRequires: openssl-devel | |
27c61924 | 15 | Requires: mktemp |
63406587 AM |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | DomainKey Library for email servers & clients. | |
20 | ||
4338d475 JR |
21 | %description -l pl.UTF-8 |
22 | Biblioteka DomainKey dla serwerów i klientów poczty elektronicznej. | |
e9044770 | 23 | |
63406587 AM |
24 | %package devel |
25 | Summary: Header files for libdomainkeys library | |
4067481d | 26 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libdomainkeys |
63406587 AM |
27 | Group: Development/Libraries |
28 | Requires: %{name} = %{version}-%{release} | |
29 | Requires: openssl-devel | |
30 | ||
31 | %description devel | |
32 | Header files for libdomainkeys library. | |
33 | ||
4338d475 JR |
34 | %description devel -l pl.UTF-8 |
35 | Pliki nagłówkowe biblioteki libdomainkeys. | |
63406587 AM |
36 | |
37 | %package static | |
38 | Summary: Static libdomainkeys library | |
4067481d | 39 | Summary(pl.UTF-8): Statyczna biblioteka libdomainkeys |
63406587 AM |
40 | Group: Development/Libraries |
41 | Requires: %{name}-devel = %{version}-%{release} | |
42 | ||
43 | %description static | |
44 | Static libdomainkeys library. | |
45 | ||
4338d475 | 46 | %description static -l pl.UTF-8 |
63406587 AM |
47 | Statyczna biblioteka libdomainkeys. |
48 | ||
49 | %prep | |
50 | %setup -q | |
8e887577 | 51 | %patch0 -p1 |
afb72495 | 52 | %patch1 -p1 |
27c61924 | 53 | %patch2 -p1 |
63406587 AM |
54 | |
55 | %build | |
56 | %{__make} \ | |
57 | CC="%{__cc}" \ | |
58 | CFLAGS="%{rpmcflags} -DBIND_8_COMPAT" | |
59 | ||
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
8e887577 | 62 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}} |
63406587 | 63 | |
5eee392b | 64 | libtool install dknewkey dktest $RPM_BUILD_ROOT%{_bindir} |
c05c53c3 | 65 | install dktrace.h domainkeys.h $RPM_BUILD_ROOT%{_includedir} |
8e887577 | 66 | libtool install libdomainkeys.la $RPM_BUILD_ROOT%{_libdir} |
63406587 AM |
67 | |
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %post -p /sbin/ldconfig | |
72 | %postun -p /sbin/ldconfig | |
73 | ||
74 | %files | |
75 | %defattr(644,root,root,755) | |
76 | %doc *.html CHANGES | |
8e887577 | 77 | %attr(755,root,root) %{_bindir}/* |
8e887577 AM |
78 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* |
79 | ||
80 | %files devel | |
81 | %defattr(644,root,root,755) | |
82 | %attr(755,root,root) %{_libdir}/lib*.so | |
83 | %{_libdir}/lib*.la | |
67c61dd2 | 84 | %{_includedir}/*.h |
8e887577 AM |
85 | |
86 | %files static | |
87 | %defattr(644,root,root,755) | |
88 | %{_libdir}/lib*.a |