File perl-Cache-Cache-openSUSE_Factory.spec of Package perl-Cache-Cache

# $Id: perl-Cache-Cache.spec 5690 2007-08-05 21:57:34Z dag $
# Authority: dag
# Upstream: DeWitt Clinton <dewitt$unto,net>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Cache-Cache

Summary: Cache-Cache module for perl
Name: perl-Cache-Cache
Version: 1.05
%define releasesuffix opensusefactory
Release: 1
License: GPL
Group: Applications/CPAN

Packager: Dries Verachtert <>
Vendor: Dries RPM Repository
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker), perl >= 2:5.8.0
Requires: perl >= 2:5.8.0
Requires: perl(Error), perl(Storable), perl(IPC::ShareLite)

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.

%setup -n %{real_name}-%{version}

%{__perl} Makefile.PL INSTALLDIRS="vendor"  destdir="%{buildroot}" 
%{__make} %{?_smp_mflags}

%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%{__rm} -rf %{buildroot}

%defattr(-, root, root, 0755)
%doc %{_mandir}/man3/*.3pm*

* Mon Sep 18 2006 Dries Verachtert <> - 1.05-1
- Updated to release 1.05.

* Wed May 26 2004 Matthias Saou <> 1.02-3
- Rebuilt for Fedora Core 2.

* Fri Apr  2 2004 Matthias Saou <> 1.02-2
- Change the explicit package deps to perl package style ones to fix the
  perl-Storable obsoletes problem.

* Fri Mar 19 2004 Matthias Saou <> 1.02-1
- Initial RPM release.