From 045d42d83cc5ca9e8376a74ec4ec9d5cd0c8573f Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 02 2019 22:57:48 +0000 Subject: import perl-Thread-Queue-3.02-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0b4e752 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Thread-Queue-3.02.tar.gz diff --git a/.perl-Thread-Queue.metadata b/.perl-Thread-Queue.metadata new file mode 100644 index 0000000..a884d3d --- /dev/null +++ b/.perl-Thread-Queue.metadata @@ -0,0 +1 @@ +34effe654cdfc3ed0f6fddb4e85c66ba8f76b774 SOURCES/Thread-Queue-3.02.tar.gz diff --git a/SPECS/perl-Thread-Queue.spec b/SPECS/perl-Thread-Queue.spec new file mode 100644 index 0000000..cda7ad0 --- /dev/null +++ b/SPECS/perl-Thread-Queue.spec @@ -0,0 +1,61 @@ +Name: perl-Thread-Queue +Version: 3.02 +Release: 2%{?dist} +Summary: Thread-safe queues +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Thread-Queue/ +Source0: http://www.cpan.org/authors/id/J/JD/JDHEDDEN/Thread-Queue-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(Scalar::Util) >= 1.10 +BuildRequires: perl(threads::shared) >= 1.21 +# Tests: +BuildRequires: perl(Config) +BuildRequires: perl(Exporter) +BuildRequires: perl(Test::More) >= 0.50 +BuildRequires: perl(Thread::Semaphore) +BuildRequires: perl(threads) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Carp) + +%global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}%{_datadir}/doc/ + +%description +This module provides thread-safe FIFO queues that can be accessed safely by +any number of threads. + +%prep +%setup -q -n Thread-Queue-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes examples README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Dec 27 2013 Daniel Mach - 3.02-2 +- Mass rebuild 2013-12-27 + +* Fri Mar 01 2013 Petr Pisar - 3.02-1 +- 3.02 bump + +* Thu Feb 14 2013 Petr Pisar 3.01-1 +- Specfile autogenerated by cpanspec 1.78.