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