rpms/perl-App-Cache/F-10 import.log, NONE, 1.1 perl-App-Cache.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl cweyl at fedoraproject.org
Sat Mar 7 20:39:15 UTC 2009


Author: cweyl

Update of /cvs/extras/rpms/perl-App-Cache/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7689/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-App-Cache.spec 
Log Message:
initial import


--- NEW FILE import.log ---
perl-App-Cache-0_35-1_fc10:F-10:perl-App-Cache-0.35-1.fc10.src.rpm:1236458313


--- NEW FILE perl-App-Cache.spec ---
Name:       perl-App-Cache 
Version:    0.35 
Release:    1%{?dist}
# lib/App/Cache.pm -> GPL+ or Artistic
License:    GPL+ or Artistic 
Group:      Development/Libraries
Summary:    Easy application-level caching 
Source:     http://search.cpan.org/CPAN/authors/id/L/LB/LBROCARD/App-Cache-%{version}.tar.gz 
Url:        http://search.cpan.org/dist/App-Cache
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:  noarch

BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Class::Accessor::Chained::Fast)
BuildRequires: perl(File::Find::Rule)
BuildRequires: perl(File::HomeDir)
BuildRequires: perl(File::stat)
BuildRequires: perl(HTTP::Cookies)
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(Path::Class)
BuildRequires: perl(Storable)
# testing
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)

# 'use base' strikes again...
Requires:      perl(Class::Accessor::Chained::Fast)

%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.
For example, the Parse::BACKPAN::Packages module downloads a file off the
net and parses it, creating a data structure. Only then can it actually
provide any useful information for the programmer. Parse::BACKPAN::Packages
uses App::Cache to cache both the file download and data structures, 
providing much faster use when the data is cached. This module stores data
in the home directory of the user, in a dot directory. For example, the 
Parse::BACKPAN::Packages cache is actually stored underneath 
"~/.parse_backpan_packages/cache/". This is so that permisssions are not a
problem -- it is a per-user, per-application cache.

%prep
%setup -q -n App-Cache-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot} 

%files
%defattr(-,root,root,-)
%doc CHANGES README 
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*

%changelog
* Thu Mar 05 2009 Chris Weyl <cweyl at alumni.drew.edu> 0.35-1
- submission

* Thu Mar 05 2009 Chris Weyl <cweyl at alumni.drew.edu> 0.35-0
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-App-Cache/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	7 Mar 2009 17:39:00 -0000	1.1
+++ .cvsignore	7 Mar 2009 20:38:44 -0000	1.2
@@ -0,0 +1 @@
+App-Cache-0.35.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-App-Cache/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Mar 2009 17:39:00 -0000	1.1
+++ sources	7 Mar 2009 20:38:44 -0000	1.2
@@ -0,0 +1 @@
+3483ed94401531d16ceab63d57b8da6e  App-Cache-0.35.tar.gz




More information about the Fedora-perl-devel-list mailing list