commit 7cab8f1e4273316ee5f9155843ef28ec8fae48d0 Author: Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Thu May 8 15:48:14 2014 +0200 Initial import. .gitignore | 1 + perl-Signal-Mask.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 58 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..f3604a6 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Signal-Mask-0.007.tar.gz diff --git a/perl-Signal-Mask.spec b/perl-Signal-Mask.spec new file mode 100644 index 0000000..0c96111 --- /dev/null +++ b/perl-Signal-Mask.spec @@ -0,0 +1,56 @@ +Name: perl-Signal-Mask +Version: 0.007 +Release: 1%{?dist} +Summary: Signal masks made easy +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Signal-Mask/ +Source0: http://www.cpan.org/authors/id/L/LE/LEONT/Signal-Mask-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl >= 0:5.006 +BuildRequires: perl(Carp) +BuildRequires: perl(Config) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(IPC::Signal) +BuildRequires: perl(POSIX) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(Thread::SigMask) +BuildRequires: perl(warnings) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Signal::Mask is an abstraction around your process or thread signal mask. +It is used to fetch and/or change the signal mask of the calling process or +thread. The signal mask is the set of signals whose delivery is currently +blocked for the caller. It is available as the global hash Signal::Mask. + +%prep +%setup -q -n Signal-Mask-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Apr 14 2014 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> 0.007-1 +- Initial Fedora package. diff --git a/sources b/sources index e69de29..382dbc7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a4fca8bfe8dab6447476d736bf95bd25 Signal-Mask-0.007.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