source: projects/specs/trunk/p/perl-File-MMagic/perl-File-MMagic-vl.spec @ 5889

Revision 5889, 3.7 KB checked in by shaolin, 12 years ago (diff)
  • perl-File-MMagic: updated to 1.27
Line 
1Summary:        file command like perl5 module
2Summary(ja):    file コマンド風 perl5 モジュール
3Name:           perl-File-MMagic
4Version:        1.27
5Release:        3%{_dist_release}
6Url:            http://search.cpan.org/~knok/File-MMagic/
7License:        ASL 1.0 and BSD
8Group:          Development/Libraries
9Source:         http://www.perl.com/CPAN/modules/by-module/File/File-MMagic-%{version}.tar.gz
10Buildroot:      %{_tmppath}/%{name}-%{version}-root
11BuildArch:      noarch
12BuildRequires:  perl(ExtUtils::MakeMaker)
13Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
14
15Vendor:         Project Vine
16Distribution:   Vine Linux
17
18%description
19This module is to guess file type from its contents like file(1)
20command.
21
22%description -l ja
23このモジュールは、file(1)コマンドに相当する機能、すなわちファイルの内
24容からその種類を推測するためのものです。
25
26%prep
27%setup -q -n File-MMagic-%{version}
28
29%build
30CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor"
31make
32
33%check
34make test
35
36%install
37[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
38make pure_install PERL_INSTALL_ROOT=%{buildroot}
39find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
40find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
41chmod -R u+w %{buildroot}/*
42
43%clean
44[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
45
46%files
47%defattr(-,root,root,-)
48%doc COPYING README.en README.ja ChangeLog
49%{perl_vendorlib}/*
50%{_mandir}/man3/*
51
52%changelog
53* Mon Mar 12 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.27-3
54- rebuilt with perl-5.12.3; spec revamped
55
56* Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 1.27-2vl5
57- spec in utf-8
58
59* Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.27-1vl5
60- rebuilt with perl 5.10.0
61- applied new versioning policy
62
63* Wed Sep 26 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.27-0vl2
64- chaneged Group to Development/Libraries
65
66* Sun May 28 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.27-0vl1
67- new upstrean release
68- chaneged Group to Development/Languages
69
70* Mon Nov 29 2004 IWAI, Masaharu <iwai@alib.jp> 1.22-0vl2
71- rebuild on perl-5.8.6-0vl1
72- add many documents: COPYING, README.en, README.ja and ChangeLog
73- add Url tag
74- change build arch: noarch
75
76* Fri Sep 17 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.22-0vl1
77- updated to 1.22
78- Requires: perl >= 1:5.8.2
79
80* Tue May 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.21-1vl1
81- updated to 1.21
82- s/Copyright/License/
83- changed Group:Applications/CPAN (based on Fedora)
84
85* Wed Dec 10 2003 IWAI, Masaharu <iwai@alib.jp> 1.16-3vl2
86- build with perl-5.8.2
87- add %%{perl_sitelib}/File directory in %%files
88
89* Fri May 02 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org>
90- 1.16-3vl1:
91- synced with rawhide
92  * Tue Dec 10 2002 Chip Turner <cturner@redhat.com>
93  - update to latest version from CPAN
94 
95  * Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
96  - automated release bump and build
97 
98  * Tue Aug  6 2002 Chip Turner <cturner@localhost.localdomain>
99  - update to 1.15
100 
101  * Fri Dec 7 2001 root <root@redhat.com>
102  - Spec file was autogenerated.
103
104* Sat Jun 16 2001 <sagami@vinelinux.org>
105- 1.12-0vl3: correct Group
106
107* Sat Jun 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
108- 1.12-0vl2
109- rebuilt with perl-5.6.1
110
111* Wed Jun 13 2001 Jun Nishii <jun@vinelinux.org> 1.12-0vl1
112- ver.up
113- modify for Vine
114       
115* Fri Dec 31 1999 Ryuji Abe <raeva@t3.rim.or.jp>
116- Installed correctly directories.
117
118* Sat Dec 11 1999 Ryuji Abe <raeva@t3.rim.or.jp>
119- Rebuild for RHL-6.1.
120
121* Thu Dec 02 1999 Ryuji Abe <raeva@t3.rim.or.jp>
122- Specified Obsoletes: File-MMagic.
123
124* Wed Dec 01 1999 Ryuji Abe <raeva@t3.rim.or.jp>
125- Fixed package name (Added prefix `perl-').
126
127* Thu Sep 09 1999 Ryuji Abe <raeva@t3.rim.or.jp>
128- First build.
Note: See TracBrowser for help on using the repository browser.