[5889] | 1 | Summary: file command like perl5 module |
---|
| 2 | Summary(ja): file コマンド風 perl5 モジュール |
---|
| 3 | Name: perl-File-MMagic |
---|
[7376] | 4 | Version: 1.29 |
---|
| 5 | Release: 1%{_dist_release} |
---|
[5889] | 6 | Url: http://search.cpan.org/~knok/File-MMagic/ |
---|
| 7 | License: ASL 1.0 and BSD |
---|
| 8 | Group: Development/Libraries |
---|
| 9 | Source: http://www.perl.com/CPAN/modules/by-module/File/File-MMagic-%{version}.tar.gz |
---|
[7376] | 10 | Patch0: File-MMagic-1.29-msoffice.patch |
---|
[5889] | 11 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | BuildArch: noarch |
---|
| 13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 14 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
[521] | 15 | |
---|
[5889] | 16 | Vendor: Project Vine |
---|
| 17 | Distribution: Vine Linux |
---|
[7376] | 18 | Packager: iwaim |
---|
[521] | 19 | |
---|
| 20 | %description |
---|
| 21 | This module is to guess file type from its contents like file(1) |
---|
| 22 | command. |
---|
| 23 | |
---|
| 24 | %description -l ja |
---|
| 25 | このモジュールは、file(1)コマンドに相当する機能、すなわちファイルの内 |
---|
| 26 | 容からその種類を推測するためのものです。 |
---|
| 27 | |
---|
| 28 | %prep |
---|
| 29 | %setup -q -n File-MMagic-%{version} |
---|
[7376] | 30 | %patch0 -p2 |
---|
[521] | 31 | |
---|
| 32 | %build |
---|
| 33 | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor" |
---|
| 34 | make |
---|
[5889] | 35 | |
---|
| 36 | %check |
---|
[521] | 37 | make test |
---|
| 38 | |
---|
| 39 | %install |
---|
[5889] | 40 | [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} |
---|
| 41 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
| 42 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
| 43 | find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 44 | chmod -R u+w %{buildroot}/* |
---|
[521] | 45 | |
---|
| 46 | %clean |
---|
[5889] | 47 | [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} |
---|
[521] | 48 | |
---|
[5889] | 49 | %files |
---|
| 50 | %defattr(-,root,root,-) |
---|
[521] | 51 | %doc COPYING README.en README.ja ChangeLog |
---|
[5889] | 52 | %{perl_vendorlib}/* |
---|
| 53 | %{_mandir}/man3/* |
---|
[521] | 54 | |
---|
| 55 | %changelog |
---|
[7376] | 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 | |
---|
[5889] | 61 | * Mon Mar 12 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.27-3 |
---|
| 62 | - rebuilt with perl-5.12.3; spec revamped |
---|
| 63 | |
---|
[521] | 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. |
---|