Accepting request 53914 from devel:languages:perl
Accepted submit request 53914 from user computersalat OBS-URL: https://build.opensuse.org/request/show/53914 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-ExtUtils-PkgConfig?expand=0&rev=14
This commit is contained in:
commit
c0a7457c44
@ -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
|
||||
|
||||
|
@ -17,52 +17,68 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-ExtUtils-PkgConfig
|
||||
BuildRequires: perl pkgconfig
|
||||
%define cpan_name ExtUtils-PkgConfig
|
||||
Summary: Simplistic interface to pkg-config
|
||||
Version: 1.12
|
||||
Release: 9
|
||||
Requires: perl = %{perl_version}
|
||||
AutoReqProv: on
|
||||
Group: Development/Libraries/Perl
|
||||
Release: 1
|
||||
License: LGPLv2.1+
|
||||
Url: http://cpan.org/modules/by-module/ExtUtils/
|
||||
Summary: ExtUtils-PkgConfig Perl module
|
||||
Source: ExtUtils-PkgConfig-%{version}.tar.bz2
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/ExtUtils-PkgConfig/
|
||||
#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
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
Requires: perl = %{perl_version}
|
||||
|
||||
%description
|
||||
This module is a simplistic Perl interface to the pkg-config
|
||||
command-line utility, for use in the Makefile.PLs used to build Perl
|
||||
modules which wrap the libraries about which pkg-config knows.
|
||||
|
||||
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.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
muppet <scott@asofyet.org>
|
||||
muppet <scott at asofyet dot org>
|
||||
|
||||
%prep
|
||||
%setup -n ExtUtils-PkgConfig-%{version} -q
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
make %{?_smp_mflags}
|
||||
make test
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
### since 11.4 perl_process_packlist
|
||||
### removes .packlist, perllocal.pod files
|
||||
%if 0%{?suse_version} > 1130
|
||||
%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
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorlib}/ExtUtils
|
||||
%{perl_vendorarch}/auto/ExtUtils
|
||||
/var/adm/perl-modules/%{name}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user