]> git.pld-linux.org Git - packages/libetpan.git/blame - libetpan.spec
- added link patch (fixes curl and expat detection with as-needed enforced)
[packages/libetpan.git] / libetpan.spec
CommitLineData
feae084f 1Summary: Portable mail access library
75c3ceac 2Summary(pl.UTF-8): Przenośna biblioteka dostępu do poczty
feae084f 3Name: libetpan
c253b454 4Version: 1.1
12405398 5Release: 2
5419d109 6License: BSD
feae084f 7Group: Libraries
c253b454
JR
8Source0: http://download.sourceforge.net/libetpan/%{name}-%{version}.tar.gz
9# Source0-md5: 6fee60d08506e941642b8fa087e60b07
10Patch0: %{name}-db.patch
12405398 11Patch1: %{name}-link.patch
6a59cfd3 12URL: http://sourceforge.net/projects/libetpan/
12405398 13BuildRequires: autoconf >= 2.61
5419d109 14BuildRequires: automake
12405398
JB
15BuildRequires: curl-devel
16BuildRequires: cyrus-sasl-devel >= 2
feae084f 17BuildRequires: db-devel >= 4
12405398
JB
18BuildRequires: expat-devel
19BuildRequires: liblockfile-devel
5419d109 20BuildRequires: libtool
feae084f 21BuildRequires: openssl-devel
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25The purpose of this mail library is to provide a portable, efficient
26middleware for different kinds of mail access. It will be used for
27low-level mail handling: network protocols (IMAP/NNTP/POP3/SMTP over
28TCP/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
32Celem biblioteki jest udostępnienie przenośnego, efektywnego
33pośrednika dla różnych metod dostępu do poczty. Pozwala na: obsługę
34różnych protokołów sieciowych (IMAP/NNTP/POP3/SMTP przez TCP/IP oraz
12405398
JB
35SSL/TCP/IP), obsługę lokalnych zasobów (mbox/MH/maildir), a także
36analizę wiadomości MIME.
feae084f 37
38%package devel
39Summary: Header files for libEtPan
75c3ceac 40Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libEtPan
feae084f 41Group: Development/Libraries
42Requires: %{name} = %{version}-%{release}
12405398
JB
43Requires: curl-devel
44Requires: cyrus-sasl-devel >= 2
5e083cfa 45Requires: db-devel >= 4
12405398
JB
46Requires: expat-devel
47Requires: liblockfile-devel
5e083cfa 48Requires: openssl-devel
feae084f 49
50%description devel
51Header files for libEtPan library.
52
0f3a945b
JR
53%description devel -l pl.UTF-8
54Pliki nagłówkowe biblioteki libEtPan.
feae084f 55
56%package static
6397dcda 57Summary: Static libEtPan library
75c3ceac 58Summary(pl.UTF-8): Statyczna biblioteka libEtPan
feae084f 59Group: Development/Libraries
60Requires: %{name}-devel = %{version}-%{release}
61
62%description static
63Static libEtPan library.
64
0f3a945b 65%description static -l pl.UTF-8
feae084f 66Statyczna 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
83rm -rf $RPM_BUILD_ROOT
84
85%{__make} install \
86 DESTDIR=$RPM_BUILD_ROOT
87
88%clean
89rm -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
This page took 0.069242 seconds and 4 git commands to generate.