[perl-POSIX-AtFork] Import

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit b93c402ac084573f9e820b273de7061dfa90be17
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Thu Feb 28 12:06:58 2013 +0100

    Import

 .gitignore             |    1 +
 perl-POSIX-AtFork.spec |   59 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2aaddf4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/POSIX-AtFork-0.02.tar.gz
diff --git a/perl-POSIX-AtFork.spec b/perl-POSIX-AtFork.spec
new file mode 100644
index 0000000..bad198e
--- /dev/null
+++ b/perl-POSIX-AtFork.spec
@@ -0,0 +1,59 @@
+Name:           perl-POSIX-AtFork
+Version:        0.02
+Release:        1%{?dist}
+Summary:        Hook registrations at fork(2)
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/POSIX-AtFork/
+Source0:        http://www.cpan.org/authors/id/G/GF/GFUJI/POSIX-AtFork-%{version}.tar.gz
+BuildRequires:  perl
+BuildRequires:  perl(inc::Module::Install)
+BuildRequires:  perl(Module::Install::XSUtil)
+# Run-time:
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+BuildRequires:  perl(XSLoader) >= 0.1
+# Tests:
+BuildRequires:  perl(POSIX)
+BuildRequires:  perl(Test::More) >= 0.88
+BuildRequires:  perl(Test::SharedFork)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(XSLoader) >= 0.1
+
+%{?perl_default_filter}
+
+# Filter under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(XSLoader\\)
+
+%description
+This module is an interface to pthread_atfork(3), which registers handlers
+called before and after fork(2).
+
+%prep
+%setup -q -n POSIX-AtFork-%{version}
+rm -rf inc/*
+sed -i -e '/^inc\//d' MANIFEST
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/POSIX*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Feb 12 2013 Petr Pisar <ppisar@xxxxxxxxxx> 0.02-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..3ad77cc 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+185c2a692a4094578bc61a300e6a0d63  POSIX-AtFork-0.02.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



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux