%define pkg_name Cache %define pkg_version 2.04 %define rpm_pkg_version 2.04 %define rpm_pkg_release 2.n0i.4 Summary: The Cache interface Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/C/CL/CLEISHMAN/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %{!?_without_test:BuildRequires: perl(DB_File) >= 1.72} %{!?_without_test:BuildRequires: perl(Date::Parse) >= 2.24} %{!?_without_test:BuildRequires: perl(Digest::SHA1) >= 2.01} %{!?_without_test:BuildRequires: perl(Fcntl) >= 1.03} %{!?_without_test:BuildRequires: perl(File::Find)} %{!?_without_test:BuildRequires: perl(File::NFSLock) >= 1.2} %{!?_without_test:BuildRequires: perl(File::Path) >= 1} %{!?_without_test:BuildRequires: perl(File::Spec) >= 0.8} %{!?_without_test:BuildRequires: perl(Heap::Fibonacci) >= 0.01} %{!?_without_test:BuildRequires: perl(IO::File) >= 1.08} %{!?_without_test:BuildRequires: perl(IO::Handle) >= 1.21} %{!?_without_test:BuildRequires: perl(IO::String) >= 1.02} %{!?_without_test:BuildRequires: perl(Storable) >= 1} %{!?_without_test:BuildRequires: perl(Symbol) >= 1.02} %{!?_without_test:BuildRequires: perl(Test::More) >= 0.45} %description The Cache modules are designed to assist a developer in persisting data for a specified period of time. Often these modules are used in web applications to store data locally to save repeated and redundant expensive calls to remote machines or databases. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_mod} %{fix_eol} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes LICENSE README TODO %changelog * Tue May 22 2007 Marius Feraru - 2.04-2.n0i.4 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - rebuild on perl 5.8.8 * Thu Feb 02 2006 Marius Feraru 2.04-1.n0i.3 - version 2.04 * Thu Nov 03 2005 Marius Feraru 2.03-1.n0i.2 - version 2.03 * Thu Aug 04 2005 Marius Feraru 2.02-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7