1 Summary: DomainKey Library for email servers & clients
2 Summary(pl.UTF-8): Biblioteka DomainKey dla serwerów i klientów poczty elektronicznej
6 License: Yahoo! DomainKeys Public License Agreement v1.1
8 Source0: http://dl.sourceforge.net/domainkeys/%{name}-%{version}.tar.gz
9 # Source0-md5: c9fe164d6296e7ad5468580875ac4f2e
10 Patch0: %{name}-libtool.patch
11 Patch1: %{name}-segv.patch
12 Patch2: %{name}-dknewkey.patch
13 URL: http://domainkeys.sourceforge.net/
14 BuildRequires: openssl-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 DomainKey Library for email servers & clients.
21 %description -l pl.UTF-8
22 Biblioteka DomainKey dla serwerów i klientów poczty elektronicznej.
25 Summary: Header files for libdomainkeys library
26 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libdomainkeys
27 Group: Development/Libraries
28 Requires: %{name} = %{version}-%{release}
29 Requires: openssl-devel
32 Header files for libdomainkeys library.
34 %description devel -l pl.UTF-8
35 Pliki nagłówkowe biblioteki libdomainkeys.
38 Summary: Static libdomainkeys library
39 Summary(pl.UTF-8): Statyczna biblioteka libdomainkeys
40 Group: Development/Libraries
41 Requires: %{name}-devel = %{version}-%{release}
44 Static libdomainkeys library.
46 %description static -l pl.UTF-8
47 Statyczna biblioteka libdomainkeys.
58 CFLAGS="%{rpmcflags} -DBIND_8_COMPAT"
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}}
64 libtool install dknewkey dktest $RPM_BUILD_ROOT%{_bindir}
65 install dktrace.h domainkeys.h $RPM_BUILD_ROOT%{_includedir}
66 libtool install libdomainkeys.la $RPM_BUILD_ROOT%{_libdir}
69 rm -rf $RPM_BUILD_ROOT
71 %post -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
75 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_bindir}/*
78 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_libdir}/lib*.so
87 %defattr(644,root,root,755)