# The tests don't work in mock, they can be run on local machine %bcond_with testsuite Name: perl-Fuse Version: 0.16.1 Release: 22%{?dist} Summary: Write filesystems in Perl using FUSE # LGPLv2: Reference from metadata # (GPLv2+ or LGPLv2+): same license as fuse as mention in README License: LGPLv2 and (GPLv2+ or LGPLv2+) URL: https://metacpan.org/release/Fuse Source0: https://cpan.metacpan.org/authors/id/D/DP/DPATES/Fuse-%{version}.tar.gz BuildRequires: coreutils BuildRequires: findutils BuildRequires: gcc BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(POSIX) BuildRequires: pkgconfig BuildRequires: pkgconfig(fuse) %if %{with testsuite} # Run-time BuildRequires: perl(AutoLoader) BuildRequires: perl(Carp) BuildRequires: perl(Config) BuildRequires: perl(constant) BuildRequires: perl(DynaLoader) BuildRequires: perl(Errno) BuildRequires: perl(Exporter) BuildRequires: perl(List::Util) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Tests BuildRequires: fuse BuildRequires: perl(blib) BuildRequires: perl(Data::Dumper) BuildRequires: perl(English) BuildRequires: perl(Fcntl) BuildRequires: perl(Getopt::Long) BuildRequires: perl(IO::File) BuildRequires: perl(Test::Harness) BuildRequires: perl(Test::More) BuildRequires: util-linux # Optional test BuildRequires: perl(Filesys::Statvfs) BuildRequires: perl(Lchown) BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(threads) BuildRequires: perl(threads::shared) BuildRequires: perl(Unix::Mknod) %endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Recommends: perl(threads) Recommends: perl(threads::shared) %description This lets you implement filesystems in perl, through the FUSE (Filesystem in USErspace) kernel/lib interface. %prep %setup -q -n Fuse-%{version} find -type f -exec chmod -c a-x {} + %build 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 %if %{with testsuite} make test %endif %files %doc AUTHORS examples Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Fuse* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.16.1-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 0.16.1-21 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.16.1-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.16.1-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.16.1-18 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.16.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.16.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 0.16.1-15 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.16.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.16.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 0.16.1-12 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.16.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.16.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 0.16.1-9 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.16.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.16.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.16.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.16.1-5 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.16.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat May 14 2016 Jitka Plesnikova - 0.16.1-3 - Perl 5.24 rebuild * Mon Feb 01 2016 Jitka Plesnikova - 0.16.1-2 - Updated due to the review comments * Mon Jan 18 2016 Jitka Plesnikova - 0.16.1-1 - Initial release