1 Summary: Portable mail access library
2 Summary(pl.UTF-8): Przenośna biblioteka dostępu do poczty
8 Source0: http://download.sourceforge.net/libetpan/%{name}-%{version}.tar.gz
9 # Source0-md5: 6fee60d08506e941642b8fa087e60b07
10 Patch0: %{name}-db.patch
11 Patch1: %{name}-link.patch
12 URL: http://sourceforge.net/projects/libetpan/
13 BuildRequires: autoconf >= 2.61
14 BuildRequires: automake
15 BuildRequires: curl-devel
16 BuildRequires: cyrus-sasl-devel >= 2
17 BuildRequires: db-devel >= 4
18 BuildRequires: expat-devel
19 BuildRequires: liblockfile-devel
20 BuildRequires: libtool
21 BuildRequires: openssl-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 The purpose of this mail library is to provide a portable, efficient
26 middleware for different kinds of mail access. It will be used for
27 low-level mail handling: network protocols (IMAP/NNTP/POP3/SMTP over
28 TCP/IP and SSL/TCP/IP, already implemented), local storage
29 (mbox/MH/maildir), message / MIME parser.
31 %description -l pl.UTF-8
32 Celem biblioteki jest udostępnienie przenośnego, efektywnego
33 pośrednika dla różnych metod dostępu do poczty. Pozwala na: obsługę
34 różnych protokołów sieciowych (IMAP/NNTP/POP3/SMTP przez TCP/IP oraz
35 SSL/TCP/IP), obsługę lokalnych zasobów (mbox/MH/maildir), a także
36 analizę wiadomości MIME.
39 Summary: Header files for libEtPan
40 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libEtPan
41 Group: Development/Libraries
42 Requires: %{name} = %{version}-%{release}
44 Requires: cyrus-sasl-devel >= 2
45 Requires: db-devel >= 4
47 Requires: liblockfile-devel
48 Requires: openssl-devel
51 Header files for libEtPan library.
53 %description devel -l pl.UTF-8
54 Pliki nagłówkowe biblioteki libEtPan.
57 Summary: Static libEtPan library
58 Summary(pl.UTF-8): Statyczna biblioteka libEtPan
59 Group: Development/Libraries
60 Requires: %{name}-devel = %{version}-%{release}
63 Static libEtPan library.
65 %description static -l pl.UTF-8
66 Statyczna biblioteka libEtPan.
83 rm -rf $RPM_BUILD_ROOT
86 DESTDIR=$RPM_BUILD_ROOT
89 rm -rf $RPM_BUILD_ROOT
91 %post -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
95 %defattr(644,root,root,755)
96 %doc COPYRIGHT ChangeLog NEWS
97 %attr(755,root,root) %{_libdir}/libetpan.so.*.*.*
98 %attr(755,root,root) %ghost %{_libdir}/libetpan.so.16
101 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_bindir}/libetpan-config
104 %attr(755,root,root) %{_libdir}/libetpan.so
105 %{_libdir}/libetpan.la
106 %{_includedir}/libetpan
107 %{_includedir}/libetpan.h
110 %defattr(644,root,root,755)
111 %{_libdir}/libetpan.a