%global module PFT Name: perl-%{module} Version: 1.4.1 Release: 10%{?dist} Summary: Hacker friendly static blog generator, core library License: GPLv3+ URL: https://github.com/dacav/%{module} Source0: https://github.com/dacav/%{module}/archive/v%{version}.tar.gz#/%{module}-%{version}.tar.gz BuildArch: noarch # As by /etc/rpmdevtools/spectemplate-perl.spec BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) # Additional dependencies at build time # tangerine -c Makefile.PL lib \| # perl -nE '/^\s/ and next; s/^/BuildRequires: perl(/; s/$/)/; print' BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Cwd) BuildRequires: perl(Encode) BuildRequires: perl(Encode::Locale) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(feature) BuildRequires: perl(File::Basename) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(File::Temp) BuildRequires: perl(IO::File) BuildRequires: perl(overload) BuildRequires: perl(parent) BuildRequires: perl(Scalar::Util) BuildRequires: perl(strict) BuildRequires: perl(Test::More) BuildRequires: perl(Text::Markdown) BuildRequires: perl(utf8) BuildRequires: perl(warnings) BuildRequires: perl(YAML::Tiny) # As by /etc/rpmdevtools/spectemplate-perl.spec Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description PFT stands for *Plain F. Text*, where the meaning of *F.* is up to personal interpretation. Like *Fancy* or *Fantastic*. It is yet another static website generator. This means your content is compiled once and the result can be served by a simple HTTP server, without need of server-side dynamic content generation. This package provides the core library which abstracts away the file-system access. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check LC_ALL=C.UTF-8 make test %files %doc %{_mandir}/man3/* %{!?_licensedir:%global license %%doc} %{perl_vendorlib}/* %doc README.md %license LICENSE %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.4.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 1.4.1-9 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.4.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.4.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 1.4.1-6 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.4.1-3 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Jul 23 2019 Giovanni Simoni - 1.4.1-1 - Release 1.4.1 * Fri May 31 2019 Jitka Plesnikova - 1.2.1-7 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.2.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Nov 19 2018 Zbigniew Jędrzejewski-Szmek - 1.2.1-5 - Use C.UTF-8 locale See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot * Fri Jul 13 2018 Fedora Release Engineering - 1.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 1.2.1-3 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Oct 24 2017 dacav - 1.2.1 - Release 1.2.1 * Thu Jul 27 2017 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 1.2.0-2 - Perl 5.26 rebuild * Mon May 08 2017 dacav - 1.2.0-1 - Release 1.2.0 * Tue Feb 28 2017 dacav - 1.1.2-1 - Release 1.1.2 * Sat Feb 11 2017 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Dec 27 2016 - 1.1.0-1 - Release 1.1.0 * Sat Sep 03 2016 - 1.0.4-1 - Release 1.0.4 * Fri Aug 26 2016 - 1.0.3-4 - Using tangerine for BuildRequires - Fixed changelog * Mon Aug 22 2016 - 1.0.3-3 - Using global instead of define - GPLv3+ - Added perl and perl-generators as by template - Removed unneded optimization flag - Misc install fixes - License fixes - Added README as doc * Sun Aug 14 2016 - 1.0.3-2 - Fixed US English * Thu Aug 04 2016 - 1.0.3-1 - Release 1.0.3 * Mon Jun 20 2016 1.0.1-1.fc23 - First packaging