perl-ExtUtils-PkgConfig-vl.spec 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. Summary: Simplistic interface to pkg-config
  2. Name: perl-ExtUtils-PkgConfig
  3. Version: 1.08
  4. Release: 1%{?_dist_release}
  5. Group: Development/Libraries
  6. License: LGPLv2+
  7. URL: http://search.cpan.org/dist/ExtUtils-PkgConfig/
  8. Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/ExtUtils-PkgConfig-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: pkgconfig
  12. BuildRequires: perl(ExtUtils::MakeMaker)
  13. BuildRequires: perl(Test::More)
  14. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  15. Requires: pkgconfig
  16. %description
  17. The pkg-config program retrieves information about installed libraries,
  18. usually for the purposes of compiling against and linking to them.
  19. ExtUtils::PkgConfig is a very simplistic interface to this utility,
  20. intended for use in the Makefile.PL of perl extensions which bind
  21. libraries that pkg-config knows. It is really just boilerplate code
  22. that you would've written yourself.
  23. %prep
  24. %setup -q -n ExtUtils-PkgConfig-%{version}
  25. %build
  26. %{__perl} Makefile.PL INSTALLDIRS=vendor
  27. make %{?_smp_mflags}
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  31. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  32. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  33. chmod -R u+w $RPM_BUILD_ROOT/*
  34. %check
  35. make test
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc Changes README
  41. %{perl_vendorlib}/ExtUtils/
  42. %{_mandir}/man3/*.3pm*
  43. %changelog
  44. * Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.08-1
  45. - new upstream release
  46. - build on perl-5.10
  47. * Wed Aug 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.07-5vl1
  48. - Initial build for Vine
  49. * Sat Sep 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-5
  50. - Rebuild for FC6.
  51. * Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-4
  52. - Rebuild for FC5 (perl 5.8.8).
  53. * Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-3
  54. - Dist tag.
  55. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.07-2
  56. - rebuilt
  57. * Tue Feb 15 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.07-1
  58. - Update to 1.07.
  59. * Sun Oct 3 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.06-0.fdr.1
  60. - Update to 1.06.
  61. * Sun Jul 18 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.05-0.fdr.1
  62. - First build.