1 | Summary: Simplistic interface to pkg-config |
---|
2 | Name: perl-ExtUtils-PkgConfig |
---|
3 | Version: 1.12 |
---|
4 | Release: 2%{?_dist_release} |
---|
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 | |
---|
19 | Vendor: Project Vine |
---|
20 | Distribution: Vine Linux |
---|
21 | |
---|
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 |
---|
65 | * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.12-2 |
---|
66 | - build with Perl 5.16 |
---|
67 | |
---|
68 | * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 1.12-1 |
---|
69 | - new upstream release |
---|
70 | - add Vendor and Distribution tags |
---|
71 | |
---|
72 | * Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.08-1 |
---|
73 | - new upstream release |
---|
74 | - build on perl-5.10 |
---|
75 | |
---|
76 | * Wed Aug 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.07-5vl1 |
---|
77 | - Initial build for Vine |
---|
78 | |
---|
79 | * Sat Sep 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-5 |
---|
80 | - Rebuild for FC6. |
---|
81 | |
---|
82 | * Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-4 |
---|
83 | - Rebuild for FC5 (perl 5.8.8). |
---|
84 | |
---|
85 | * Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-3 |
---|
86 | - Dist tag. |
---|
87 | |
---|
88 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.07-2 |
---|
89 | - rebuilt |
---|
90 | |
---|
91 | * Tue Feb 15 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.07-1 |
---|
92 | - Update to 1.07. |
---|
93 | |
---|
94 | * Sun Oct 3 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.06-0.fdr.1 |
---|
95 | - Update to 1.06. |
---|
96 | |
---|
97 | * Sun Jul 18 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.05-0.fdr.1 |
---|
98 | - First build. |
---|