123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- Summary: a set of perl modules related to mail applications
- Summary(ja): メールアプリケーション関連の Perl モジュールセット
- Name: perl-MailTools
- Version: 2.07
- Release: 1%{_dist_release}
- License: Artistic
- Group: Development/Libraries
- Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-%{version}.tar.gz
- Source1: filter-requires-MailTools.sh
- Url: http://search.cpan.org/author/MARKOV/MailTools/
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: perl >= 5.8.0
- BuildRequires: perl-TimeDate
- Requires: perl >= 5.8.0
- Requires: perl-TimeDate
- BuildArch: noarch
- %if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl4"
- %define __find_requires %{SOURCE1}
- %else
- %define __perl_requires %{SOURCE1}
- %endif
- Vendor: Project Vine
- Distribution: Vine Linux
- %description
- This is MailTools, a set of perl modules related to mail applications.
- %description -l ja
- MailTools は、メールアプリケーション関連の Perl モジュールセットです。
- %prep
- %setup -q -n MailTools-%{version}
- %build
- CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor"
- make
- %check
- make test
- %clean
- rm -rf $RPM_BUILD_ROOT
- %install
- rm -rf $RPM_BUILD_ROOT
- mkdir -p $RPM_BUILD_ROOT%{_prefix}
- make DESTDIR=$RPM_BUILD_ROOT install
- find $RPM_BUILD_ROOT%{_prefix} -type f -print |
- sed "s@^$RPM_BUILD_ROOT@@g" |
- grep -v ^%{_mandir} |
- grep -v perllocal.pod |
- grep -v "\.packlist" > %{name}.files
- if [ "$(cat %{name}.files)X" = "X" ] ; then
- echo "ERROR: EMPTY FILE LIST"
- exit -1
- fi
- %files -f %{name}.files
- %defattr(-,root,root)
- %doc ChangeLog README README.demos examples
- %{_mandir}/man3/*
- %dir %{perl_vendorlib}/Mail
- %dir %{perl_vendorlib}/Mail/Field
- %dir %{perl_vendorlib}/Mail/Mailer
- %changelog
- * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 2.07-1
- - new upstream release
- - add requires filter (Source1)
- - add Vendor and Distribution tags
- - drop defined perl_vendorlib macro
- * Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 2.04-2
- - spec in utf-8
- * Sat Feb 14 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.04-1
- - new upstream release.
- * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.03-1
- - new upstream release.
- - built with perl-5.10.0.
- * Sat Jul 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.77-0vl1
- - new upstream release
- - changed Group to Development/Libraries
- * Thu Sep 15 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.67-0vl1
- - new upstream release
- - s/Copyright/License/
- - use vendor_perl dir
- * Sat Dec 4 2004 IWAI, Masaharu <iwai@alib.jp> 1.65-0vl1
- - new upstream release
- - build on perl-5.8.6-0vl1
- - update {Build,}Requires
- - add Japanese Summary and description
- * Thu Apr 24 2003 IWAI Masaharu <iwai@alib.jp> 1.58-0vl1
- - version up to 1.58
- - build with perl-5.8.0
- * Sun Aug 25 2002 IWAI Masaharu <iwai@alib.jp> 1.48-0vl1
- - first build for Vine Linux
|