|
|
0451aed |
Name: perl-Alien-pkgconf
|
|
|
0451aed |
Version: 0.10
|
|
|
712c2bf |
Release: 5%{?dist}
|
|
|
0451aed |
Summary: Discover pkgconf and libpkgconf
|
|
|
0451aed |
License: GPL+ or Artistic
|
|
|
0451aed |
URL: http://search.cpan.org/dist/Alien-pkgconf/
|
|
|
0451aed |
Source0: http://www.cpan.org/authors/id/P/PL/PLICEASE/Alien-pkgconf-%{version}.tar.gz
|
|
|
0451aed |
# This is a full-arch package because it stores data about arch-specific
|
|
|
0451aed |
# libpkgconf.so library and it stores them into arch-specific directory.
|
|
|
0451aed |
# But it does not install any ELF, therefore disable debuginfo generation.
|
|
|
0451aed |
%global debug_package %{nil}
|
|
|
0451aed |
BuildRequires: make
|
|
|
0451aed |
BuildRequires: perl
|
|
|
0451aed |
BuildRequires: perl-generators
|
|
|
0451aed |
BuildRequires: perl(:VERSION) >= 5.8.1
|
|
|
0451aed |
BuildRequires: perl(Config)
|
|
|
0451aed |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
0451aed |
# FFI::CheckLib is optional but provides additional data to bake into a binary
|
|
|
0451aed |
# package
|
|
|
0451aed |
BuildRequires: perl(FFI::CheckLib)
|
|
|
ba3d839 |
BuildRequires: perl(File::Copy)
|
|
|
0451aed |
BuildRequires: perl(File::Path)
|
|
|
0451aed |
BuildRequires: perl(File::Spec)
|
|
|
0451aed |
BuildRequires: perl(JSON::PP) >= 2.27400
|
|
|
0451aed |
BuildRequires: perl(strict)
|
|
|
0451aed |
BuildRequires: perl(warnings)
|
|
|
0451aed |
BuildRequires: pkgconf
|
|
|
0451aed |
BuildRequires: pkgconfig(libpkgconf) >= 1.3.0
|
|
|
0451aed |
# script/system.pl is executed at build time
|
|
|
0451aed |
# Run-time:
|
|
|
0451aed |
BuildRequires: perl(File::ShareDir) >= 1.102
|
|
|
0451aed |
# Tests:
|
|
|
0451aed |
# An XS code is built by Test::Alien::xs_ok() in t/xs.t
|
|
|
0451aed |
BuildRequires: perl-devel
|
|
|
0451aed |
BuildRequires: perl(Data::Dumper)
|
|
|
0451aed |
# Test2::Bundle::Extended version from Test2::Suite in META
|
|
|
0451aed |
BuildRequires: perl(Test2::Bundle::Extended) >= 0.000065
|
|
|
0451aed |
BuildRequires: perl(Test2::Bundle::More)
|
|
|
0451aed |
BuildRequires: perl(Test2::Tools::Basic)
|
|
|
0451aed |
BuildRequires: perl(Test::Alien) >= 0.08
|
|
|
0451aed |
# This RPM package ensures libpkgconf.so is installed on the system
|
|
|
2a7f77b |
Requires: libpkgconf-devel(%{__isa}) = %(type -p pkgconf >/dev/null && pkgconf --modversion libpkgconf || echo 0)
|
|
|
0451aed |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
0451aed |
Requires: perl(File::ShareDir) >= 1.102
|
|
|
0451aed |
Requires: perl(JSON::PP) >= 2.27400
|
|
|
0451aed |
|
|
|
0451aed |
# Remove under-specified dependencies
|
|
|
0451aed |
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((File::ShareDir|JSON::PP)\\)$
|
|
|
0451aed |
|
|
|
0451aed |
%description
|
|
|
0451aed |
This Perl module provides you with the information that you need to invoke
|
|
|
0451aed |
pkgconf or link against libpkgconf. It isn't intended to be used directly,
|
|
|
0451aed |
but rather to provide the necessary package by a CPAN module that needs
|
|
|
0451aed |
libpkgconf, such as PkgConfig::LibPkgConf.
|
|
|
0451aed |
|
|
|
0451aed |
%prep
|
|
|
0451aed |
%setup -q -n Alien-pkgconf-%{version}
|
|
|
0451aed |
|
|
|
0451aed |
%build
|
|
|
0451aed |
unset ALIEN_FORCE ALIEN_INSTALL_TYPE
|
|
|
0451aed |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
0451aed |
make %{?_smp_mflags}
|
|
|
0451aed |
|
|
|
0451aed |
%install
|
|
|
0451aed |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
0451aed |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
0451aed |
|
|
|
0451aed |
%check
|
|
|
0451aed |
make test
|
|
|
0451aed |
|
|
|
0451aed |
%files
|
|
|
0451aed |
%license LICENSE
|
|
|
0451aed |
%doc Changes README
|
|
|
0451aed |
%{perl_vendorarch}/auto/*
|
|
|
0451aed |
%{perl_vendorarch}/Alien
|
|
|
0451aed |
%{_mandir}/man3/*
|
|
|
0451aed |
|
|
|
0451aed |
%changelog
|
|
|
712c2bf |
* Wed Apr 05 2017 Petr Pisar <ppisar@redhat.com> - 0.10-5
|
|
|
712c2bf |
- Rebuild against libpkgconf-1.3.5
|
|
|
712c2bf |
|
|
|
6fe8680 |
* Mon Apr 03 2017 Petr Pisar <ppisar@redhat.com> - 0.10-4
|
|
|
6fe8680 |
- Rebuild against libpkgconf-1.3.4
|
|
|
6fe8680 |
|
|
|
6d21854 |
* Tue Mar 28 2017 Petr Pisar <ppisar@redhat.com> - 0.10-3
|
|
|
6d21854 |
- Rebuild against libpkgconf-1.3.3
|
|
|
6d21854 |
|
|
|
f9c1cdd |
* Mon Mar 27 2017 Petr Pisar <ppisar@redhat.com> - 0.10-2
|
|
|
f9c1cdd |
- Rebuild against libpkgconf-1.3.2
|
|
|
f9c1cdd |
|
|
|
0451aed |
* Thu Mar 09 2017 Petr Pisar <ppisar@redhat.com> 0.10-1
|
|
|
0451aed |
- Specfile autogenerated by cpanspec 1.78.
|