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

Revision 7376, 3.9 KB checked in by iwaim, 11 years ago (diff)

perl-File-MMagic 1.29-1

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