Stephan Kulow
2011-04-28 10:44:21 +00:00
committed by Git OBS Bridge
commit 3b3280b7f8
5 changed files with 106 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
File-Cache-0.16.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:479f4013a17cba8fa350017d21e69b1d83b1439422a0dac18c6076608ef21330
size 27646

6
perl-File-Cache.changes Normal file
View File

@@ -0,0 +1,6 @@
-------------------------------------------------------------------
Thu Apr 28 10:44:07 UTC 2011 - coolo@opensuse.org
- initial package 0.16
* created by cpanspec 1.78.04

73
perl-File-Cache.spec Normal file
View File

@@ -0,0 +1,73 @@
#
# spec file for package perl-File-Cache (Version 0.16)
#
# 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-File-Cache
Version: 0.16
Release: 1
License: CHECK(GPL+ or Artistic)
%define cpan_name File-Cache
Summary: Share data between processes via filesystem
Url: http://search.cpan.org/dist/File-Cache/
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/D/DC/DCLINTON/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
%description
*File::Cache* is a perl module that implements an object storage space
where data is persisted across process boundaries via the filesystem.
File::Cache builds a cache in the file system using a multi-level directory
structure that looks like this:
<CACHE_KEY>/<USERNAME>/<NAMESPACE>/[D1]/[D2]/.../<OBJECTS>
CACHE_KEY is the location of the root level of the cache. The cache key
defaults to <TMPDIR>/File::Cache, where <TMPDIR> is the temporary directory
on your system. USERNAME is the user identifier. This value defaults to the
userid, if it can be determined from the system, or "nobody" if it can not.
<NAMESPACE> defaults to "_default". D1, D2, etc. are subdirectories that
are created to hold the cache objects. The number subdirectories depends on
the _cache_depth_ value, which defaults to 0. Objects are stored in the
cache using a method which depends on the _persistence_mechanism_ value.
%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(-,root,root,755)
%doc CHANGES COPYING CREDITS DISCLAIMER README TODO
%changelog