perl-Image-Size-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. %define module Image-Size
  2. %define name perl-%{module}
  3. %define version 3.1.1
  4. %define release 3%{_dist_release}
  5. Name: %{name}
  6. Version: %{version}
  7. Release: %{release}
  8. Summary: Read the dimensions of an image in several popular formats
  9. License: Artistic and GPL
  10. Group: Development/Libraries
  11. URL: http://search.cpan.org/dist/%{module}
  12. Source: http://www.cpan.org/modules/by-module/Image/%{module}-%{version}.tar.gz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: perl(Compress::Zlib)
  15. BuildRequires: perl(Module::Build)
  16. BuildRequires: perl-Test-Pod
  17. BuildRequires: perl-Test-Pod-Coverage
  18. BuildArch: noarch
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. %description
  22. Image::Size is a library based on the image-sizing code in the wwwimagesize
  23. script, a tool that analyzes HTML files and adds HEIGHT and WIDTH tags to
  24. IMG directives.
  25. %prep
  26. %setup -q -n %{module}-%{version}
  27. %build
  28. %{__perl} Build.PL installdirs=vendor
  29. ./Build CFLAGS="%{optflags}"
  30. %check
  31. ./Build test
  32. %clean
  33. rm -rf %{buildroot}
  34. %install
  35. rm -rf %{buildroot}
  36. ./Build install destdir=%{buildroot}
  37. # rm -f %{buildroot}%{perl_archlib}/perllocal.pod
  38. # rm -rf %{buildroot}%{perl_vendorarch}
  39. %files
  40. %defattr(-,root,root)
  41. %{_bindir}/*
  42. %{_mandir}/*/*
  43. %{perl_vendorlib}/Image
  44. %{perl_vendorlib}/auto/Image
  45. %changelog
  46. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.1-3
  47. - rebuild with perl-5.12.3
  48. * Sun Feb 15 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.1.1-2
  49. - added BuildRequires: perl-Test-Pod, perl-Test-Pod-Coverage
  50. - changed Group to Development/Libraries
  51. * Mon May 05 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 3.1.1-1
  52. - rebuild with perl 5.10
  53. - new versioning policy
  54. * Sun Mar 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.1.1-0vl1
  55. - built for release
  56. * Sun Mar 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.1.1-0vl0.1
  57. - test package for VineSeed
  58. - new upstream release
  59. - add Vendor/Distribution tag
  60. * Thu Jul 05 2007 Guillaume Rousse <guillomovitch@mandriva.org> 3.01-1mdv2008.0
  61. + Revision: 48726
  62. - switch to Module::Build
  63. + Olivier Thauvin <nanardon@mandriva.org>
  64. - buildrequires
  65. - 3.01
  66. * Mon Jul 17 2006 Christiaan Welvaart <cjw@daneel.dyndns.org> 1:3.0-2
  67. - add BuildRequires: perl-Compress-Zlib
  68. * Fri Jun 16 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1:3.0-1mdv2007.0
  69. - new version
  70. - rpmbuildupdate aware
  71. - spec cleanup
  72. - better summary
  73. * Tue Jan 18 2005 Abel Cheung <deaddog@mandrake.org> 2.992-3mdk
  74. - rebuild
  75. * Tue Aug 12 2003 Per リyvind Karlsen <peroyvind@linux-mandrake.com> 2.992-2mdk
  76. - rebuild for new perl
  77. - use %%makeinstall_std macro
  78. * Mon Jul 21 2003 Fran輟is Pons <fpons@mandrakesoft.com> 2.992-1mdk
  79. - 2.992.