]> git.pld-linux.org Git - packages/libesmtp.git/blame - libesmtp.spec
- updated to 1.0.6
[packages/libesmtp.git] / libesmtp.spec
CommitLineData
11b94456 1Summary: SMTP client library
ce08ee8e 2Summary(pl.UTF-8): Biblioteka kliencka SMTP
11b94456 3Name: libesmtp
8bd1f4c8
JB
4Version: 1.0.6
5Release: 1
6License: LGPL v2.1+
11b94456 7Group: Libraries
08b8f211 8#Source0Download: http://www.stafford.uklinux.net/libesmtp/download.html
11b94456 9Source0: http://www.stafford.uklinux.net/libesmtp/%{name}-%{version}.tar.bz2
8bd1f4c8 10# Source0-md5: bf3915e627fd8f35524a8fdfeed979c8
11b94456 11URL: http://www.stafford.uklinux.net/libesmtp/
c5f65402 12BuildRequires: automake
cdb7eb46 13BuildRequires: openssl-devel >= 0.9.7c
11b94456 14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
8f7a0eb8 15
2849f324 16%undefine __cxx
17
8f7a0eb8 18%description
19LibESMTP is a library to manage posting (or submission of) electronic
20mail using SMTP to a preconfigured Mail Transport Agent (MTA) such as
11b94456 21Exim. It may be used as part of a Mail User Agent (MUA) or another
8f7a0eb8 22program that must be able to post electronic mail but where mail
23functionality is not the program's primary purpose.
11b94456 24
d587149c
JR
25%description -l pl.UTF-8
26LibESMTP to biblioteka obsługująca wysyłanie poczty elektronicznej
27przy użyciu SMTP do prekonfigurowanego MTA, np. exima. Może być
28używana jako część MTA lub innego programu, który musi umieć wysyłać
29pocztę.
0f25e8e6 30
11b94456 31%package devel
32Summary: Development resources for libesmtp
ce08ee8e 33Summary(pl.UTF-8): Pliki dla programistów używających libesmtp
11b94456 34Group: Development/Libraries
08b8f211
JB
35Requires: %{name} = %{version}-%{release}
36Requires: openssl-devel >= 0.9.7c
11b94456 37
38%description devel
39Development resources for libesmtp.
40
d587149c
JR
41%description devel -l pl.UTF-8
42Pliki dla programistów używających libesmtp.
0f25e8e6 43
11b94456 44%package static
45Summary: Static libesmtp libraries
ce08ee8e 46Summary(pl.UTF-8): Statyczne biblioteki libesmtp
11b94456 47Group: Development/Libraries
08b8f211 48Requires: %{name}-devel = %{version}-%{release}
11b94456 49
c5f65402 50%description static
11b94456 51Static libesmtp libraries.
52
d587149c 53%description static -l pl.UTF-8
0f25e8e6
JB
54Statyczne biblioteki libesmtp.
55
8cb755bd 56%prep
11b94456 57%setup -q
8f7a0eb8 58
59%build
f1730b4f 60cp -f /usr/share/automake/config.sub .
08b8f211 61%configure \
673a71f1 62 %{?debug:--enable-debug}%{!?debug:--disable-debug} \
08b8f211
JB
63 --enable-etrn \
64 --enable-ntlm \
11b94456 65 --enable-pthreads \
08b8f211 66 --with-auth-plugin-dir=%{_libdir}/esmtp-plugins
11b94456 67%{__make}
68
8f7a0eb8 69%install
70rm -rf $RPM_BUILD_ROOT
11b94456 71
f1730b4f 72%{__make} install \
73 DESTDIR=$RPM_BUILD_ROOT
11b94456 74
8bd1f4c8 75%{__rm} $RPM_BUILD_ROOT%{_libdir}/esmtp-plugins/*.{a,la}
08b8f211 76
8f7a0eb8 77%clean
78rm -rf $RPM_BUILD_ROOT
79
0f25e8e6
JB
80%post -p /sbin/ldconfig
81%postun -p /sbin/ldconfig
82
8f7a0eb8 83%files
11b94456 84%defattr(644,root,root,755)
8bd1f4c8
JB
85%doc AUTHORS ChangeLog NEWS Notes README
86%attr(755,root,root) %{_libdir}/libesmtp.so.*.*.*
87%attr(755,root,root) %ghost %{_libdir}/libesmtp.so.6
11b94456 88%dir %{_libdir}/esmtp-plugins
8bd1f4c8 89%attr(755,root,root) %{_libdir}/esmtp-plugins/sasl-*.so
11b94456 90
91%files devel
92%defattr(644,root,root,755)
11b94456 93%attr(755,root,root) %{_bindir}/libesmtp-config
08b8f211
JB
94%attr(755,root,root) %{_libdir}/libesmtp.so
95%{_libdir}/libesmtp.la
8bd1f4c8
JB
96%{_includedir}/auth-client.h
97%{_includedir}/auth-plugin.h
98%{_includedir}/libesmtp.h
11b94456 99
100%files static
101%defattr(644,root,root,755)
08b8f211 102%{_libdir}/libesmtp.a
This page took 0.110377 seconds and 4 git commands to generate.