perl-ExtUtils-PkgConfig-vl.spec 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. Summary: Simplistic interface to pkg-config
  2. Name: perl-ExtUtils-PkgConfig
  3. Version: 1.12
  4. Release: 2%{?_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. * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.12-2
  47. - build with Perl 5.16
  48. * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 1.12-1
  49. - new upstream release
  50. - add Vendor and Distribution tags
  51. * Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.08-1
  52. - new upstream release
  53. - build on perl-5.10
  54. * Wed Aug 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.07-5vl1
  55. - Initial build for Vine
  56. * Sat Sep 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-5
  57. - Rebuild for FC6.
  58. * Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-4
  59. - Rebuild for FC5 (perl 5.8.8).
  60. * Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-3
  61. - Dist tag.
  62. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.07-2
  63. - rebuilt
  64. * Tue Feb 15 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.07-1
  65. - Update to 1.07.
  66. * Sun Oct 3 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.06-0.fdr.1
  67. - Update to 1.06.
  68. * Sun Jul 18 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.05-0.fdr.1
  69. - First build.