rpms/perl-Directory-Queue/F-12 perl-Directory-Queue.spec,NONE,1.1
stevetraylen
stevetraylen at fedoraproject.org
Sun Jun 27 17:42:39 UTC 2010
Author: stevetraylen
Update of /cvs/pkgs/rpms/perl-Directory-Queue/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv17491/F-12
Added Files:
perl-Directory-Queue.spec
Log Message:
Forgot the .spec file.
--- NEW FILE perl-Directory-Queue.spec ---
Name: perl-Directory-Queue
Version: 0.5
Release: 2%{?dist}
Summary: Object oriented interface to a directory based queue
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Directory-Queue/
Source0: http://search.cpan.org/CPAN/authors/id/L/LC/LCONS/Directory-Queue-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
%if %{?rhel}%{!?rhel:0} == 4
BuildRequires: perl(Time::HiRes)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_subpackage_tests}
%description
The goal of this module is to offer a simple queue system using the
underlying file system for storage, security and to prevent race conditions
via atomic operations. It focuses on simplicity, robustness and
scalability.
%prep
%setup -q -n Directory-Queue-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sun Jun 27 2010 Steve Traylen <steve.traylen at cern.ch> 0.5-2
- Explicit perl(Time::HiRes) br on EL4 added.
* Mon Jun 21 2010 Steve Traylen <steve.traylen at cern.ch> 0.5-1
- Specfile autogenerated by cpanspec 1.78.
- Add tests rpm generation macro.
- Change PERL_INSTALL_DIR for DESTDIR.
- Add br perl(Test::Pod::Coverage) and perl(Test::Pod)
- Remove r of perl(Test::More)
More information about the perl-devel
mailing list