perl-ExtUtils-PkgConfig-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. Summary: Simplistic interface to pkg-config
  2. Name: perl-ExtUtils-PkgConfig
  3. Version: 1.16
  4. Release: 2%{?_dist_release}
  5. Group: programming
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: LGPLv2+
  9. URL: https://metacpan.org/pod/ExtUtils::PkgConfig
  10. Source0: https://cpan.metacpan.org/authors/id/X/XA/XAOC/ExtUtils-PkgConfig-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildArch: noarch
  13. BuildRequires: pkgconfig
  14. BuildRequires: perl(ExtUtils::MakeMaker)
  15. BuildRequires: perl(Test::More)
  16. Requires: perl
  17. Requires: pkgconfig
  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. * Wed Nov 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16-2
  47. - rebuilt with perl-5.34.0.
  48. * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16-1
  49. - new upstream release.
  50. - rebuilt with perl-5.26.
  51. * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.12-2
  52. - build with Perl 5.16
  53. * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 1.12-1
  54. - new upstream release
  55. - add Vendor and Distribution tags
  56. * Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.08-1
  57. - new upstream release
  58. - build on perl-5.10
  59. * Wed Aug 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.07-5vl1
  60. - Initial build for Vine
  61. * Sat Sep 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-5
  62. - Rebuild for FC6.
  63. * Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-4
  64. - Rebuild for FC5 (perl 5.8.8).
  65. * Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-3
  66. - Dist tag.
  67. * Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.07-2
  68. - rebuilt
  69. * Tue Feb 15 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.07-1
  70. - Update to 1.07.
  71. * Sun Oct 3 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.06-0.fdr.1
  72. - Update to 1.06.
  73. * Sun Jul 18 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.05-0.fdr.1
  74. - First build.