diff --git a/.cvsignore b/.cvsignore index e69de29..3e62ca8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +ExtUtils-PkgConfig-1.06.tar.gz diff --git a/perl-ExtUtils-PkgConfig.spec b/perl-ExtUtils-PkgConfig.spec new file mode 100644 index 0000000..015c7e6 --- /dev/null +++ b/perl-ExtUtils-PkgConfig.spec @@ -0,0 +1,68 @@ +%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} + +Name: perl-ExtUtils-PkgConfig +Version: 1.06 +Release: 0.fdr.1.rh90 +Epoch: 0 +Summary: Simplistic interface to pkg-config + +Group: Development/Libraries +License: LGPL +URL: http://search.cpan.org/dist/ExtUtils-PkgConfig/ +Source0: http://www.cpan.org/authors/id/T/TS/TSCH/ExtUtils-PkgConfig-1.06.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1 +BuildRequires: pkgconfig, perl(Test::More) +Requires: pkgconfig +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +The pkg-config program retrieves information about installed libraries, +usually for the purposes of compiling against and linking to them. + +ExtUtils::PkgConfig is a very simplistic interface to this utility, +intended for use in the Makefile.PL of perl extensions which bind +libraries that pkg-config knows. It is really just boilerplate code +that you would've written yourself. + + +%prep +%setup -q -n ExtUtils-PkgConfig-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check || : +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/ExtUtils/ +%{_mandir}/man3/*.3* + + +%changelog +* Sun Oct 3 2004 Jose Pedro Oliveira - 0:1.06-0.fdr.1 +- Update to 1.06. + +* Sun Jul 18 2004 Jose Pedro Oliveira - 0:1.05-0.fdr.1 +- First build. diff --git a/sources b/sources index e69de29..3ea2ef6 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +51d1ce5ed570250bc2f043d916cdfaaa ExtUtils-PkgConfig-1.06.tar.gz