94db26
Name:           perl-Thread-Queue
94db26
Version:        3.02
94db26
Release:        1%{?dist}
94db26
Summary:        Thread-safe queues
94db26
License:        GPL+ or Artistic
94db26
Group:          Development/Libraries
94db26
URL:            http://search.cpan.org/dist/Thread-Queue/
94db26
Source0:        http://www.cpan.org/authors/id/J/JD/JDHEDDEN/Thread-Queue-%{version}.tar.gz
94db26
BuildArch:      noarch
94db26
BuildRequires:  perl
94db26
BuildRequires:  perl(ExtUtils::MakeMaker)
94db26
BuildRequires:  perl(strict)
94db26
BuildRequires:  perl(warnings)
94db26
# Run-time:
94db26
BuildRequires:  perl(Carp)
94db26
BuildRequires:  perl(Scalar::Util) >= 1.10
94db26
BuildRequires:  perl(threads::shared) >= 1.21
94db26
# Tests:
94db26
BuildRequires:  perl(Config)
94db26
BuildRequires:  perl(Exporter)
94db26
BuildRequires:  perl(Test::More) >= 0.50
94db26
BuildRequires:  perl(Thread::Semaphore)
94db26
BuildRequires:  perl(threads)
94db26
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
94db26
Requires:       perl(Carp)
94db26
94db26
%global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}%{_datadir}/doc/
94db26
94db26
%description
94db26
This module provides thread-safe FIFO queues that can be accessed safely by
94db26
any number of threads.
94db26
94db26
%prep
94db26
%setup -q -n Thread-Queue-%{version}
94db26
94db26
%build
94db26
perl Makefile.PL INSTALLDIRS=vendor
94db26
make %{?_smp_mflags}
94db26
94db26
%install
94db26
make pure_install DESTDIR=$RPM_BUILD_ROOT
94db26
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
94db26
%{_fixperms} $RPM_BUILD_ROOT/*
94db26
94db26
%check
94db26
make test
94db26
94db26
%files
94db26
%doc Changes examples README
94db26
%{perl_vendorlib}/*
94db26
%{_mandir}/man3/*
94db26
94db26
%changelog
94db26
* Fri Mar 01 2013 Petr Pisar <ppisar@redhat.com> - 3.02-1
94db26
- 3.02 bump
94db26
94db26
* Thu Feb 14 2013 Petr Pisar <ppisar@redhat.com> 3.01-1
94db26
- Specfile autogenerated by cpanspec 1.78.