forked from pool/perl-Cache-Cache
53 lines
1.4 KiB
RPMSpec
53 lines
1.4 KiB
RPMSpec
|
%define modname Cache-Cache
|
||
|
Name: perl-%{modname}
|
||
|
Version: 1.05
|
||
|
Release: 1
|
||
|
Summary: Cache Interface
|
||
|
Requires: perl = %{perl_version}
|
||
|
BuildRequires: perl
|
||
|
License: GPL/Artistic
|
||
|
Group: Development/Libraries/Perl
|
||
|
Source: %{modname}-%{version}.tar.bz2
|
||
|
BuildRoot: %{_tmppath}/%{name}-root
|
||
|
|
||
|
%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 it's
|
||
|
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.
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
DeWitt Clinton <dewitt@unto.net>
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{modname}-%{version}
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||
|
make
|
||
|
make test
|
||
|
|
||
|
%install
|
||
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%clean
|
||
|
rm -rf %{buildroot}
|
||
|
|
||
|
%files
|
||
|
%defattr(-, root, root)
|
||
|
%doc CHANGES COPYING CREDITS DISCLAIMER README
|
||
|
%doc %{_mandir}/man?/*
|
||
|
#%{perl_vendorlib}/
|
||
|
#%{perl_vendorarch}/auto/
|
||
|
/var/adm/perl-modules/%{name}
|
||
|
|
||
|
%changelog
|
||
|
|
||
|
* Thu Nov 01 2007 - James Oakley <jfunk@funktronics.ca> - 1.05-1
|
||
|
- Initial release
|