]> git.pld-linux.org Git - packages/libdomainkeys.git/blame - libdomainkeys.spec
- BR: libstdc++-devel, libtool
[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
afbf64af 5Release: 6
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 13URL: http://domainkeys.sourceforge.net/
c0562003 14BuildRequires: libstdc++-devel
15BuildRequires: libtool
63406587 16BuildRequires: openssl-devel
27c61924 17Requires: mktemp
63406587
AM
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21DomainKey Library for email servers & clients.
22
4338d475
JR
23%description -l pl.UTF-8
24Biblioteka DomainKey dla serwerów i klientów poczty elektronicznej.
e9044770 25
63406587
AM
26%package devel
27Summary: Header files for libdomainkeys library
4067481d 28Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libdomainkeys
63406587
AM
29Group: Development/Libraries
30Requires: %{name} = %{version}-%{release}
31Requires: openssl-devel
32
33%description devel
34Header files for libdomainkeys library.
35
4338d475
JR
36%description devel -l pl.UTF-8
37Pliki nagłówkowe biblioteki libdomainkeys.
63406587
AM
38
39%package static
40Summary: Static libdomainkeys library
4067481d 41Summary(pl.UTF-8): Statyczna biblioteka libdomainkeys
63406587
AM
42Group: Development/Libraries
43Requires: %{name}-devel = %{version}-%{release}
44
45%description static
46Static libdomainkeys library.
47
4338d475 48%description static -l pl.UTF-8
63406587
AM
49Statyczna biblioteka libdomainkeys.
50
51%prep
52%setup -q
8e887577 53%patch0 -p1
afb72495 54%patch1 -p1
27c61924 55%patch2 -p1
63406587
AM
56
57%build
58%{__make} \
59 CC="%{__cc}" \
60 CFLAGS="%{rpmcflags} -DBIND_8_COMPAT"
61
62%install
63rm -rf $RPM_BUILD_ROOT
8e887577 64install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}}
63406587 65
afbf64af 66libtool --mode=install install dknewkey dktest $RPM_BUILD_ROOT%{_bindir}
c05c53c3 67install dktrace.h domainkeys.h $RPM_BUILD_ROOT%{_includedir}
afbf64af 68libtool --mode=install install libdomainkeys.la $RPM_BUILD_ROOT%{_libdir}
63406587
AM
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%post -p /sbin/ldconfig
74%postun -p /sbin/ldconfig
75
76%files
77%defattr(644,root,root,755)
78%doc *.html CHANGES
8e887577 79%attr(755,root,root) %{_bindir}/*
8e887577
AM
80%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
81
82%files devel
83%defattr(644,root,root,755)
84%attr(755,root,root) %{_libdir}/lib*.so
85%{_libdir}/lib*.la
67c61dd2 86%{_includedir}/*.h
8e887577
AM
87
88%files static
89%defattr(644,root,root,755)
90%{_libdir}/lib*.a
This page took 0.043036 seconds and 4 git commands to generate.