]> git.pld-linux.org Git - packages/libetpan.git/blob - libetpan.spec
- added link patch (fixes curl and expat detection with as-needed enforced)
[packages/libetpan.git] / libetpan.spec
1 Summary:        Portable mail access library
2 Summary(pl.UTF-8):      Przenośna biblioteka dostępu do poczty
3 Name:           libetpan
4 Version:        1.1
5 Release:        2
6 License:        BSD
7 Group:          Libraries
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)
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
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.
37
38 %package devel
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}
43 Requires:       curl-devel
44 Requires:       cyrus-sasl-devel >= 2
45 Requires:       db-devel >= 4
46 Requires:       expat-devel
47 Requires:       liblockfile-devel
48 Requires:       openssl-devel
49
50 %description devel
51 Header files for libEtPan library.
52
53 %description devel -l pl.UTF-8
54 Pliki nagłówkowe biblioteki libEtPan.
55
56 %package static
57 Summary:        Static libEtPan library
58 Summary(pl.UTF-8):      Statyczna biblioteka libEtPan
59 Group:          Development/Libraries
60 Requires:       %{name}-devel = %{version}-%{release}
61
62 %description static
63 Static libEtPan library.
64
65 %description static -l pl.UTF-8
66 Statyczna biblioteka libEtPan.
67
68 %prep
69 %setup -q
70 %patch0 -p1
71 %patch1 -p1
72
73 %build
74 %{__libtoolize}
75 %{__aclocal}
76 %{__autoconf}
77 %{__autoheader}
78 %{__automake}
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)
96 %doc COPYRIGHT ChangeLog NEWS
97 %attr(755,root,root) %{_libdir}/libetpan.so.*.*.*
98 %attr(755,root,root) %ghost %{_libdir}/libetpan.so.16
99
100 %files devel
101 %defattr(644,root,root,755)
102 %doc doc/API/*.htm
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
108
109 %files static
110 %defattr(644,root,root,755)
111 %{_libdir}/libetpan.a
This page took 0.069276 seconds and 3 git commands to generate.