perl-ExtUtils-PkgConfig/perl-ExtUtils-PkgConfig.spec

96 lines
2.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-ExtUtils-PkgConfig (Version 1.12)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-ExtUtils-PkgConfig
BuildRequires: pkgconfig
Version: 1.12
Release: 1
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: LGPL v2.1 or later
Url: http://cpan.org/modules/by-module/ExtUtils/
Summary: ExtUtils-PkgConfig Perl module
Source: ExtUtils-PkgConfig-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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.
Authors:
--------
muppet <scott@asofyet.org>
%prep
%setup -n ExtUtils-PkgConfig-%{version} -q
%build
perl Makefile.PL
make
make test
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc Changes README
%doc %{_mandir}/man?/*
%{perl_vendorlib}/ExtUtils
%{perl_vendorarch}/auto/ExtUtils
/var/adm/perl-modules/%{name}
%changelog
* Tue Jan 20 2009 anicka@suse.cz
- update to 1.12
* Try to fix a test failure.
* Mon Mar 17 2008 anicka@suse.cz
- update to 1.11
* Fix test failures.
* If pkg-config isn't found, warn and exit with status 0 instead of
just dying so that CPAN testers don't send bogus failure reports.
* Wed Jan 23 2008 anicka@suse.cz
- update to 1.09
* Add support for more pkg-config commands: cflags-only-I,
cflags-only-other, libs-only-other, and static-libs
* Fix a test failure in t/4.t
* Only print failure messages if appropriate; silence test suite.
* Thu Nov 01 2007 anicka@suse.cz
- update to 1.08
* add Makefile.PL to MANIFEST.
* In the version macro generator, handle non-numeric version number
parts by only using the leading digits.
* Make pkg-config print the errors it encounters so users know
what went wrong.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jul 29 2005 mjancar@suse.cz
- update to 1.07
* Tue Nov 02 2004 mcihar@suse.cz
- initial packaging