]>
Commit | Line | Data |
---|---|---|
feae084f | 1 | Summary: Portable mail access library |
75c3ceac | 2 | Summary(pl.UTF-8): Przenośna biblioteka dostępu do poczty |
feae084f | 3 | Name: libetpan |
c253b454 | 4 | Version: 1.1 |
12405398 | 5 | Release: 2 |
5419d109 | 6 | License: BSD |
feae084f | 7 | Group: Libraries |
c253b454 JR |
8 | Source0: http://download.sourceforge.net/libetpan/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 6fee60d08506e941642b8fa087e60b07 | |
10 | Patch0: %{name}-db.patch | |
12405398 | 11 | Patch1: %{name}-link.patch |
6a59cfd3 | 12 | URL: http://sourceforge.net/projects/libetpan/ |
12405398 | 13 | BuildRequires: autoconf >= 2.61 |
5419d109 | 14 | BuildRequires: automake |
12405398 JB |
15 | BuildRequires: curl-devel |
16 | BuildRequires: cyrus-sasl-devel >= 2 | |
feae084f | 17 | BuildRequires: db-devel >= 4 |
12405398 JB |
18 | BuildRequires: expat-devel |
19 | BuildRequires: liblockfile-devel | |
5419d109 | 20 | BuildRequires: libtool |
feae084f | 21 | BuildRequires: openssl-devel |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
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. | |
30 | ||
0f3a945b JR |
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 | |
12405398 JB |
35 | SSL/TCP/IP), obsługę lokalnych zasobów (mbox/MH/maildir), a także |
36 | analizę wiadomości MIME. | |
feae084f | 37 | |
38 | %package devel | |
39 | Summary: Header files for libEtPan | |
75c3ceac | 40 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libEtPan |
feae084f | 41 | Group: Development/Libraries |
42 | Requires: %{name} = %{version}-%{release} | |
12405398 JB |
43 | Requires: curl-devel |
44 | Requires: cyrus-sasl-devel >= 2 | |
5e083cfa | 45 | Requires: db-devel >= 4 |
12405398 JB |
46 | Requires: expat-devel |
47 | Requires: liblockfile-devel | |
5e083cfa | 48 | Requires: openssl-devel |
feae084f | 49 | |
50 | %description devel | |
51 | Header files for libEtPan library. | |
52 | ||
0f3a945b JR |
53 | %description devel -l pl.UTF-8 |
54 | Pliki nagłówkowe biblioteki libEtPan. | |
feae084f | 55 | |
56 | %package static | |
6397dcda | 57 | Summary: Static libEtPan library |
75c3ceac | 58 | Summary(pl.UTF-8): Statyczna biblioteka libEtPan |
feae084f | 59 | Group: Development/Libraries |
60 | Requires: %{name}-devel = %{version}-%{release} | |
61 | ||
62 | %description static | |
63 | Static libEtPan library. | |
64 | ||
0f3a945b | 65 | %description static -l pl.UTF-8 |
feae084f | 66 | Statyczna biblioteka libEtPan. |
67 | ||
68 | %prep | |
69 | %setup -q | |
c253b454 | 70 | %patch0 -p1 |
12405398 | 71 | %patch1 -p1 |
feae084f | 72 | |
73 | %build | |
5419d109 MB |
74 | %{__libtoolize} |
75 | %{__aclocal} | |
0a0b0156 | 76 | %{__autoconf} |
12405398 | 77 | %{__autoheader} |
5419d109 | 78 | %{__automake} |
feae084f | 79 | %configure |
80 | %{__make} | |
81 | ||
82 | %install | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %{__make} install \ | |
86 | DESTDIR=$RPM_BUILD_ROOT | |
87 | ||
88 | %clean | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
91 | %post -p /sbin/ldconfig | |
92 | %postun -p /sbin/ldconfig | |
93 | ||
94 | %files | |
95 | %defattr(644,root,root,755) | |
12405398 | 96 | %doc COPYRIGHT ChangeLog NEWS |
5419d109 | 97 | %attr(755,root,root) %{_libdir}/libetpan.so.*.*.* |
05b6df0c | 98 | %attr(755,root,root) %ghost %{_libdir}/libetpan.so.16 |
feae084f | 99 | |
100 | %files devel | |
101 | %defattr(644,root,root,755) | |
66d53655 | 102 | %doc doc/API/*.htm |
feae084f | 103 | %attr(755,root,root) %{_bindir}/libetpan-config |
5419d109 MB |
104 | %attr(755,root,root) %{_libdir}/libetpan.so |
105 | %{_libdir}/libetpan.la | |
106 | %{_includedir}/libetpan | |
12405398 | 107 | %{_includedir}/libetpan.h |
feae084f | 108 | |
109 | %files static | |
110 | %defattr(644,root,root,755) | |
5419d109 | 111 | %{_libdir}/libetpan.a |