2007-01-16 00:30:33 +01:00
|
|
|
#
|
2009-01-22 13:13:43 +01:00
|
|
|
# spec file for package perl-ExtUtils-PkgConfig (Version 1.12)
|
2007-01-16 00:30:33 +01:00
|
|
|
#
|
2010-01-12 11:53:37 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:30:33 +01:00
|
|
|
#
|
2009-01-22 13:13:43 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-11-02 01:36:23 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-16 00:30:33 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2010-11-26 17:22:45 +01:00
|
|
|
|
2007-11-02 01:36:23 +01:00
|
|
|
Name: perl-ExtUtils-PkgConfig
|
2010-11-24 20:31:07 +01:00
|
|
|
%define cpan_name ExtUtils-PkgConfig
|
|
|
|
Summary: Simplistic interface to pkg-config
|
2009-01-22 13:13:43 +01:00
|
|
|
Version: 1.12
|
2010-11-26 17:22:45 +01:00
|
|
|
Release: 10
|
2010-01-12 11:53:37 +01:00
|
|
|
License: LGPLv2.1+
|
2010-11-24 20:31:07 +01:00
|
|
|
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
|
2007-11-02 01:36:23 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-11-24 20:31:07 +01:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: perl
|
|
|
|
%if 0%{?suse_version} < 1120
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
%endif
|
2010-11-30 20:25:39 +01:00
|
|
|
%{perl_requires}
|
2007-01-16 00:30:33 +01:00
|
|
|
|
|
|
|
%description
|
2010-11-24 20:31:07 +01:00
|
|
|
The pkg-config program retrieves information about installed libraries,
|
|
|
|
usually for the purposes of compiling against and linking to them.
|
2007-01-16 00:30:33 +01:00
|
|
|
|
2010-11-24 20:31:07 +01:00
|
|
|
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.
|
2007-01-16 00:30:33 +01:00
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
2010-11-24 20:31:07 +01:00
|
|
|
muppet <scott at asofyet dot org>
|
2007-01-16 00:30:33 +01:00
|
|
|
|
|
|
|
%prep
|
2010-11-24 20:31:07 +01:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2007-01-16 00:30:33 +01:00
|
|
|
|
|
|
|
%build
|
2010-11-24 20:31:07 +01:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
2007-01-16 00:30:33 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
2010-11-24 20:31:07 +01:00
|
|
|
### since 11.4 perl_process_packlist
|
|
|
|
### removes .packlist, perllocal.pod files
|
|
|
|
%if 0%{?suse_version} > 1130
|
2007-01-16 00:30:33 +01:00
|
|
|
%perl_process_packlist
|
2010-11-24 20:31:07 +01:00
|
|
|
%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
|
2007-01-16 00:30:33 +01:00
|
|
|
|
|
|
|
%clean
|
2010-11-24 20:31:07 +01:00
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2007-01-16 00:30:33 +01:00
|
|
|
|
2010-11-24 20:31:07 +01:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,-)
|
2007-01-16 00:30:33 +01:00
|
|
|
%doc Changes README
|
2008-01-23 23:28:08 +01:00
|
|
|
|
2007-11-02 01:36:23 +01:00
|
|
|
%changelog
|