Name: perl-Alien-cmake3 Version: 0.08 Release: 5%{?dist} Summary: Find or download or build cmake 3 or better License: GPL+ or Artistic URL: https://metacpan.org/release/Alien-cmake3 Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Alien-cmake3-%{version}.tar.gz # This is an Alien::Build plugin, it stores data about architecture specific # files, therefore this is an architecture specific package, yet there is no XS # code, so debuginfo generation and dependency on perl-devel is disabled. %global debug_package %{nil} BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(:VERSION) >= 5.8.1 BuildRequires: perl(Alien::Build::MM) >= 0.32 BuildRequires: perl(alienfile) BuildRequires: perl(Capture::Tiny) BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(File::Spec) BuildRequires: perl(File::Which) BuildRequires: perl(Path::Tiny) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: BuildRequires: cmake >= 3.0.0 BuildRequires: perl(Alien::Base) >= 0.92 BuildRequires: perl(base) # Tests: BuildRequires: perl(Test2::V0) >= 0.000060 BuildRequires: perl(Test::Alien) >= 0.92 Requires: cmake >= 3.0.0 Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Alien::Base) >= 0.92 # Remove under-specified dependencies %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((Alien::Base|Test2::V0)\\)$ %description This Perl Alien distribution provides an external dependency on the build tool cmake version 3.0.0 or better. %package tests Summary: Tests for %{name} BuildArch: noarch Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: perl-Test-Harness Requires: perl(Test2::V0) >= 0.000060 %description tests Tests from %{name}. Execute them with "%{_libexecdir}/%{name}/test". %prep %setup -q -n Alien-cmake3-%{version} # Help generators to recognize Perl scripts for F in t/*.t; do perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' "$F" chmod +x "$F" done %build unset ALIEN_CMAKE_FROM_SOURCE perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} %{buildroot}/* # Install tests mkdir -p %{buildroot}%{_libexecdir}/%{name} cp -a t %{buildroot}%{_libexecdir}/%{name} cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' #!/bin/sh cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" EOF chmod +x %{buildroot}%{_libexecdir}/%{name}/test %check export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}') make test %files %license LICENSE %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Alien* %{_mandir}/man3/* %files tests %{_libexecdir}/%{name} %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.08-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.08-4 - Perl 5.36 rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.08-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.08-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jul 19 2021 Petr Pisar - 0.08-1 - 0.08 bump * Mon May 31 2021 Petr Pisar - 0.06-1 - 0.06 bump - Package the tests * Fri May 21 2021 Jitka Plesnikova - 0.05-6 - Perl 5.34 rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.05-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.05-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.05-3 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.05-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Nov 14 2019 Petr Pisar - 0.05-1 - 0.05 bump * Fri Jul 26 2019 Fedora Release Engineering - 0.04-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.04-6 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.04-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.04-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 30 2018 Jitka Plesnikova - 0.04-3 - Perl 5.28 re-rebuild of bootstrapped packages * Thu Feb 08 2018 Fedora Release Engineering - 0.04-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Nov 06 2017 Petr Pisar - 0.04-1 - 0.04 bump * Fri Aug 18 2017 Petr Pisar - 0.03-1 - Specfile autogenerated by cpanspec 1.78.