Christian Wittmer 2010-11-24 19:31:07 +00:00 committed by Git OBS Bridge
parent 7b0f48316a
commit ed1a83af6f
2 changed files with 48 additions and 25 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Nov 24 19:29:22 UTC 2010 - chris@computersalat.de
- recreated by cpanspec 1.78
o fix deps
- noarch pkg
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 19 08:31:38 UTC 2010 - coolo@novell.com Tue Oct 19 08:31:38 UTC 2010 - coolo@novell.com

View File

@ -17,52 +17,68 @@
# norootforbuild # norootforbuild
Name: perl-ExtUtils-PkgConfig Name: perl-ExtUtils-PkgConfig
BuildRequires: perl pkgconfig %define cpan_name ExtUtils-PkgConfig
Summary: Simplistic interface to pkg-config
Version: 1.12 Version: 1.12
Release: 9 Release: 1
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: LGPLv2.1+ License: LGPLv2.1+
Url: http://cpan.org/modules/by-module/ExtUtils/ Group: Development/Libraries/Perl
Summary: ExtUtils-PkgConfig Perl module Url: http://search.cpan.org/dist/ExtUtils-PkgConfig/
Source: ExtUtils-PkgConfig-%{version}.tar.bz2 #Source: http://www.cpan.org/authors/id/T/TS/TSCH/ExtUtils-PkgConfig-1.12.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkgconfig
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
Requires: perl = %{perl_version}
%description %description
This module is a simplistic Perl interface to the pkg-config The pkg-config program retrieves information about installed libraries,
command-line utility, for use in the Makefile.PLs used to build Perl usually for the purposes of compiling against and linking to them.
modules which wrap the libraries about which pkg-config knows.
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.
Authors: Authors:
-------- --------
muppet <scott@asofyet.org> muppet <scott at asofyet dot org>
%prep %prep
%setup -n ExtUtils-PkgConfig-%{version} -q %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} %{__make} %{?_smp_mflags}
make test
%check
%{__make} test
%install %install
%perl_make_install %perl_make_install
### since 11.4 perl_process_packlist
### removes .packlist, perllocal.pod files
%if 0%{?suse_version} > 1130
%perl_process_packlist %perl_process_packlist
%else
# do not perl_process_packlist
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -f $RPM_BUILD_ROOT%perl_archlib/perllocal.pod
%endif
%perl_gen_filelist
%clean %clean
rm -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%files %files -f %{name}.files
%defattr(-,root,root) %defattr(-,root,root,-)
%doc Changes README %doc Changes README
%doc %{_mandir}/man?/*
%{perl_vendorlib}/ExtUtils
%{perl_vendorarch}/auto/ExtUtils
/var/adm/perl-modules/%{name}
%changelog %changelog