perl-ExtUtils-Depends-vl.spec 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. Summary: Easily build XS extensions that depend on XS extensions
  2. Name: perl-ExtUtils-Depends
  3. Version: 0.300
  4. Release: 1%{?_dist_release}
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/ExtUtils-Depends/
  8. Source0: http://www.cpan.org/authors/id/T/TS/TSCH/ExtUtils-Depends-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(Test::More)
  13. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  14. %description
  15. This module tries to make it easy to build Perl extensions that use
  16. functions and typemaps provided by other perl extensions. This means that a
  17. perl extension is treated like a shared library that provides also a C and
  18. an XS interface besides the perl one.
  19. %prep
  20. %setup -q -n ExtUtils-Depends-%{version}
  21. %build
  22. %{__perl} Makefile.PL INSTALLDIRS=vendor
  23. make %{?_smp_mflags}
  24. %install
  25. rm -rf $RPM_BUILD_ROOT
  26. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  27. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
  28. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  29. %{_fixperms} $RPM_BUILD_ROOT/*
  30. %check
  31. make test
  32. %clean
  33. rm -rf $RPM_BUILD_ROOT
  34. %files
  35. %defattr(-,root,root,-)
  36. %doc Changes README
  37. %{perl_vendorlib}/*
  38. %{_mandir}/man3/*
  39. %changelog
  40. * Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.300-1
  41. - new upstream release
  42. - build on perl-5.10
  43. * Wed Aug 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.205-5vl1
  44. - Initial build for Vine
  45. * Fri Sep 8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.205-5
  46. - Rebuild for FC6.
  47. * Wed Feb 15 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.205-4
  48. - Rebuild for FC5 (perl 5.8.8).
  49. * Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.205-3
  50. - Dist tag.
  51. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.205-2
  52. - rebuilt
  53. * Tue Feb 15 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.205-1
  54. - Update to 0.205.
  55. * Sun Oct 3 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.204-0.fdr.1
  56. - Update to 0.204.
  57. * Sun Jul 18 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.202-0.fdr.1
  58. - First build.