1 | Summary: Simplistic interface to pkg-config |
---|
2 | Name: perl-ExtUtils-PkgConfig |
---|
3 | Version: 1.08 |
---|
4 | Release: 1%{?_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 | %description |
---|
20 | The pkg-config program retrieves information about installed libraries, |
---|
21 | usually for the purposes of compiling against and linking to them. |
---|
22 | |
---|
23 | ExtUtils::PkgConfig is a very simplistic interface to this utility, |
---|
24 | intended for use in the Makefile.PL of perl extensions which bind |
---|
25 | libraries that pkg-config knows. It is really just boilerplate code |
---|
26 | that you would've written yourself. |
---|
27 | |
---|
28 | |
---|
29 | %prep |
---|
30 | %setup -q -n ExtUtils-PkgConfig-%{version} |
---|
31 | |
---|
32 | |
---|
33 | %build |
---|
34 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
35 | make %{?_smp_mflags} |
---|
36 | |
---|
37 | |
---|
38 | %install |
---|
39 | rm -rf $RPM_BUILD_ROOT |
---|
40 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
41 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
42 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
43 | chmod -R u+w $RPM_BUILD_ROOT/* |
---|
44 | |
---|
45 | |
---|
46 | %check |
---|
47 | make test |
---|
48 | |
---|
49 | |
---|
50 | %clean |
---|
51 | rm -rf $RPM_BUILD_ROOT |
---|
52 | |
---|
53 | |
---|
54 | %files |
---|
55 | %defattr(-,root,root,-) |
---|
56 | %doc Changes README |
---|
57 | %{perl_vendorlib}/ExtUtils/ |
---|
58 | %{_mandir}/man3/*.3pm* |
---|
59 | |
---|
60 | |
---|
61 | %changelog |
---|
62 | * Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.08-1 |
---|
63 | - new upstream release |
---|
64 | - build on perl-5.10 |
---|
65 | |
---|
66 | * Wed Aug 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.07-5vl1 |
---|
67 | - Initial build for Vine |
---|
68 | |
---|
69 | * Sat Sep 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-5 |
---|
70 | - Rebuild for FC6. |
---|
71 | |
---|
72 | * Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-4 |
---|
73 | - Rebuild for FC5 (perl 5.8.8). |
---|
74 | |
---|
75 | * Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-3 |
---|
76 | - Dist tag. |
---|
77 | |
---|
78 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.07-2 |
---|
79 | - rebuilt |
---|
80 | |
---|
81 | * Tue Feb 15 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.07-1 |
---|
82 | - Update to 1.07. |
---|
83 | |
---|
84 | * Sun Oct 3 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.06-0.fdr.1 |
---|
85 | - Update to 1.06. |
---|
86 | |
---|
87 | * Sun Jul 18 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.05-0.fdr.1 |
---|
88 | - First build. |
---|