perl-ExtUtils-PkgConfig-vl.spec 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. Summary: Simplistic interface to pkg-config
  2. Name: perl-ExtUtils-PkgConfig
  3. Version: 1.12
  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. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. The pkg-config program retrieves information about installed libraries,
  20. usually for the purposes of compiling against and linking to them.
  21. ExtUtils::PkgConfig is a very simplistic interface to this utility,
  22. intended for use in the Makefile.PL of perl extensions which bind
  23. libraries that pkg-config knows. It is really just boilerplate code
  24. that you would've written yourself.
  25. %prep
  26. %setup -q -n ExtUtils-PkgConfig-%{version}
  27. %build
  28. %{__perl} Makefile.PL INSTALLDIRS=vendor
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  33. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  34. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  35. chmod -R u+w $RPM_BUILD_ROOT/*
  36. %check
  37. make test
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %files
  41. %defattr(-,root,root,-)
  42. %doc Changes README
  43. %{perl_vendorlib}/ExtUtils/
  44. %{_mandir}/man3/*.3pm*
  45. %changelog
  46. * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 1.12-1
  47. - new upstream release
  48. - add Vendor and Distribution tags
  49. * Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.08-1
  50. - new upstream release
  51. - build on perl-5.10
  52. * Wed Aug 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.07-5vl1
  53. - Initial build for Vine
  54. * Sat Sep 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-5
  55. - Rebuild for FC6.
  56. * Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-4
  57. - Rebuild for FC5 (perl 5.8.8).
  58. * Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-3
  59. - Dist tag.
  60. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.07-2
  61. - rebuilt
  62. * Tue Feb 15 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.07-1
  63. - Update to 1.07.
  64. * Sun Oct 3 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.06-0.fdr.1
  65. - Update to 1.06.
  66. * Sun Jul 18 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.05-0.fdr.1
  67. - First build.