source: projects/specs/trunk/p/perl-MIME-Types/perl-MIME-Types-vl.spec @ 8706

Revision 8706, 4.0 KB checked in by daisuke, 10 years ago (diff)

per-MIME-Types: update to 2.04

Line 
1Name:           perl-MIME-Types
2Version:        2.04
3Release:        1%{?_dist_release}
4Summary:        MIME types module for Perl
5
6License:        GPL or Artistic
7Group:          Development/Libraries
8URL:            http://search.cpan.org/dist/MIME-Types/
9Source0:        http://www.cpan.org/authors/id/M/MA/MARKOV/MIME-Types-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11
12BuildArch:      noarch
13BuildRequires:  perl(ExtUtils::MakeMaker)
14BuildRequires:  perl(Test::More)
15BuildRequires:  perl(Test::Pod)
16Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
17
18%description
19MIME types are used in MIME compliant lines, for instance as part of
20e-mail and HTTP traffic, to indicate the type of content which is
21transmitted. Sometimes real knowledge about a mime-type is need.
22This module maintains a set of MIME::Type objects, which each describe
23one known mime type. There are many types defined by RFCs and vendors,
24so the list is long but not complete. Please don't hestitate to ask to
25add additional information.
26
27%prep
28%setup -q -n MIME-Types-%{version}
29
30%build
31%{__perl} Makefile.PL INSTALLDIRS=vendor
32make %{?_smp_mflags}
33
34
35%install
36rm -rf %{buildroot}
37make pure_install PERL_INSTALL_ROOT=%{buildroot}
38find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
39find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
40chmod -R u+w %{buildroot}/*
41
42%check
43make test
44make test TEST_FILES="xt/*.t"
45
46%clean
47rm -rf %{buildroot}
48
49%files
50%defattr(-,root,root,-)
51%doc ChangeLog README
52%{perl_vendorlib}/MIME/
53%{_mandir}/man3/MIME::Type*.3*
54
55
56%changelog
57* Mon Jun 30 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.0.4-1
58- update to 2.0.4
59
60* Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.31-1
61- updated to 1.31
62
63* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.19-3
64- rebuild with perl-5.12.3
65
66* Tue Nov 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.19-2vl1
67- Initial build for Vine Linux
68
69* Tue Apr 17 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.19-2
70- BuildRequire perl(Test::More).
71
72* Mon Mar 26 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.19-1
73- 1.19.
74- BuildRequire perl(ExtUtils::MakeMaker).
75
76* Wed Nov 22 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.18-1
77- 1.18.
78
79* Fri Sep 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.17-2
80- Rebuild.
81
82* Tue Aug 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.17-1
83- 1.17.
84
85* Sun Oct  2 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.16-1
86- 1.16.
87
88* Fri Apr  1 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.15-2
89- 1.15.
90
91* Tue May 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.13-0.fdr.3
92- Require perl(:MODULE_COMPAT_*) (bug 1649).
93
94* Mon May 17 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.13-0.fdr.2
95- Sync with IANA 20040517.
96- Require perl >= 1:5.6.1 for vendor install dir support.
97- Use pure_install to avoid perllocal.pod workarounds.
98
99* Sat Apr 24 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.13-0.fdr.1
100- Update to 1.13 + IANA 20040424.
101
102* Sun Feb  1 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.12-0.fdr.2
103- Reduce directory ownership bloat.
104
105* Wed Jan 21 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.12-0.fdr.1
106- Update to 1.12.
107
108* Wed Jan 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.11-0.fdr.1
109- Update to 1.11.
110
111* Wed Dec 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.10-0.fdr.2
112- BuildRequires perl(Test::More).
113
114* Fri Dec 19 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.10-0.fdr.1
115- Update to 1.10.
116
117* Thu Nov  6 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.09-0.fdr.1
118- Update to 1.09.
119
120* Tue Nov  4 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.08-0.fdr.1
121- Update to 1.08.
122
123* Sat Oct 11 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.07-0.fdr.2
124- Install into vendor dirs.
125- Don't use fedora-rpm-helper.
126- Specfile cleanup.
127
128* Wed Jul 30 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.07-0.fdr.1
129- Update to 1.07.
130- Use fedora-rpm-helper.
131
132* Tue Jun 24 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.06-0.fdr.1
133- First build.
Note: See TracBrowser for help on using the repository browser.