| [521] | 1 | Summary: Simplistic interface to pkg-config |
|---|
| 2 | Name: perl-ExtUtils-PkgConfig |
|---|
| [12120] | 3 | Version: 1.16 |
|---|
| 4 | Release: 1%{?_dist_release} |
|---|
| [521] | 5 | |
|---|
| 6 | Group: Development/Libraries |
|---|
| 7 | License: LGPLv2+ |
|---|
| 8 | URL: http://search.cpan.org/dist/ExtUtils-PkgConfig/ |
|---|
| 9 | Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/ExtUtils-PkgConfig-%{version}.tar.gz |
|---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|---|
| 11 | |
|---|
| 12 | BuildArch: noarch |
|---|
| 13 | BuildRequires: pkgconfig |
|---|
| 14 | BuildRequires: perl(ExtUtils::MakeMaker) |
|---|
| 15 | BuildRequires: perl(Test::More) |
|---|
| 16 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
|---|
| 17 | Requires: pkgconfig |
|---|
| 18 | |
|---|
| [3168] | 19 | Vendor: Project Vine |
|---|
| 20 | Distribution: Vine Linux |
|---|
| 21 | |
|---|
| [521] | 22 | %description |
|---|
| 23 | The pkg-config program retrieves information about installed libraries, |
|---|
| 24 | usually for the purposes of compiling against and linking to them. |
|---|
| 25 | |
|---|
| 26 | ExtUtils::PkgConfig is a very simplistic interface to this utility, |
|---|
| 27 | intended for use in the Makefile.PL of perl extensions which bind |
|---|
| 28 | libraries that pkg-config knows. It is really just boilerplate code |
|---|
| 29 | that you would've written yourself. |
|---|
| 30 | |
|---|
| 31 | |
|---|
| 32 | %prep |
|---|
| 33 | %setup -q -n ExtUtils-PkgConfig-%{version} |
|---|
| 34 | |
|---|
| 35 | |
|---|
| 36 | %build |
|---|
| 37 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
|---|
| 38 | make %{?_smp_mflags} |
|---|
| 39 | |
|---|
| 40 | |
|---|
| 41 | %install |
|---|
| 42 | rm -rf $RPM_BUILD_ROOT |
|---|
| 43 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
|---|
| 44 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
|---|
| 45 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
|---|
| 46 | chmod -R u+w $RPM_BUILD_ROOT/* |
|---|
| 47 | |
|---|
| 48 | |
|---|
| 49 | %check |
|---|
| 50 | make test |
|---|
| 51 | |
|---|
| 52 | |
|---|
| 53 | %clean |
|---|
| 54 | rm -rf $RPM_BUILD_ROOT |
|---|
| 55 | |
|---|
| 56 | |
|---|
| 57 | %files |
|---|
| 58 | %defattr(-,root,root,-) |
|---|
| 59 | %doc Changes README |
|---|
| 60 | %{perl_vendorlib}/ExtUtils/ |
|---|
| 61 | %{_mandir}/man3/*.3pm* |
|---|
| 62 | |
|---|
| 63 | |
|---|
| 64 | %changelog |
|---|
| [12120] | 65 | * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16-1 |
|---|
| 66 | - new upstream release. |
|---|
| 67 | - rebuilt with perl-5.26. |
|---|
| 68 | |
|---|
| [8660] | 69 | * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.12-2 |
|---|
| 70 | - build with Perl 5.16 |
|---|
| 71 | |
|---|
| [3168] | 72 | * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 1.12-1 |
|---|
| 73 | - new upstream release |
|---|
| 74 | - add Vendor and Distribution tags |
|---|
| 75 | |
|---|
| [521] | 76 | * Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.08-1 |
|---|
| 77 | - new upstream release |
|---|
| 78 | - build on perl-5.10 |
|---|
| 79 | |
|---|
| 80 | * Wed Aug 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.07-5vl1 |
|---|
| 81 | - Initial build for Vine |
|---|
| 82 | |
|---|
| 83 | * Sat Sep 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-5 |
|---|
| 84 | - Rebuild for FC6. |
|---|
| 85 | |
|---|
| 86 | * Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-4 |
|---|
| 87 | - Rebuild for FC5 (perl 5.8.8). |
|---|
| 88 | |
|---|
| 89 | * Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-3 |
|---|
| 90 | - Dist tag. |
|---|
| 91 | |
|---|
| [12120] | 92 | * Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.07-2 |
|---|
| [521] | 93 | - rebuilt |
|---|
| 94 | |
|---|
| 95 | * Tue Feb 15 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.07-1 |
|---|
| 96 | - Update to 1.07. |
|---|
| 97 | |
|---|
| 98 | * Sun Oct 3 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.06-0.fdr.1 |
|---|
| 99 | - Update to 1.06. |
|---|
| 100 | |
|---|
| 101 | * Sun Jul 18 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.05-0.fdr.1 |
|---|
| 102 | - First build. |
|---|