]> git.pld-linux.org Git - packages/libdomainkeys.git/blob - libdomainkeys.spec
0eadb6ea9b47e8308dabc289c5c757f77d596b10
[packages/libdomainkeys.git] / libdomainkeys.spec
1 Summary:        DomainKey Library for email servers & clients
2 Name:           libdomainkeys
3 Version:        0.66
4 Release:        1
5 License:        Yahoo! DomainKeys Public License Agreement v1.1
6 Group:          Libraries
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)
13
14 %description
15 DomainKey Library for email servers & clients.
16
17 %package devel
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
23
24 %description devel
25 Header files for libdomainkeys library.
26
27 %description devel -l pl
28 Pliki nag³ówkowe biblioteki libdomainkeys.
29
30 %package static
31 Summary:        Static libdomainkeys library
32 Summary(pl):    Statyczna biblioteka libdomainkeys
33 Group:          Development/Libraries
34 Requires:       %{name}-devel = %{version}-%{release}
35
36 %description static
37 Static libdomainkeys library.
38
39 %description static -l pl
40 Statyczna biblioteka libdomainkeys.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45
46 %build
47 %{__make} \
48         CC="%{__cc}" \
49         CFLAGS="%{rpmcflags} -DBIND_8_COMPAT"
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}}
55
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}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %post   -p /sbin/ldconfig
64 %postun -p /sbin/ldconfig
65
66 %files
67 %defattr(644,root,root,755)
68 %doc *.html CHANGES
69 %attr(755,root,root) %{_bindir}/*
70 %{_includedir}/*.h
71 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
72
73 %files devel
74 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_libdir}/lib*.so
76 %{_libdir}/lib*.la
77 %dir %{_includedir}/*.h
78
79 %files static
80 %defattr(644,root,root,755)
81 %{_libdir}/lib*.a
This page took 0.070269 seconds and 3 git commands to generate.