commit 2459e9eda50990ffc1685d39cf86e4edef84a88a Author: Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Thu May 8 15:28:03 2014 +0200 Initial import. .gitignore | 1 + perl-Thread-SigMask.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 54 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..45afe4f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Thread-SigMask-0.004.tar.gz diff --git a/perl-Thread-SigMask.spec b/perl-Thread-SigMask.spec new file mode 100644 index 0000000..2c46293 --- /dev/null +++ b/perl-Thread-SigMask.spec @@ -0,0 +1,52 @@ +Name: perl-Thread-SigMask +Version: 0.004 +Release: 1%{?dist} +Summary: Thread specific signal masks +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Thread-SigMask/ +Source0: http://www.cpan.org/authors/id/L/LE/LEONT/Thread-SigMask-%{version}.tar.gz +BuildRequires: perl >= 0:5.006 +BuildRequires: perl(Exporter) >= 5.57 +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(Module::Build) +BuildRequires: perl(POSIX) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) +BuildRequires: perl(XSLoader) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module provides per-thread signal masks. On non-threaded perls it will +be effectively the same as POSIX::sigprocmask. The interface works exactly +the same as sigprocmask. + +%prep +%setup -q -n Thread-SigMask-%{version} + +%build +%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" +./Build + +%install +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%files +%doc Changes LICENSE README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Thread* +%{_mandir}/man3/* + +%changelog +* Mon Apr 14 2014 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> 0.004-1 +- Initial Fedora package. diff --git a/sources b/sources index e69de29..15540f9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +80e533b6d33e4e9a4120e8add71fb00b Thread-SigMask-0.004.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel