|
|
@ -3,15 +3,15 @@
|
|
|
|
Summary: SMTP client library
|
|
|
|
Summary: SMTP client library
|
|
|
|
Name: libesmtp
|
|
|
|
Name: libesmtp
|
|
|
|
Version: 1.0.4
|
|
|
|
Version: 1.0.4
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 3%{?dist}
|
|
|
|
License: LGPL
|
|
|
|
License: LGPLv2+
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Source: http://www.stafford.uklinux.net/libesmtp/%{name}-%{version}.tar.bz2
|
|
|
|
Source: http://www.stafford.uklinux.net/libesmtp/%{name}-%{version}.tar.bz2
|
|
|
|
Patch1: libesmtp-build.patch
|
|
|
|
Patch1: libesmtp-build.patch
|
|
|
|
Patch2: libesmtp-1.0.4-ssl.patch
|
|
|
|
Patch2: libesmtp-1.0.4-ssl.patch
|
|
|
|
URL: http://www.stafford.uklinux.net/libesmtp/
|
|
|
|
URL: http://www.stafford.uklinux.net/libesmtp/
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: openssl-devel pkgconfig automake libtool
|
|
|
|
BuildRequires: openssl-devel pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
LibESMTP is a library to manage posting (or submission of) electronic
|
|
|
|
LibESMTP is a library to manage posting (or submission of) electronic
|
|
|
@ -22,8 +22,9 @@ functionality is not the program's primary purpose.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Headers and development libraries for libESMTP
|
|
|
|
Summary: Headers and development libraries for libESMTP
|
|
|
|
|
|
|
|
# example file is under the GPLv2+
|
|
|
|
|
|
|
|
License: LGPLv2+ and GPLv2+
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: LGPL/GPL
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}, openssl-devel
|
|
|
|
Requires: %{name} = %{version}-%{release}, openssl-devel
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
@ -39,22 +40,25 @@ necessary for building programs against libesmtp.
|
|
|
|
%patch1 -p1 -b .build
|
|
|
|
%patch1 -p1 -b .build
|
|
|
|
#%patch2 -p1 -b .ssl
|
|
|
|
#%patch2 -p1 -b .ssl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Keep rpmlint happy about libesmtp-debuginfo...
|
|
|
|
|
|
|
|
chmod a-x htable.c
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
|
if pkg-config openssl ; then
|
|
|
|
if pkg-config openssl ; then
|
|
|
|
export CFLAGS="$CFLAGS $RPM_OPT_FLAGS `pkg-config --cflags openssl`"
|
|
|
|
export CFLAGS="$CFLAGS $RPM_OPT_FLAGS `pkg-config --cflags openssl`"
|
|
|
|
export CPPFLAGS="$CPPFLAGS `pkg-config --cflags-only-I openssl`"
|
|
|
|
|
|
|
|
export LDFLAGS="$LDFLAGS `pkg-config --libs-only-L openssl`"
|
|
|
|
export LDFLAGS="$LDFLAGS `pkg-config --libs-only-L openssl`"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
%configure --with-auth-plugin-dir=%{plugindir} --enable-pthreads \
|
|
|
|
%configure --with-auth-plugin-dir=%{plugindir} --enable-pthreads \
|
|
|
|
--enable-require-all-recipients --enable-debug \
|
|
|
|
--enable-require-all-recipients --enable-debug \
|
|
|
|
--enable-etrn
|
|
|
|
--enable-etrn --disable-isoc --disable-more-warnings
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install INSTALL='install -p'
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
|
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
|
|
|
|
|
rm $RPM_BUILD_ROOT/%{plugindir}/*.a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%clean
|
|
|
@ -79,6 +83,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{_libdir}/libesmtp.a
|
|
|
|
%{_libdir}/libesmtp.a
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Nov 15 2007 Pawel Salek <pawsa@theochem.kth.se> - 1.0.4-3
|
|
|
|
|
|
|
|
- drop static libs as suggested in bug 377731.
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 11 2006 Pawel Salek <pawsa@theochem.kth.se> - 1.0.4-2
|
|
|
|
* Mon Sep 11 2006 Pawel Salek <pawsa@theochem.kth.se> - 1.0.4-2
|
|
|
|
- rebuild for FC6.
|
|
|
|
- rebuild for FC6.
|
|
|
|
|
|
|
|
|
|
|
@ -139,31 +146,3 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 23 2002 Bill Nottingham <notting@redhat.com> 0.8.12-2
|
|
|
|
* Tue Jul 23 2002 Bill Nottingham <notting@redhat.com> 0.8.12-2
|
|
|
|
- fix broken lib (no pthread dependency)
|
|
|
|
- fix broken lib (no pthread dependency)
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2002 Bill Nottingham <notting@redhat.com> 0.8.12-1
|
|
|
|
|
|
|
|
- update to 0.8.12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 30 2001 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
|
|
|
- fix assertion failure when sending mail (#52940)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 20 2001 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
|
|
|
- update to 0.8.4 (fixes CRAM-MD5, #52097)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 30 2001 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
|
|
|
- don't enable starttls (not fully tested, at request of author)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2001 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
|
|
|
- rebuild, openssl weirdness
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 23 2001 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
|
|
|
- initial build, clean up included spec file
|
|
|
|
|
|
|
|
- add %post/%postun
|
|
|
|
|
|
|
|