]> git.pld-linux.org Git - packages/libdomainkeys.git/blob - libdomainkeys.spec
- tabs in preamble
[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.68
5 Release:        3
6 License:        Yahoo! DomainKeys Public License Agreement v1.1
7 Group:          Libraries
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
15 Requires:       mktemp
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 DomainKey Library for email servers & clients.
20
21 %description -l pl.UTF-8
22 Biblioteka DomainKey dla serwerów i klientów poczty elektronicznej.
23
24 %package devel
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
30
31 %description devel
32 Header files for libdomainkeys library.
33
34 %description devel -l pl.UTF-8
35 Pliki nagłówkowe biblioteki libdomainkeys.
36
37 %package static
38 Summary:        Static libdomainkeys library
39 Summary(pl.UTF-8):      Statyczna biblioteka libdomainkeys
40 Group:          Development/Libraries
41 Requires:       %{name}-devel = %{version}-%{release}
42
43 %description static
44 Static libdomainkeys library.
45
46 %description static -l pl.UTF-8
47 Statyczna biblioteka libdomainkeys.
48
49 %prep
50 %setup -q
51 %patch0 -p1
52 %patch1 -p1
53 %patch2 -p1
54
55 %build
56 %{__make} \
57         CC="%{__cc}" \
58         CFLAGS="%{rpmcflags} -DBIND_8_COMPAT"
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}}
63
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}
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
77 %attr(755,root,root) %{_bindir}/*
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
84 %{_includedir}/*.h
85
86 %files static
87 %defattr(644,root,root,755)
88 %{_libdir}/lib*.a
This page took 0.090874 seconds and 3 git commands to generate.