|
@@ -1,18 +1,21 @@
|
|
%define plugindir %{_libdir}/esmtp-plugins
|
|
%define plugindir %{_libdir}/esmtp-plugins
|
|
|
|
|
|
Summary: SMTP client library
|
|
Summary: SMTP client library
|
|
-SUmmary(ja): SMTPクライアントライブラリ
|
|
+SUmmary(ja): SMTP クライアントライブラリ
|
|
Name: libesmtp
|
|
Name: libesmtp
|
|
-Version: 1.0.4
|
|
+Version: 1.0.6
|
|
-Release: 3%{?_dist_release}
|
|
+Release: 1%{?_dist_release}
|
|
License: LGPLv2+
|
|
License: LGPLv2+
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
|
|
+URL: http://www.stafford.uklinux.net/libesmtp/
|
|
|
|
+
|
|
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/
|
|
+
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
-BuildRequires: openssl-devel pkgconfig
|
|
+BuildRequires: openssl-devel
|
|
|
|
+BuildRequires: 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
|
|
@@ -26,7 +29,8 @@ Summary: Headers and development libraries for libESMTP
|
|
# example file is under the GPLv2+
|
|
# example file is under the GPLv2+
|
|
License: LGPLv2+ and GPLv2+
|
|
License: LGPLv2+ and GPLv2+
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
-Requires: %{name} = %{version}-%{release}, openssl-devel
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+Requires: openssl-devel
|
|
|
|
|
|
%description devel
|
|
%description devel
|
|
LibESMTP is a library to manage posting (or submission of) electronic
|
|
LibESMTP is a library to manage posting (or submission of) electronic
|
|
@@ -36,10 +40,12 @@ Exim.
|
|
The libesmtp-devel package contains headers and development libraries
|
|
The libesmtp-devel package contains headers and development libraries
|
|
necessary for building programs against libesmtp.
|
|
necessary for building programs against libesmtp.
|
|
|
|
|
|
|
|
+#'
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
%patch1 -p1 -b .build
|
|
%patch1 -p1 -b .build
|
|
-%patch2 -p1 -b .571817
|
|
+#patch2 -p1 -b .571817
|
|
|
|
|
|
# Keep rpmlint happy about libesmtp-debuginfo...
|
|
# Keep rpmlint happy about libesmtp-debuginfo...
|
|
chmod a-x htable.c
|
|
chmod a-x htable.c
|
|
@@ -50,9 +56,17 @@ 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 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 \
|
|
+
|
|
- --enable-require-all-recipients --enable-debug \
|
|
+%configure \
|
|
- --enable-etrn --disable-isoc --disable-more-warnings --disable-static
|
|
+ --with-auth-plugin-dir=%{plugindir} \
|
|
|
|
+ --enable-pthreads \
|
|
|
|
+ --enable-require-all-recipients \
|
|
|
|
+ --enable-debug \
|
|
|
|
+ --enable-etrn \
|
|
|
|
+ --disable-isoc \
|
|
|
|
+ --disable-more-warnings \
|
|
|
|
+ --disable-static
|
|
|
|
+
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
cat << "EOF" > libesmtp.pc
|
|
cat << "EOF" > libesmtp.pc
|
|
prefix=%{_prefix}
|
|
prefix=%{_prefix}
|
|
@@ -76,8 +90,8 @@ EOF
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR=$RPM_BUILD_ROOT install INSTALL='install -p'
|
|
make DESTDIR=$RPM_BUILD_ROOT install INSTALL='install -p'
|
|
-rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
+rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
-rm $RPM_BUILD_ROOT/%{_libdir}/esmtp-plugins/*.la
|
|
+rm -f $RPM_BUILD_ROOT/%{_libdir}/esmtp-plugins/*.la
|
|
install -p -m644 -D libesmtp.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libesmtp.pc
|
|
install -p -m644 -D libesmtp.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libesmtp.pc
|
|
|
|
|
|
|
|
|
|
@@ -103,6 +117,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_libdir}/pkgconfig/libesmtp.pc
|
|
%{_libdir}/pkgconfig/libesmtp.pc
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Jan 22 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.6-1
|
|
|
|
+- updated to 1.0.6
|
|
|
|
+- dropt Patch2
|
|
|
|
+
|
|
* Sun Mar 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-3
|
|
* Sun Mar 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-3
|
|
- rebuild with openssl-1.0.0d
|
|
- rebuild with openssl-1.0.0d
|
|
|
|
|