perl-File-MMagic-vl.spec 3.7 KB

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