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

69 lines
1.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-ExtUtils-PkgConfig (Version 1.12)
#
# Copyright (c) 2010 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: perl pkgconfig
Version: 1.12
Release: 9
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: LGPLv2.1+
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 %{?_smp_mflags}
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