Changes of Revision 2
[-] | Added | perl-Cache-Cache.spec |
x 1
2 +%define modname Cache-Cache 3 +Name: perl-%{modname} 4 +Version: 1.05 5 +Release: 1 6 +Summary: Cache Interface 7 +Requires: perl = %{perl_version} 8 +BuildRequires: perl perl-Digest-SHA1 perl-Error perl-IPC-ShareLite 9 +Requires: perl-Digest-SHA1 perl-Error perl-IPC-ShareLite 10 +License: GPL/Artistic 11 +Group: Development/Libraries/Perl 12 +Source: %{modname}-%{version}.tar.bz2 13 +BuildRoot: %{_tmppath}/%{name}-root 14 + 15 +%description 16 +The Cache modules are designed to assist a developer in persisting data for a 17 +specified period of time. Often these modules are used in web applications to 18 +store data locally to save repeated and redundant expensive calls to remote 19 +machines or databases. People have also been known to use Cache::Cache for it's 20 +straightforward interface in sharing data between runs of an application or 21 +invocations of a CGI-style script or simply as an easy to use abstraction of 22 +the filesystem or shared memory. 23 + 24 +Authors: 25 +-------- 26 + DeWitt Clinton <dewitt@unto.net> 27 + 28 +%prep 29 +%setup -q -n %{modname}-%{version} 30 + 31 +%build 32 +perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" 33 +make 34 +make test 35 + 36 +%install 37 +make DESTDIR=$RPM_BUILD_ROOT install_vendor 38 +%perl_process_packlist 39 + 40 +%clean 41 +rm -rf %{buildroot} 42 + 43 +%files 44 +%defattr(-, root, root) 45 +%doc CHANGES COPYING CREDITS DISCLAIMER README 46 +%doc %{_mandir}/man?/* 47 +%{perl_vendorlib}/Cache 48 +%{perl_vendorarch}/auto/Cache 49 +/var/adm/perl-modules/%{name} 50 + 51 +%changelog 52 + 53 +* Thu Nov 01 2007 - James Oakley <jfunk@funktronics.ca> - 1.05-1 54 +- Initial release 55 |