source: projects/specs/trunk/p/perl-MailTools/perl-MailTools-vl.spec @ 8699

Revision 8699, 2.9 KB checked in by tomop, 10 years ago (diff)

spamassassin-3.4.0

Line 
1Summary: a set of perl modules related to mail applications
2Summary(ja): メールアプリケーション関連の Perl モジュールセット
3Name: perl-MailTools
4Version: 2.13
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* Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.13-1
71- new upstream release.
72
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
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
Note: See TracBrowser for help on using the repository browser.