72 lines
1.9 KiB
RPMSpec
72 lines
1.9 KiB
RPMSpec
![]() |
# norootforbuild
|
||
|
|
||
|
Name: perl-Cache
|
||
|
Version: 2.04
|
||
|
Release: 0
|
||
|
Summary: Perl Cache Interface and Implementations Module
|
||
|
Source: http://search.cpan.org/CPAN/authors/id/C/CL/CLEISHMAN/Cache-%{version}.tar.gz
|
||
|
URL: http://search.cpan.org/~cleishman/Cache-%{version}/lib/Cache.pm
|
||
|
Group: Development/Libraries/Perl
|
||
|
License: Perl License
|
||
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||
|
Requires: perl perl-IO-String perl-TimeDate perl-Digest-SHA1 perl-Heap
|
||
|
BuildRequires: perl-IO-String perl-TimeDate perl-Digest-SHA1 perl-Heap
|
||
|
BuildRequires: make perl
|
||
|
|
||
|
%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.
|
||
|
|
||
|
The Cache interface is implemented by derived classes that store cached data
|
||
|
in different manners (such as as files on a filesystem, or in memory).
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Chris Leishman <chris@leishman.org>
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n "Cache-%{version}"
|
||
|
|
||
|
%build
|
||
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||
|
%__make
|
||
|
|
||
|
%install
|
||
|
%perl_make_install
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%clean
|
||
|
%__rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc Changes README TODO LICENSE
|
||
|
%{perl_vendorlib}/Cache.pm
|
||
|
%dir %{perl_vendorlib}/Cache
|
||
|
%{perl_vendorlib}/Cache/*.pm
|
||
|
%dir %{perl_vendorlib}/Cache/File
|
||
|
%{perl_vendorlib}/Cache/File/*.pm
|
||
|
%dir %{perl_vendorlib}/Cache/Memory
|
||
|
%{perl_vendorlib}/Cache/Memory/*.pm
|
||
|
%dir %{perl_vendorlib}/Cache/Null
|
||
|
%{perl_vendorlib}/Cache/Null/*.pm
|
||
|
%dir %{perl_vendorlib}/Cache/RemovalStrategy
|
||
|
%{perl_vendorlib}/Cache/RemovalStrategy/*.pm
|
||
|
%dir %{perl_vendorarch}/auto/Cache
|
||
|
%doc %{perl_man3dir}/Cache*.%{perl_man3ext}*
|
||
|
/var/adm/perl-modules/%{name}
|
||
|
|
||
|
%changelog
|
||
|
* Tue Jul 22 2008 Pascal Bleser <guru@unixtech.be> 2.04
|
||
|
- new package
|
||
|
|
||
|
# Local Variables:
|
||
|
# mode: rpm-spec
|
||
|
# tab-width: 3
|
||
|
# End:
|