perl-IO-Compress-Bzip2-vl.spec 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. %define module IO-Compress-Bzip2
  2. %define name perl-%{module}
  3. %define version 2.008
  4. %define release 1%{?_dist_release}
  5. Name: %{name}
  6. Version: %{version}
  7. Release: %{release}
  8. Summary: A Perl interface to allow reading and writing bzip2 files/buffers
  9. License: GPL or Artistic
  10. Group: Development/Languages
  11. Source0: http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/%{module}-%{version}.tar.gz
  12. Url: http://search.cpan.org/dist/%{module}/
  13. BuildRoot: %{_tmppath}/%{name}-%{version}
  14. BuildRequires: perl(Compress::Raw::Zlib) >= %version
  15. BuildRequires: perl(IO::Compress::Base) >= %version
  16. BuildArch: noarch
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. A Perl interface to allow reading and writing of
  21. bzip2 files/buffers.
  22. %prep
  23. %setup -q -n %{module}-%{version}
  24. %build
  25. CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
  26. %{__make}
  27. # %check
  28. # %{__make} test
  29. %clean
  30. rm -rf %{buildroot}
  31. %install
  32. rm -rf %{buildroot}
  33. %makeinstall
  34. rm -f %{buildroot}%{perl_archlib}/perllocal.pod
  35. rm -rf %{buildroot}%{perl_vendorarch}
  36. %files
  37. %defattr(-,root,root)
  38. %doc README Changes
  39. %{_mandir}/*/*
  40. %{perl_vendorlib}/*
  41. %changelog
  42. * Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 2.008-1vl5
  43. - applied vine5 versioning policy
  44. * Sun Mar 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.008-0vl1
  45. - built for release
  46. * Sun Mar 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.008-0vl0.1
  47. - test package for VineSeed