|
@@ -1,3 +1,6 @@
|
|
|
|
+# stop strip
|
|
|
|
+%define __spec_install_post /usr/lib/rpm/brp-compress || :
|
|
|
|
+
|
|
# Build options
|
|
# Build options
|
|
%define with_ldap 0
|
|
%define with_ldap 0
|
|
%define with_sasl 0
|
|
%define with_sasl 0
|
|
@@ -10,7 +13,7 @@ Summary: A widely used Mail Transport Agent (MTA).
|
|
Summary(ja): 広く使用されているメール配送エージェント (MTA)。
|
|
Summary(ja): 広く使用されているメール配送エージェント (MTA)。
|
|
Name: sendmail
|
|
Name: sendmail
|
|
Version: 8.14.4
|
|
Version: 8.14.4
|
|
-Release: 2%{?_dist_release}
|
|
+Release: 3%{?_dist_release}
|
|
URL: http://www.sendmail.org/
|
|
URL: http://www.sendmail.org/
|
|
License: Sendmail
|
|
License: Sendmail
|
|
Group: System Environment/Daemons
|
|
Group: System Environment/Daemons
|
|
@@ -105,17 +108,27 @@ sendmail-docパッケージはSendmailメール配送エージェント (MTA)プ
|
|
とtroff形式で提供されています。
|
|
とtroff形式で提供されています。
|
|
|
|
|
|
%package devel
|
|
%package devel
|
|
-Summary: Extra development include files and development files.
|
|
+Summary: Extra development include files for sendmail
|
|
-Summary(ja): 特別な開発のためのインクルードファイルと開発のためのファイル。
|
|
+Summary(ja): sendmail拡張のためのインクルードファイル
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
|
|
+Requires: %{name}-static == %{version}-%{release}
|
|
|
|
|
|
%description devel
|
|
%description devel
|
|
-Include files and devel libraries for e.g. the milter addons as part
|
|
+Include files for addons of sendmail.
|
|
-of sendmail.
|
|
|
|
|
|
|
|
%description devel -l ja
|
|
%description devel -l ja
|
|
-開発のためのインクルードファイルとライブラリです。例をあげればmilterは
|
|
+sendmail拡張機能の開発のためのインクルードファイルです。
|
|
-sendmailの一部として追加されています。
|
|
+
|
|
|
|
+%package static
|
|
|
|
+Summary: Extra development libraries for sendmail
|
|
|
|
+Summary(ja): sendmail拡張のためのライブラリ
|
|
|
|
+Group: Development/Libraries
|
|
|
|
+
|
|
|
|
+%description static
|
|
|
|
+Development libraries for addons of sendmail.
|
|
|
|
+
|
|
|
|
+%description static -l ja
|
|
|
|
+sendmail拡張機能の開発のためのライブラリです。
|
|
|
|
|
|
%package cf
|
|
%package cf
|
|
Summary: The files needed to reconfigure Sendmail.
|
|
Summary: The files needed to reconfigure Sendmail.
|
|
@@ -148,6 +161,10 @@ your sendmail.cf file.
|
|
perl -pi -e 's|/usr/share/sendmail-cf/m4|../m4|' ./cf/cf/submit.mc
|
|
perl -pi -e 's|/usr/share/sendmail-cf/m4|../m4|' ./cf/cf/submit.mc
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
+%ifarch x86_64 ppc
|
|
|
|
+export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC"
|
|
|
|
+%endif
|
|
|
|
+
|
|
cp %{SOURCE2} devtools/Site/site.config.m4
|
|
cp %{SOURCE2} devtools/Site/site.config.m4
|
|
|
|
|
|
cat >> devtools/Site/site.config.m4 << EOF
|
|
cat >> devtools/Site/site.config.m4 << EOF
|
|
@@ -478,6 +495,9 @@ exit 0
|
|
%files devel
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%{_includedir}/libmilter/*.h
|
|
%{_includedir}/libmilter/*.h
|
|
|
|
+
|
|
|
|
+%files static
|
|
|
|
+%defattr(-,root,root)
|
|
%{_libdir}/libmilter.a
|
|
%{_libdir}/libmilter.a
|
|
%{_libdir}/libsmutil.a
|
|
%{_libdir}/libsmutil.a
|
|
%{_libdir}/libsm.a
|
|
%{_libdir}/libsm.a
|
|
@@ -487,10 +507,14 @@ exit 0
|
|
%{_docdir}/sendmail
|
|
%{_docdir}/sendmail
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Apr 08 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.14.4-3
|
|
|
|
+- added '-fPIC' option on x86_64 and ppc.
|
|
|
|
+- added subpackage 'sendmail-static'.
|
|
|
|
+
|
|
* Mon Jan 10 2011 IWAI, Masaharu <iwai@alib.jp> 8.14.4-2vl6
|
|
* Mon Jan 10 2011 IWAI, Masaharu <iwai@alib.jp> 8.14.4-2vl6
|
|
- rebuild with openssl 1.0.0c on VineSeed
|
|
- rebuild with openssl 1.0.0c on VineSeed
|
|
- add BuildRequires: groff for manpages
|
|
- add BuildRequires: groff for manpages
|
|
-- add BuildRequires: m4 for generate cd files
|
|
+- add BuildRequires: m4 for generate cf files
|
|
- add Packager: iwaim
|
|
- add Packager: iwaim
|
|
|
|
|
|
* Tue Nov 16 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.14.4-1
|
|
* Tue Nov 16 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.14.4-1
|