source: projects/specs/branches/6/p/perl-MailTools/perl-MailTools-vl.spec @ 3220

Revision 3220, 2.8 KB checked in by iwaim, 13 years ago (diff)

perl-MailTools?-2.07-1

Line 
1Summary: a set of perl modules related to mail applications
2Summary(ja): メールアプリケーション関連の Perl モジュールセット
3Name: perl-MailTools
4Version: 2.07
5Release: 1%{_dist_release}
6License: Artistic
7Group: Development/Libraries
8Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-%{version}.tar.gz
9Source1: filter-requires-MailTools.sh
10Url: http://search.cpan.org/author/MARKOV/MailTools/
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12BuildRequires: perl >= 5.8.0
13BuildRequires: perl-TimeDate
14Requires: perl >= 5.8.0
15Requires: perl-TimeDate
16BuildArch: 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
24Vendor: Project Vine
25Distribution: Vine Linux
26
27%description
28This is MailTools, a set of perl modules related to mail applications.
29
30%description -l ja
31MailTools は、メールアプリケーション関連の Perl モジュールセットです。
32
33%prep
34%setup -q -n MailTools-%{version}
35
36%build
37CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor"
38make
39
40%check
41make test
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%install
47rm -rf $RPM_BUILD_ROOT
48mkdir -p $RPM_BUILD_ROOT%{_prefix}
49make DESTDIR=$RPM_BUILD_ROOT install
50
51find $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
56if [ "$(cat %{name}.files)X" = "X" ] ; then
57    echo "ERROR: EMPTY FILE LIST"
58    exit -1
59fi
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
Note: See TracBrowser for help on using the repository browser.