]> git.pld-linux.org Git - packages/perl-Cache-Cache.git/commitdiff
new module
authordepesz <depesz@depesz.pl>
Mon, 4 Mar 2002 06:39:34 +0000 (06:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Cache-Cache.spec -> 1.1

perl-Cache-Cache.spec [new file with mode: 0644]

diff --git a/perl-Cache-Cache.spec b/perl-Cache-Cache.spec
new file mode 100644 (file)
index 0000000..d83949c
--- /dev/null
@@ -0,0 +1,53 @@
+# $Revision: 1.1 $
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Cache
+%define        pnam    Cache
+Summary:       Cache-Cache perl extension
+Summary(pl):   Rozszerzenie perla: Cache-Cache
+Name:          perl-Cache-Cache
+Version:       0.99
+Release:       1
+License:       GPL
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: rpm-perlprov >= 3.0.3-16
+BuildRequires: perl >= 5.6.1
+BuildRequires: perl-Digest-MD5
+BuildRequires: perl-Error
+BuildRequires: perl-modules
+BuildRequires: perl-IPC-ShareLite
+BuildRequires: perl-Storable
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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 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.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+gzip -9nf CHANGES COPYING CREDITS DISCLAIMER README STYLE TODO
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc *.gz
+%{perl_sitelib}/Cache
+%{_mandir}/man3/*
This page took 0.070958 seconds and 4 git commands to generate.