|
|
36c6164 |
%define plugindir %{_libdir}/esmtp-plugins
|
|
|
36c6164 |
|
|
|
3d0848a |
Summary: SMTP client library
|
|
|
3d0848a |
Name: libesmtp
|
|
|
3d0848a |
Version: 1.0.4
|
|
|
49b276f |
Release: 5%{?dist}
|
|
|
3d0848a |
License: LGPLv2+
|
|
|
3d0848a |
Group: System Environment/Libraries
|
|
|
3d0848a |
Source: http://www.stafford.uklinux.net/libesmtp/%{name}-%{version}.tar.bz2
|
|
|
3d0848a |
Patch1: libesmtp-build.patch
|
|
|
3d0848a |
URL: http://www.stafford.uklinux.net/libesmtp/
|
|
|
36c6164 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
3d0848a |
BuildRequires: openssl-devel pkgconfig
|
|
|
36c6164 |
|
|
|
36c6164 |
%description
|
|
|
36c6164 |
LibESMTP is a library to manage posting (or submission of) electronic
|
|
|
36c6164 |
mail using SMTP to a preconfigured Mail Transport Agent (MTA) such as
|
|
|
36c6164 |
Exim. It may be used as part of a Mail User Agent (MUA) or another
|
|
|
36c6164 |
program that must be able to post electronic mail but where mail
|
|
|
36c6164 |
functionality is not the program's primary purpose.
|
|
|
36c6164 |
|
|
|
36c6164 |
%package devel
|
|
|
36c6164 |
Summary: Headers and development libraries for libESMTP
|
|
|
3d0848a |
# example file is under the GPLv2+
|
|
|
3d0848a |
License: LGPLv2+ and GPLv2+
|
|
|
36c6164 |
Group: Development/Libraries
|
|
|
ea97234 |
Requires: %{name} = %{version}-%{release}, openssl-devel
|
|
|
36c6164 |
|
|
|
36c6164 |
%description devel
|
|
|
36c6164 |
LibESMTP is a library to manage posting (or submission of) electronic
|
|
|
36c6164 |
mail using SMTP to a preconfigured Mail Transport Agent (MTA) such as
|
|
|
36c6164 |
Exim.
|
|
|
36c6164 |
|
|
|
36c6164 |
The libesmtp-devel package contains headers and development libraries
|
|
|
36c6164 |
necessary for building programs against libesmtp.
|
|
|
36c6164 |
|
|
|
36c6164 |
%prep
|
|
|
36c6164 |
%setup -q
|
|
|
36c6164 |
%patch1 -p1 -b .build
|
|
|
e69d845 |
#%patch2 -p1 -b .ssl
|
|
|
36c6164 |
|
|
|
3d0848a |
# Keep rpmlint happy about libesmtp-debuginfo...
|
|
|
3d0848a |
chmod a-x htable.c
|
|
|
3d0848a |
|
|
|
36c6164 |
%build
|
|
|
36c6164 |
|
|
|
36c6164 |
if pkg-config openssl ; then
|
|
|
36c6164 |
export CFLAGS="$CFLAGS $RPM_OPT_FLAGS `pkg-config --cflags openssl`"
|
|
|
36c6164 |
export LDFLAGS="$LDFLAGS `pkg-config --libs-only-L openssl`"
|
|
|
36c6164 |
fi
|
|
|
36c6164 |
%configure --with-auth-plugin-dir=%{plugindir} --enable-pthreads \
|
|
|
36c6164 |
--enable-require-all-recipients --enable-debug \
|
|
|
44ee0b0 |
--enable-etrn --disable-isoc --disable-more-warnings --disable-static
|
|
|
495e299 |
make %{?_smp_mflags}
|
|
|
36c6164 |
|
|
|
36c6164 |
%install
|
|
|
36c6164 |
rm -rf $RPM_BUILD_ROOT
|
|
|
3d0848a |
make DESTDIR=$RPM_BUILD_ROOT install INSTALL='install -p'
|
|
|
3d0848a |
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
36c6164 |
|
|
|
36c6164 |
|
|
|
36c6164 |
%clean
|
|
|
36c6164 |
rm -rf $RPM_BUILD_ROOT
|
|
|
36c6164 |
|
|
|
36c6164 |
%post -p /sbin/ldconfig
|
|
|
36c6164 |
|
|
|
36c6164 |
%postun -p /sbin/ldconfig
|
|
|
36c6164 |
|
|
|
36c6164 |
%files
|
|
|
495e299 |
%defattr(-,root,root,-)
|
|
|
c5b8b52 |
%doc AUTHORS COPYING.LIB NEWS Notes README
|
|
|
36c6164 |
%{_libdir}/libesmtp.so.*
|
|
|
36c6164 |
%{plugindir}
|
|
|
36c6164 |
|
|
|
36c6164 |
%files devel
|
|
|
495e299 |
%defattr(-,root,root,-)
|
|
|
c5b8b52 |
%doc examples COPYING
|
|
|
36c6164 |
%{_bindir}/libesmtp-config
|
|
|
36c6164 |
%{_prefix}/include/*
|
|
|
36c6164 |
%{_libdir}/libesmtp.so
|
|
|
36c6164 |
|
|
|
36c6164 |
%changelog
|
|
|
49b276f |
* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.0.4-5
|
|
|
49b276f |
- Rebuild for deps
|
|
|
49b276f |
|
|
|
44ee0b0 |
* Sun Nov 18 2007 Patrice Dumas <pertusus@free.fr> - 1.0.4-4
|
|
|
44ee0b0 |
- use --disable-static
|
|
|
44ee0b0 |
|
|
|
3d0848a |
* Thu Nov 15 2007 Pawel Salek <pawsa@theochem.kth.se> - 1.0.4-3
|
|
|
3d0848a |
- drop static libs as suggested in bug 377731.
|
|
|
3d0848a |
|
|
|
e69d845 |
* Mon Sep 11 2006 Pawel Salek <pawsa@theochem.kth.se> - 1.0.4-2
|
|
|
e69d845 |
- rebuild for FC6.
|
|
|
e69d845 |
|
|
|
c5b8b52 |
* Fri Mar 24 2006 Pawel Salek <pawsa@theochem.kth.se> - 1.0.4-1
|
|
|
c5b8b52 |
- Update to 1.0.4 - redo build and ssl patches.
|
|
|
c5b8b52 |
|
|
|
c71c45c |
* Wed Mar 1 2006 Pawel Salek <pawsa@theochem.kth.se> - 1.0.3r1-8
|
|
|
c71c45c |
- Rebuild for Fedora Extras 5
|
|
|
c71c45c |
|
|
|
495e299 |
* Sun Dec 4 2005 Pawel Salek <pawsa@theochem.kth.se> - 1.0.3r1-7
|
|
|
495e299 |
- Fix bug 173332 completely, including licence issues.
|
|
|
495e299 |
|
|
|
ea97234 |
* Thu Nov 17 2005 Pawel Salek <pawsa@theochem.kth.se> - 1.0.3r1-6
|
|
|
ea97234 |
- fix #173332.
|
|
|
ea97234 |
|
|
|
89aa03a |
* Tue Nov 15 2005 Dan Williams <dcbw@redhat.com> - 1.0.3r1-5
|
|
|
89aa03a |
- rebuild against newer crypto libs
|
|
|
89aa03a |
|
|
|
be6bcb2 |
* Wed Oct 19 2005 Pawel Salek <pawsa@theochem.kth.se> - 1.0.3r1-4
|
|
|
be6bcb2 |
- fix crashes on certificates with subjectAltName extension. Fix #166844.
|
|
|
be6bcb2 |
|
|
|
36c6164 |
* Sun Jun 12 2005 Pawel Salek <pawsa@theochem.kth.se> - 1.0.3r1-3
|
|
|
36c6164 |
- Add libesmtp-build.patch - fix building under FC4.
|
|
|
36c6164 |
|
|
|
36c6164 |
* Thu Sep 30 2004 Miloslav Trmac <mitr@redhat.com> - 1.0.3r1-2
|
|
|
36c6164 |
- Include libesmtp-config in libesmtp-devel (#125426, patch by Robert Scheck)
|
|
|
36c6164 |
|
|
|
36c6164 |
* Tue Jul 13 2004 John Dennis <jdennis@redhat.com> 1.0.3r1-1
|
|
|
36c6164 |
- bring up to latest upstream release
|
|
|
36c6164 |
|
|
|
36c6164 |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
36c6164 |
- rebuilt
|
|
|
36c6164 |
|
|
|
36c6164 |
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
36c6164 |
- rebuilt
|
|
|
36c6164 |
|
|
|
36c6164 |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
36c6164 |
- rebuilt
|
|
|
36c6164 |
|
|
|
36c6164 |
* Thu Jan 29 2004 Bill Nottingham <notting@redhat.com> 1.0.2-1
|
|
|
36c6164 |
- upgrade to 1.0.2 (#113894)
|
|
|
36c6164 |
|
|
|
36c6164 |
* Fri Oct 3 2003 Bill Nottingham <notting@redhat.com> 1.0.1-1
|
|
|
36c6164 |
- update to 1.0.1, rebuild to fix some broken 64-bit libs
|
|
|
36c6164 |
|
|
|
36c6164 |
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
36c6164 |
- rebuilt
|
|
|
36c6164 |
|
|
|
36c6164 |
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
36c6164 |
- rebuilt
|
|
|
36c6164 |
|
|
|
36c6164 |
* Tue Jan 7 2003 Nalin Dahyabhai <nalin@redhat.com> 0.8.12-4
|
|
|
36c6164 |
- include compilation flags for openssl as defined for pkg-config
|
|
|
36c6164 |
- don't blow up on compile because key schedules aren't arrays
|
|
|
36c6164 |
|
|
|
36c6164 |
* Tue Nov 5 2002 Bill Nottingham <notting@redhat.com> 0.8.12-3
|
|
|
36c6164 |
- build on various platforms
|
|
|
36c6164 |
|
|
|
36c6164 |
* Tue Jul 23 2002 Bill Nottingham <notting@redhat.com> 0.8.12-2
|
|
|
36c6164 |
- fix broken lib (no pthread dependency)
|