Name: perl-Clownfish-CFC Version: 0.6.3 Release: 17%{?dist} Summary: Compiler for Apache Clownfish # other files: ASL 2.0 ## Unbundled # lemon: ASL 2.0 # modules/CommonMark: BSD and MIT License: ASL 2.0 URL: https://metacpan.org/release/Clownfish-CFC Source0: https://cpan.metacpan.org/authors/id/N/NW/NWELLNHOF/Clownfish-CFC-%{version}.tar.gz # Use system lemon, Patch0: Clownfish-CFC-0.6.0-Use-system-lemon-if-possible.patch # Handle pkg-config output with multiple arguments, bug #1416443, # Patch1: Clownfish-CFC-0.6.1-Segment-ExtUtils-PkgConfig-output-into-arguments.patch # There is charmonizer.c which is becoming a separate project # . However, lucy-charmonizer has # not yet been released . Also # Clownfish-CFC'c lib/Clownfish/CFC/Perl/Build/Charmonic.pm still relies on # the local location. charmonizer.c is used only at build time. # Therefore I'm not going to unbudle the charmonizer.c now. BuildRequires: cmark-devel BuildRequires: coreutils BuildRequires: findutils BuildRequires: gcc BuildRequires: lemon BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter # Modules from buildlib and Clownfish::CFC::Perl::Build::Charmonic from lib # are used for building BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(Config) BuildRequires: perl(Cwd) BuildRequires: perl(Devel::PPPort) >= 3.14 BuildRequires: perl(ExtUtils::PkgConfig) BuildRequires: perl(File::Copy) BuildRequires: perl(File::Find) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(lib) BuildRequires: perl(Module::Build) BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: sed # Run-time: # Clownfish not used at tests BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::CBuilder) >= 0.18 # Yes, ExtUtils::CBuilder::Platform::Windows::GCC is required BuildRequires: perl(ExtUtils::CBuilder::Platform::Windows::GCC) BuildRequires: perl(ExtUtils::Mkbootstrap) BuildRequires: perl(ExtUtils::ParseXS) >= 3.00 BuildRequires: perl(Fcntl) BuildRequires: perl(Scalar::Util) BuildRequires: perl(XSLoader) # Tests: BuildRequires: perl(File::stat) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) # Clownfish not used. I believe it's used only when Clownfish-CFC is called # from the Clownfish. Adding symetric dependency between Clownfish-CFC and # Clownfish would create a cycle which is not desired for bulding and # idempotent at run-time. Requires: perl(Devel::PPPort) >= 3.14 Requires: perl(ExtUtils::CBuilder) >= 0.18 # Yes, ExtUtils::CBuilder::Platform::Windows::GCC is required Requires: perl(ExtUtils::CBuilder::Platform::Windows::GCC) Requires: perl(ExtUtils::Mkbootstrap) Requires: perl(ExtUtils::ParseXS) >= 3.00 # Filter non-versioned provides. Clownfish/CFC.pm extends name spaces of all # the other modules that are defined with version in their respective files. %global __provides_exclude %{?__provides_exclude:%{__provides_exclude}|}^perl\\([^)]*\\)$ %description This is a compiler for Apache Clownfish. %prep %setup -q -n Clownfish-CFC-%{version} %patch0 -p1 %patch1 -p1 # Unbundle lemon rm -rf lemon sed -i -e '/^lemon\//d' MANIFEST # Unbundle cmark rm -rf modules/CommonMark sed -i -e '/^modules\/CommonMark\//d' MANIFEST %build perl Build.PL --installdirs=vendor --optimize="$RPM_OPT_FLAGS" \ --with_system_cmark=1 ./Build %install ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %files %license LICENSE %doc CONTRIBUTING.md NOTICE README.md %{perl_vendorarch}/auto/* %{perl_vendorarch}/Clownfish* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.6.3-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 0.6.3-16 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.6.3-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.6.3-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.6.3-13 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.6.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.6.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.6.3-10 - Perl 5.32 rebuild * Tue Feb 04 2020 Petr Pisar - 0.6.3-9 - Rebuild against cmark 0.29.0 (bug #1697593) * Wed Jan 29 2020 Fedora Release Engineering - 0.6.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.6.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.6.3-6 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.6.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.6.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.6.3-3 - Perl 5.28 rebuild * Thu Mar 1 2018 Florian Weimer - 0.6.3-2 - Rebuild with new redhat-rpm-config/perl build flags * Tue Feb 27 2018 Petr Pisar - 0.6.3-1 - 0.6.3 bump * Thu Feb 08 2018 Fedora Release Engineering - 0.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Dec 11 2017 Jens Petersen - 0.6.2-2 - rebuild against newer cmark * Thu Nov 23 2017 Petr Pisar - 0.6.2-1 - 0.6.2 bump * Thu Aug 03 2017 Fedora Release Engineering - 0.6.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.6.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.6.1-5 - Perl 5.26 rebuild * Tue Feb 28 2017 Petr Pisar - 0.6.1-4 - Rebuild against cmark-0.27 * Sat Feb 11 2017 Fedora Release Engineering - 0.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Jan 25 2017 Petr Pisar - 0.6.1-2 - Handle pkg-config output with multiple arguments (bug #1416443) * Wed Dec 14 2016 Jitka Plesnikova - 0.6.1-1 - 0.6.1 bump * Thu Dec 01 2016 Petr Pisar - 0.6.0.5-1 - 0.6.0.5 bump * Mon Oct 10 2016 Petr Pisar - 0.6.0.4-1 - 0.6.0.4 bump * Thu Sep 29 2016 Petr Pisar - 0.6.0-1 - 0.6.0 bump * Sun May 15 2016 Jitka Plesnikova - 0.5.1-3 - Perl 5.24 rebuild * Mon May 02 2016 Petr Pisar - 0.5.1-2 - Rebuild against cmark-0.25.2 * Mon Apr 25 2016 Petr Pisar - 0.5.1-1 - 0.5.1 bump * Mon Apr 04 2016 Petr Pisar - 0.5.0-1 - 0.5.0 bump * Thu Feb 04 2016 Petr Pisar - 0.4.4-1 - 0.4.4 bump * Mon Jan 25 2016 Petr Pisar - 0.4.3-1 - 0.4.3 bump * Thu Sep 17 2015 Petr Pisar 0.4.2-1 - Specfile autogenerated by cpanspec 1.78.