Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-App-Cache
perl-App-Cache.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-App-Cache.spec of Package perl-App-Cache
# # spec file for package perl-App-Cache # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-App-Cache Version: 0.37 Release: 1 License: GPL+ or Artistic %define cpan_name App-Cache Summary: Easy application-level caching Url: http://search.cpan.org/dist/App-Cache/ Group: Development/Libraries/Perl Source: http://www.cpan.org/authors/id/L/LB/LBROCARD/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Class::Accessor::Chained::Fast) BuildRequires: perl(File::Find::Rule) BuildRequires: perl(File::HomeDir) BuildRequires: perl(HTTP::Cookies) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Path::Class) #BuildRequires: perl(App::Cache) #BuildRequires: perl(LWP::Simple) Requires: perl(Class::Accessor::Chained::Fast) Requires: perl(File::Find::Rule) Requires: perl(File::HomeDir) Requires: perl(HTTP::Cookies) Requires: perl(LWP::UserAgent) Requires: perl(Path::Class) %{perl_requires} %description The the App::Cache manpage 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 the Parse::BACKPAN::Packages manpage 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. the Parse::BACKPAN::Packages manpage uses the App::Cache manpage 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 the Parse::BACKPAN::Packages manpage 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 %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc CHANGES README %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor