perl-ExtUtils-PkgConfig-vl.spec 2.7 KB

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