1 Summary: DomainKey Library for email servers & clients
5 License: Yahoo! DomainKeys Public License Agreement v1.1
7 Source0: http://dl.sourceforge.net/domainkeys/%{name}-%{version}.tar.gz
8 # Source0-md5: 38ee9fa346a837662f06e7e098bfb7da
9 Patch0: %{name}-libtool.patch
10 URL: http://domainkeys.sourceforge.net/
11 BuildRequires: openssl-devel
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 DomainKey Library for email servers & clients.
18 Summary: Header files for libdomainkeys library
19 Summary(pl): Pliki nag³ówkowe biblioteki libdomainkeys
20 Group: Development/Libraries
21 Requires: %{name} = %{version}-%{release}
22 Requires: openssl-devel
25 Header files for libdomainkeys library.
27 %description devel -l pl
28 Pliki nag³ówkowe biblioteki libdomainkeys.
31 Summary: Static libdomainkeys library
32 Summary(pl): Statyczna biblioteka libdomainkeys
33 Group: Development/Libraries
34 Requires: %{name}-devel = %{version}-%{release}
37 Static libdomainkeys library.
39 %description static -l pl
40 Statyczna biblioteka libdomainkeys.
49 CFLAGS="%{rpmcflags} -DBIND_8_COMPAT"
52 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}}
56 install dknewkey dktest $RPM_BUILD_ROOT%{_bindir}
57 install domainkeys.h $RPM_BUILD_ROOT%{_includedir}
58 libtool install libdomainkeys.la $RPM_BUILD_ROOT%{_libdir}
61 rm -rf $RPM_BUILD_ROOT
63 %post -p /sbin/ldconfig
64 %postun -p /sbin/ldconfig
67 %defattr(644,root,root,755)
69 %attr(755,root,root) %{_bindir}/*
71 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
74 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_libdir}/lib*.so
77 %dir %{_includedir}/*.h
80 %defattr(644,root,root,755)