Name: perl-PkgConfig-LibPkgConf Version: 0.06 Release: 1%{?dist} Summary: Interface to pkg-config files via libpkgconf License: GPL+ or Artistic URL: http://search.cpan.org/dist/PkgConfig-LibPkgConf/ Source0: http://www.cpan.org/authors/id/P/PL/PLICEASE/PkgConfig-LibPkgConf-%{version}.tar.gz # Fix building on 32-bit platforms by respecting perl's ccflags, # Patch0: PkgConfig-LibPkgConf-0.06-Respect-Config-ccflags.patch BuildRequires: findutils BuildRequires: gcc BuildRequires: make BuildRequires: perl BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl(:VERSION) >= 5.8.1 # Use Alien::pkgconf instead of some complicated guess # script/cc_wrapper.pl and script/ld_wrapper.pl not used with Alien::pkgconf BuildRequires: perl(Alien::pkgconf) >= 0.10 BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Run-time: BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(Exporter) BuildRequires: perl(overload) BuildRequires: perl(Scalar::Util) BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: perl(XSLoader) # Tests: BuildRequires: perl(Cwd) BuildRequires: perl(File::Basename) BuildRequires: perl(File::Path) BuildRequires: perl(File::Temp) BuildRequires: perl(Test::More) >= 0.94 # Optional tests: BuildRequires: perl(YAML) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Carp) %description Many libraries in compiled languages such as C or C++ provide *.pc files to specify the flags required for compiling and linking against those libraries. Traditionally, the command line program pkg-config is used to query these files. This package provides a Perl-level API using libpkgconf to these files. %prep %setup -q -n PkgConfig-LibPkgConf-%{version} %patch0 -p1 %build unset FFI_PLATYPUS_DEBUG perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %license LICENSE %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/PkgConfig* %{_mandir}/man3/* %changelog * Thu Mar 09 2017 Petr Pisar 0.06-1 - Specfile autogenerated by cpanspec 1.78.