%global pkg_name App-Cache %global pkg_version 0.33 %global rpm_pkg_version 0.33 %global rpm_pkg_release 1.n0i.3 Summary: Easy application-level caching Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic 2.0 URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/L/LB/LBROCARD/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(ExtUtils::MakeMaker) %{!?_without_test:BuildRequires: perl(Class::Accessor::Chained::Fast)} %{!?_without_test:BuildRequires: perl(File::Find::Rule)} %{!?_without_test:BuildRequires: perl(File::HomeDir)} %{!?_without_test:BuildRequires: perl(File::stat)} %{!?_without_test:BuildRequires: perl(HTTP::Cookies)} %{!?_without_test:BuildRequires: perl(LWP::UserAgent)} %{!?_without_test:BuildRequires: perl(Path::Class)} %{!?_without_test:BuildRequires: perl(Storable)} %{!?_without_test:BuildRequires: perl(Test::More)} %description The App::Cache module lets an application cache data locally. There are a few times an application would need to cache data: when it is retrieving information from the network or when it has to complete a large calculation. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} # requires internet connection %{!?_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 README %changelog * Sun Sep 30 2007 Marius Feraru - 0.33-1.n0i.3 - version 0.33 * Tue May 22 2007 Marius Feraru - 0.31-2.n0i.2 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - rebuild on perl 5.8.8 * Mon Aug 01 2005 Marius Feraru 0.31-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7