]> git.pld-linux.org Git - packages/libdomainkeys.git/blame - libdomainkeys.spec
- tabs in preamble
[packages/libdomainkeys.git] / libdomainkeys.spec
CommitLineData
63406587 1Summary: DomainKey Library for email servers & clients
4067481d 2Summary(pl.UTF-8): Biblioteka DomainKey dla serwerów i klientów poczty elektronicznej
63406587 3Name: libdomainkeys
14848c0d 4Version: 0.68
f55e9388 5Release: 3
63406587
AM
6License: Yahoo! DomainKeys Public License Agreement v1.1
7Group: Libraries
8Source0: http://dl.sourceforge.net/domainkeys/%{name}-%{version}.tar.gz
14848c0d 9# Source0-md5: c9fe164d6296e7ad5468580875ac4f2e
8e887577 10Patch0: %{name}-libtool.patch
afb72495 11Patch1: %{name}-segv.patch
27c61924 12Patch2: %{name}-dknewkey.patch
63406587
AM
13URL: http://domainkeys.sourceforge.net/
14BuildRequires: openssl-devel
27c61924 15Requires: mktemp
63406587
AM
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19DomainKey Library for email servers & clients.
20
4338d475
JR
21%description -l pl.UTF-8
22Biblioteka DomainKey dla serwerów i klientów poczty elektronicznej.
e9044770 23
63406587
AM
24%package devel
25Summary: Header files for libdomainkeys library
4067481d 26Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libdomainkeys
63406587
AM
27Group: Development/Libraries
28Requires: %{name} = %{version}-%{release}
29Requires: openssl-devel
30
31%description devel
32Header files for libdomainkeys library.
33
4338d475
JR
34%description devel -l pl.UTF-8
35Pliki nagłówkowe biblioteki libdomainkeys.
63406587
AM
36
37%package static
38Summary: Static libdomainkeys library
4067481d 39Summary(pl.UTF-8): Statyczna biblioteka libdomainkeys
63406587
AM
40Group: Development/Libraries
41Requires: %{name}-devel = %{version}-%{release}
42
43%description static
44Static libdomainkeys library.
45
4338d475 46%description static -l pl.UTF-8
63406587
AM
47Statyczna biblioteka libdomainkeys.
48
49%prep
50%setup -q
8e887577 51%patch0 -p1
afb72495 52%patch1 -p1
27c61924 53%patch2 -p1
63406587
AM
54
55%build
56%{__make} \
57 CC="%{__cc}" \
58 CFLAGS="%{rpmcflags} -DBIND_8_COMPAT"
59
60%install
61rm -rf $RPM_BUILD_ROOT
8e887577 62install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}}
63406587 63
5eee392b 64libtool install dknewkey dktest $RPM_BUILD_ROOT%{_bindir}
c05c53c3 65install dktrace.h domainkeys.h $RPM_BUILD_ROOT%{_includedir}
8e887577 66libtool install libdomainkeys.la $RPM_BUILD_ROOT%{_libdir}
63406587
AM
67
68%clean
69rm -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
8e887577 77%attr(755,root,root) %{_bindir}/*
8e887577
AM
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
67c61dd2 84%{_includedir}/*.h
8e887577
AM
85
86%files static
87%defattr(644,root,root,755)
88%{_libdir}/lib*.a
This page took 0.087342 seconds and 4 git commands to generate.