perl-File-MMagic-vl.spec 4.0 KB

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