[521] | 1 | Summary: a set of perl modules related to mail applications |
---|
| 2 | Summary(ja): メールアプリケーション関連の Perl モジュールセット |
---|
| 3 | Name: perl-MailTools |
---|
[8699] | 4 | Version: 2.13 |
---|
[3220] | 5 | Release: 1%{_dist_release} |
---|
[521] | 6 | License: Artistic |
---|
| 7 | Group: Development/Libraries |
---|
| 8 | Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-%{version}.tar.gz |
---|
[3220] | 9 | Source1: filter-requires-MailTools.sh |
---|
[521] | 10 | Url: http://search.cpan.org/author/MARKOV/MailTools/ |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | BuildRequires: perl >= 5.8.0 |
---|
| 13 | BuildRequires: perl-TimeDate |
---|
| 14 | Requires: perl >= 5.8.0 |
---|
| 15 | Requires: perl-TimeDate |
---|
| 16 | BuildArch: noarch |
---|
| 17 | |
---|
[3220] | 18 | %if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl4" |
---|
| 19 | %define __find_requires %{SOURCE1} |
---|
| 20 | %else |
---|
| 21 | %define __perl_requires %{SOURCE1} |
---|
| 22 | %endif |
---|
| 23 | |
---|
| 24 | Vendor: Project Vine |
---|
| 25 | Distribution: Vine Linux |
---|
| 26 | |
---|
[521] | 27 | %description |
---|
| 28 | This is MailTools, a set of perl modules related to mail applications. |
---|
| 29 | |
---|
| 30 | %description -l ja |
---|
| 31 | MailTools は、メールアプリケーション関連の Perl モジュールセットです。 |
---|
| 32 | |
---|
| 33 | %prep |
---|
| 34 | %setup -q -n MailTools-%{version} |
---|
| 35 | |
---|
| 36 | %build |
---|
| 37 | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor" |
---|
| 38 | make |
---|
| 39 | |
---|
| 40 | %check |
---|
| 41 | make test |
---|
| 42 | |
---|
| 43 | %clean |
---|
| 44 | rm -rf $RPM_BUILD_ROOT |
---|
| 45 | |
---|
| 46 | %install |
---|
| 47 | rm -rf $RPM_BUILD_ROOT |
---|
| 48 | mkdir -p $RPM_BUILD_ROOT%{_prefix} |
---|
| 49 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 50 | |
---|
| 51 | find $RPM_BUILD_ROOT%{_prefix} -type f -print | |
---|
| 52 | sed "s@^$RPM_BUILD_ROOT@@g" | |
---|
| 53 | grep -v ^%{_mandir} | |
---|
| 54 | grep -v perllocal.pod | |
---|
| 55 | grep -v "\.packlist" > %{name}.files |
---|
| 56 | if [ "$(cat %{name}.files)X" = "X" ] ; then |
---|
| 57 | echo "ERROR: EMPTY FILE LIST" |
---|
| 58 | exit -1 |
---|
| 59 | fi |
---|
| 60 | |
---|
| 61 | %files -f %{name}.files |
---|
| 62 | %defattr(-,root,root) |
---|
| 63 | %doc ChangeLog README README.demos examples |
---|
| 64 | %{_mandir}/man3/* |
---|
| 65 | %dir %{perl_vendorlib}/Mail |
---|
| 66 | %dir %{perl_vendorlib}/Mail/Field |
---|
| 67 | %dir %{perl_vendorlib}/Mail/Mailer |
---|
| 68 | |
---|
| 69 | %changelog |
---|
[8699] | 70 | * Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.13-1 |
---|
| 71 | - new upstream release. |
---|
| 72 | |
---|
[3220] | 73 | * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 2.07-1 |
---|
| 74 | - new upstream release |
---|
| 75 | - add requires filter (Source1) |
---|
| 76 | - add Vendor and Distribution tags |
---|
| 77 | - drop defined perl_vendorlib macro |
---|
| 78 | |
---|
[521] | 79 | * Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 2.04-2 |
---|
| 80 | - spec in utf-8 |
---|
| 81 | |
---|
| 82 | * Sat Feb 14 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.04-1 |
---|
| 83 | - new upstream release. |
---|
| 84 | |
---|
| 85 | * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.03-1 |
---|
| 86 | - new upstream release. |
---|
| 87 | - built with perl-5.10.0. |
---|
| 88 | |
---|
| 89 | * Sat Jul 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.77-0vl1 |
---|
| 90 | - new upstream release |
---|
| 91 | - changed Group to Development/Libraries |
---|
| 92 | |
---|
| 93 | * Thu Sep 15 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.67-0vl1 |
---|
| 94 | - new upstream release |
---|
| 95 | - s/Copyright/License/ |
---|
| 96 | - use vendor_perl dir |
---|
| 97 | |
---|
| 98 | * Sat Dec 4 2004 IWAI, Masaharu <iwai@alib.jp> 1.65-0vl1 |
---|
| 99 | - new upstream release |
---|
| 100 | - build on perl-5.8.6-0vl1 |
---|
| 101 | - update {Build,}Requires |
---|
| 102 | - add Japanese Summary and description |
---|
| 103 | |
---|
| 104 | * Thu Apr 24 2003 IWAI Masaharu <iwai@alib.jp> 1.58-0vl1 |
---|
| 105 | - version up to 1.58 |
---|
| 106 | - build with perl-5.8.0 |
---|
| 107 | |
---|
| 108 | * Sun Aug 25 2002 IWAI Masaharu <iwai@alib.jp> 1.48-0vl1 |
---|
| 109 | - first build for Vine Linux |
---|