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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. %define module Compress-Raw-Bzip2
  2. %define name perl-%{module}
  3. %define version 2.021
  4. %define release 1%{?_dist_release}
  5. Name: %{name}
  6. Version: %{version}
  7. Release: %{release}
  8. Summary: Low-Level Interface to bzip2 compression library
  9. License: GPL or Artistic
  10. Group: Development/Libraries
  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. BuildRequires: zlib-devel
  14. BuildRoot: %{_tmppath}/%{name}-%{version}
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. Low-Level Interface to bzip2 compression library.
  19. %prep
  20. %setup -q -n %{module}-%{version}
  21. %build
  22. %{__perl} Makefile.PL INSTALLDIRS=vendor
  23. # %make
  24. CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
  25. %{__make}
  26. %check
  27. %{__make} test
  28. %clean
  29. rm -rf %{buildroot}
  30. %install
  31. rm -rf %{buildroot}
  32. # %makeinstall_std
  33. %makeinstall
  34. rm -f %{buildroot}%{perl_archlib}/perllocal.pod
  35. rm -rf %{buildroot}%{perl_vendorarch}/auto/*/*/*/.packlist
  36. %files
  37. %defattr(-,root,root)
  38. %doc README Changes
  39. %{_mandir}/*/*
  40. %{perl_vendorarch}/Compress
  41. %{perl_vendorarch}/auto/Compress
  42. %changelog
  43. * Fri Oct 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.021-1
  44. - new upstream release
  45. - applied new versioning policy
  46. * Sun Mar 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.008-0vl1
  47. - built for release
  48. * Sun Mar 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.008-0vl0.1
  49. - test package for VineSeed
  50. - new upstream release