]> git.pld-linux.org Git - packages/libdomainkeys.git/blob - libdomainkeys.spec
rebuild with openssl 3.0.0
[packages/libdomainkeys.git] / libdomainkeys.spec
1 Summary:        DomainKey Library for email servers & clients
2 Summary(pl.UTF-8):      Biblioteka DomainKey dla serwerów i klientów poczty elektronicznej
3 Name:           libdomainkeys
4 Version:        0.69
5 Release:        4
6 License:        Yahoo! DomainKeys Public License Agreement v1.1
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/domainkeys/%{name}-%{version}.tar.gz
9 # Source0-md5:  15ec065c6f645a0b9fde3f1ff7681127
10 Patch0:         %{name}-libtool.patch
11 Patch1:         %{name}-segv.patch
12 Patch2:         %{name}-dknewkey.patch
13 Patch3:         openssl.patch
14 URL:            http://domainkeys.sourceforge.net/
15 BuildRequires:  libtool >= 2:1.5
16 BuildRequires:  openssl-devel
17 Requires:       mktemp
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 DomainKey Library for email servers & clients.
22
23 %description -l pl.UTF-8
24 Biblioteka DomainKey dla serwerów i klientów poczty elektronicznej.
25
26 %package devel
27 Summary:        Header files for libdomainkeys library
28 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libdomainkeys
29 Group:          Development/Libraries
30 Requires:       %{name} = %{version}-%{release}
31 Requires:       openssl-devel
32
33 %description devel
34 Header files for libdomainkeys library.
35
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe biblioteki libdomainkeys.
38
39 %package static
40 Summary:        Static libdomainkeys library
41 Summary(pl.UTF-8):      Statyczna biblioteka libdomainkeys
42 Group:          Development/Libraries
43 Requires:       %{name}-devel = %{version}-%{release}
44
45 %description static
46 Static libdomainkeys library.
47
48 %description static -l pl.UTF-8
49 Statyczna biblioteka libdomainkeys.
50
51 %prep
52 %setup -q
53 %patch0 -p1
54 %patch1 -p1
55 %patch2 -p1
56 %patch3 -p1
57
58 %build
59 %{__make} \
60         CC="%{__cc}" \
61         CFLAGS="%{rpmcflags} %{rpmcppflags} -DBIND_8_COMPAT" \
62         LDFLAGS="%{rpmldflags}"
63         libdir=%{_libdir}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}}
68
69 libtool --mode=install install libdomainkeys.la $RPM_BUILD_ROOT%{_libdir}
70 libtool --mode=install install dknewkey dktest $RPM_BUILD_ROOT%{_bindir}
71 cp -p dktrace.h domainkeys.h $RPM_BUILD_ROOT%{_includedir}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files
80 %defattr(644,root,root,755)
81 %doc *.html CHANGES
82 %attr(755,root,root) %{_bindir}/dknewkey
83 %attr(755,root,root) %{_bindir}/dktest
84 %attr(755,root,root) %{_libdir}/libdomainkeys.so.*.*.*
85 %attr(755,root,root) %ghost %{_libdir}/libdomainkeys.so.0
86
87 %files devel
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/libdomainkeys.so
90 %{_libdir}/libdomainkeys.la
91 %{_includedir}/dktrace.h
92 %{_includedir}/domainkeys.h
93
94 %files static
95 %defattr(644,root,root,755)
96 %{_libdir}/libdomainkeys.a
This page took 0.066022 seconds and 3 git commands to generate.