forked from pool/perl-Cache-Cache
- remove /var/adm/perl-modules - remove /var/adm/perl-modules - remove /var/adm/perl-modules - remove /var/adm/perl-modules - remove /var/adm/perl-modules - remove /var/adm/perl-modules - remove /var/adm/perl-modules - remove /var/adm/perl-modules - remove /var/adm/perl-modules - remove /var/adm/perl-modules - remove /var/adm/perl-modules - remove /var/adm/perl-modules - remove /var/adm/perl-modules - remove /var/adm/perl-modules OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Cache-Cache?expand=0&rev=6
73 lines
2.3 KiB
RPMSpec
73 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package perl-Cache-FileCache (Version 0.67)
|
|
#
|
|
# Copyright (c) 2009 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/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: perl-Cache-Cache
|
|
%define real_name Cache-Cache
|
|
Summary: Comma-separated values manipulation routines
|
|
Url: http://search.cpan.org/perldoc?Cache::Cache
|
|
Group: Development/Libraries/Perl
|
|
License: Artistic License ..
|
|
Version: 1.06
|
|
Release: 1
|
|
Source: %{real_name}-%{version}.tar.bz2
|
|
Requires: perl = %{perl_version}
|
|
BuildRequires: perl-Error perl-Digest-SHA1
|
|
Requires: perl-Error perl-Digest-SHA1
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%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. People have also been known to use Cache::Cache for its
|
|
straightforward interface in sharing data between runs of an application or
|
|
invocations of a CGI-style script or simply as an easy to use abstraction of
|
|
the filesystem or shared memory.
|
|
|
|
The Cache::Cache interface is implemented by classes that support the get, set,
|
|
remove, size, purge, and clear instance methods and their corresponding static
|
|
methods for persisting data across method calls.
|
|
|
|
%prep
|
|
%setup -n %{real_name}-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL
|
|
make %{?jobs:-j%jobs}
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc CHANGES README MANIFEST COPYING DISCLAIMER
|
|
%doc %{_mandir}/man?/*
|
|
%{perl_vendorlib}/Cache
|
|
%{perl_vendorarch}/auto/Cache
|
|
|
|
%changelog
|