perl-ExtUtils-Depends-vl.spec 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. Summary: Easily build XS extensions that depend on XS extensions
  2. Name: perl-ExtUtils-Depends
  3. Version: 0.304
  4. Release: 2%{?_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. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. This module tries to make it easy to build Perl extensions that use
  18. functions and typemaps provided by other perl extensions. This means that a
  19. perl extension is treated like a shared library that provides also a C and
  20. an XS interface besides the perl one.
  21. %prep
  22. %setup -q -n ExtUtils-Depends-%{version}
  23. %build
  24. %{__perl} Makefile.PL INSTALLDIRS=vendor
  25. make %{?_smp_mflags}
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  29. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
  30. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  31. %{_fixperms} $RPM_BUILD_ROOT/*
  32. %check
  33. make test
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %files
  37. %defattr(-,root,root,-)
  38. %doc Changes README
  39. %{perl_vendorlib}/*
  40. %{_mandir}/man3/*
  41. %changelog
  42. * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.304-2
  43. - build with Perl 5.16
  44. * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 0.304-1
  45. - new upstream release
  46. - add Vendor and Distribution tags
  47. * Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.300-1
  48. - new upstream release
  49. - build on perl-5.10
  50. * Wed Aug 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.205-5vl1
  51. - Initial build for Vine
  52. * Fri Sep 8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.205-5
  53. - Rebuild for FC6.
  54. * Wed Feb 15 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.205-4
  55. - Rebuild for FC5 (perl 5.8.8).
  56. * Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.205-3
  57. - Dist tag.
  58. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.205-2
  59. - rebuilt
  60. * Tue Feb 15 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.205-1
  61. - Update to 0.205.
  62. * Sun Oct 3 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.204-0.fdr.1
  63. - Update to 0.204.
  64. * Sun Jul 18 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.202-0.fdr.1
  65. - First build.