- initial package 0.01
* created by cpanspec 1.78.03 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Cache-FastMemoryCache?expand=0&rev=1
This commit is contained in:
65
perl-Cache-FastMemoryCache.spec
Normal file
65
perl-Cache-FastMemoryCache.spec
Normal file
@@ -0,0 +1,65 @@
|
||||
#
|
||||
# spec file for package perl-Cache-FastMemoryCache (Version 0.01)
|
||||
#
|
||||
# Copyright (c) 2010 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-Cache-FastMemoryCache
|
||||
Version: 0.01
|
||||
Release: 1
|
||||
License: CHECK(GPL+ or Artistic)
|
||||
%define cpan_name Cache-FastMemoryCache
|
||||
Summary: In-memory cache of arbitrary data.
|
||||
Url: http://search.cpan.org/dist/Cache-FastMemoryCache/
|
||||
Group: Development/Libraries/Perl
|
||||
#Source: http://www.cpan.org/authors/id/M/MI/MILLAWAY/Cache-FastMemoryCache-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildRequires: perl(Cache::Cache)
|
||||
BuildRequires: perl(Cache::MemoryCache)
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Cache::FastMemoryCache is an in-memory cache, implemented as an extension
|
||||
to the excellent Cache::Cache suite. All cached items are stored
|
||||
per-process. The cache does not persist after the process dies. It is the
|
||||
fastest of all the Cache::* types because it does not perform deep copying
|
||||
of data.
|
||||
|
||||
%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
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(644,root,root,755)
|
||||
%doc Changes README
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user