1 | Summary: a set of perl modules related to mail applications |
---|
2 | Summary(ja): メールアプリケーション関連の Perl モジュールセット |
---|
3 | Name: perl-MailTools |
---|
4 | Version: 2.07 |
---|
5 | Release: 1%{_dist_release} |
---|
6 | License: Artistic |
---|
7 | Group: Development/Libraries |
---|
8 | Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-%{version}.tar.gz |
---|
9 | Source1: filter-requires-MailTools.sh |
---|
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 | |
---|
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 | |
---|
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 |
---|
70 | * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 2.07-1 |
---|
71 | - new upstream release |
---|
72 | - add requires filter (Source1) |
---|
73 | - add Vendor and Distribution tags |
---|
74 | - drop defined perl_vendorlib macro |
---|
75 | |
---|
76 | * Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 2.04-2 |
---|
77 | - spec in utf-8 |
---|
78 | |
---|
79 | * Sat Feb 14 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.04-1 |
---|
80 | - new upstream release. |
---|
81 | |
---|
82 | * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.03-1 |
---|
83 | - new upstream release. |
---|
84 | - built with perl-5.10.0. |
---|
85 | |
---|
86 | * Sat Jul 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.77-0vl1 |
---|
87 | - new upstream release |
---|
88 | - changed Group to Development/Libraries |
---|
89 | |
---|
90 | * Thu Sep 15 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.67-0vl1 |
---|
91 | - new upstream release |
---|
92 | - s/Copyright/License/ |
---|
93 | - use vendor_perl dir |
---|
94 | |
---|
95 | * Sat Dec 4 2004 IWAI, Masaharu <iwai@alib.jp> 1.65-0vl1 |
---|
96 | - new upstream release |
---|
97 | - build on perl-5.8.6-0vl1 |
---|
98 | - update {Build,}Requires |
---|
99 | - add Japanese Summary and description |
---|
100 | |
---|
101 | * Thu Apr 24 2003 IWAI Masaharu <iwai@alib.jp> 1.58-0vl1 |
---|
102 | - version up to 1.58 |
---|
103 | - build with perl-5.8.0 |
---|
104 | |
---|
105 | * Sun Aug 25 2002 IWAI Masaharu <iwai@alib.jp> 1.48-0vl1 |
---|
106 | - first build for Vine Linux |
---|