psabata pushed to perl-POE-XS-Queue-Array (f22). "Initial commit (#1228207)"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Jun 5 08:34:01 UTC 2015


From 9b8c1675968d14ba47223688a0019fbd8941256f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Fri, 5 Jun 2015 10:28:53 +0200
Subject: Initial commit (#1228207)


diff --git a/.gitignore b/.gitignore
index e69de29..bd70d6b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/POE-XS-Queue-Array-0.006.tar.gz
diff --git a/perl-POE-XS-Queue-Array.spec b/perl-POE-XS-Queue-Array.spec
new file mode 100644
index 0000000..29392c0
--- /dev/null
+++ b/perl-POE-XS-Queue-Array.spec
@@ -0,0 +1,56 @@
+Name:           perl-POE-XS-Queue-Array
+Version:        0.006
+Release:        1%{?dist}
+Summary:        XS implementation of POE::Queue::Array
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/POE-XS-Queue-Array/
+Source0:        http://www.cpan.org/authors/id/T/TO/TONYC/POE-XS-Queue-Array-%{version}.tar.gz
+# Build
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(strict)
+# Runtime
+# XSLoader is preferred
+# XXX: BuildRequires:  perl(DynaLoader)
+BuildRequires:  perl(POE::Queue)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(XSLoader)
+# Tests only
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Errno)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(POSIX)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+# XXX: Requires:       perl(DynaLoader)
+Requires:       perl(XSLoader)
+
+%description
+This class is an implementation of the abstract POE::Queue interface. It
+implements a priority queue using C, with an XS interface supplied.
+
+%prep
+%setup -q -n POE-XS-Queue-Array-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+
+%doc Changes README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Jun 04 2015 Petr Ĺ abata <contyk at redhat.com> 0.006-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..a0853fc 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3e5008977f5993ad3fc265d2d98b8ad7  POE-XS-Queue-Array-0.006.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-POE-XS-Queue-Array.git/commit/?h=f22&id=9b8c1675968d14ba47223688a0019fbd8941256f


More information about the scm-commits mailing list