Name: perl-Linux-Inotify2 Summary: Scalable directory/file change notification Version: 2.3 Release: 9%{?dist} License: GPL-1.0-or-later OR Artistic-1.0-Perl Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Linux-Inotify2-%{version}.tar.gz URL: https://metacpan.org/release/Linux-Inotify2 Patch0: Linux-Inotify2-2.3-use-File-Temp-for-temporary-dir.patch BuildRequires: coreutils BuildRequires: findutils BuildRequires: gcc BuildRequires: make BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Run-time: BuildRequires: perl(common::sense) BuildRequires: perl(Exporter) BuildRequires: perl(Scalar::Util) BuildRequires: perl(XSLoader) # Tests: BuildRequires: perl(Test::Simple) Requires: perl(XSLoader) %{?perl_default_filter} %description This module implements an interface to the Linux 2.6.13+ Inotify file/directory change notification system. It has a number of advantages over the Linux::Inotify module: - it is portable (Linux::Inotify only works on x86) - the equivalent of full name works correctly - it is better documented - it has callback-style interface, which is better suited for integration. %package tests Summary: Tests for %{name} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: perl-Test-Harness %description tests Tests from %{name}. Execute them with "%{_libexecdir}/%{name}/test". %prep %setup -q -n Linux-Inotify2-%{version} %patch0 -p1 find . -type f -exec chmod -c -x {} ';' find eg/ -type f -exec \ perl -MConfig -pi -e 's|^#!/opt/bin/perl|$Config{startperl}|' {} ';' # Help generators to recognize Perl scripts for F in t/*.t; do perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F" chmod +x "$F" done %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} find %{buildroot} -type f -name '*.bs' -a -size 0 -delete %{_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 COPYING %doc Changes README eg/ %{perl_vendorarch}/* %exclude %dir %{perl_vendorarch}/auto %{_mandir}/man3/*.3* %files tests %{_libexecdir}/%{name} %changelog * Thu Jan 25 2024 Fedora Release Engineering - 2.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 2.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 2.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Jitka Plesnikova - 2.3-6 - Perl 5.38 rebuild * Fri Jan 20 2023 Fedora Release Engineering - 2.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 2.3-3 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Aug 02 2021 Jitka Plesnikova - 2.3-1 - 2.3 bump - Package tests * Thu Jul 22 2021 Fedora Release Engineering - 2.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 2.2-6 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 2.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 2.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 2.2-3 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Dec 09 2019 Jitka Plesnikova - 2.2-1 - 2.2 bump * Fri Jul 26 2019 Fedora Release Engineering - 2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 2.1-3 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Oct 26 2018 Jitka Plesnikova - 2.1-1 - 2.1 bump * Thu Oct 25 2018 Jitka Plesnikova - 2.0-1 - 2.0 bump * Fri Jul 13 2018 Fedora Release Engineering - 1.22-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 1.22-21 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.22-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.22-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.22-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 1.22-17 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.22-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 1.22-15 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.22-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jan 26 2016 Petr Pisar - 1.22-13 - Modernize spec file * Thu Jun 18 2015 Fedora Release Engineering - 1.22-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Jun 04 2015 Jitka Plesnikova - 1.22-11 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 1.22-10 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 1.22-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.22-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Feb 15 2014 Robin Lee - 1.22-7 - Drop tests subpackge * Sat Aug 03 2013 Fedora Release Engineering - 1.22-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Jul 18 2013 Petr Pisar - 1.22-5 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.22-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.22-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 1.22-2 - Perl 5.16 rebuild * Sat Jan 14 2012 Robin Lee - 1.22-1 - Update to 1.22 * Fri Jan 13 2012 Fedora Release Engineering - 1.21-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sun Jun 19 2011 Marcela Mašláňová - 1.21-6 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.21-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Dec 20 2010 Marcela Maslanova - 1.21-4 - 661697 rebuild for fixing problems with vendorach/lib * Mon May 03 2010 Marcela Maslanova - 1.21-3 - Mass rebuild with perl-5.12.0 * Sun Feb 28 2010 Chris Weyl 1.21-2 - update by Fedora::App::MaintainerTools 0.004 - added manual BR on perl(Test::Simple) * Sun Feb 28 2010 Chris Weyl 1.21-1 - update by Fedora::App::MaintainerTools 0.004 - PERL_INSTALL_ROOT => DESTDIR - added a new br on perl(common::sense) (version 0) - dropped old BR on perl(Test::Simple) - added a new req on perl(common::sense) (version 0) * Mon Dec 7 2009 Stepan Kasal - 1.2-3 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sun Jun 07 2009 Chris Weyl 1.2-1 - submission * Sun Jun 07 2009 Chris Weyl 1.2-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)