From 33624d84dd27276e0ca54d0971c2cbb833029a74 Mon Sep 17 00:00:00 2001 From: cvsextras Date: Nov 08 2004 05:03:08 +0000 Subject: auto-import changelog data from perl-IPC-SharedCache-1.3-0.fdr.4.rh90.src.rpm 1.3-0.fdr.4 - Fix license (bug 1783). - BuildReq perl(Storable) (bug 1783). 1.3-0.fdr.3 - Bring up to date with current fedora.us perl spec template. 1.3-0.fdr.2 - Reduce directory ownership bloat. - Require perl(:MODULE_COMPAT_*). - BuildArch: noarch. 1.3-0.fdr.1 - First build. --- diff --git a/.cvsignore b/.cvsignore index e69de29..8e8d36f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +IPC-SharedCache-1.3.tar.gz diff --git a/perl-IPC-SharedCache.spec b/perl-IPC-SharedCache.spec new file mode 100644 index 0000000..37d4600 --- /dev/null +++ b/perl-IPC-SharedCache.spec @@ -0,0 +1,77 @@ +%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} + +Name: perl-IPC-SharedCache +Version: 1.3 +Release: 0.fdr.4.rh90 +Epoch: 0 +Summary: Perl module to manage a cache in SysV IPC shared memory + +Group: Development/Libraries +License: GPL +URL: http://search.cpan.org/dist/IPC-SharedCache/ +Source0: http://www.cpan.org/authors/id/S/SA/SAMTREGAR/IPC-SharedCache-1.3.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1, perl(IPC::ShareLite) >= 0:0.06, perl(Storable) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module provides a shared memory cache accessed as a tied hash. +Shared memory is an area of memory that is available to all processes. +It is accessed by choosing a key, the ipc_key argument to tie. Every +process that accesses shared memory with the same key gets access to +the same region of memory. In some ways it resembles a file system, +but it is not hierarchical and it is resident in memory. This makes +it harder to use than a filesystem but much faster. The data in +shared memory persists until the machine is rebooted or it is +explicitly deleted. + + +%prep +%setup -q -n IPC-SharedCache-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check || : +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc ANNOUNCE Changes LICENSE README +%{perl_vendorlib}/IPC +%{_mandir}/man3/*.3* + + +%changelog +* Sat Jun 26 2004 Ville Skyttä - 0:1.3-0.fdr.4 +- Fix license (bug 1783). +- BuildReq perl(Storable) (bug 1783). + +* Fri Jun 25 2004 Ville Skyttä - 0:1.3-0.fdr.3 +- Bring up to date with current fedora.us perl spec template. + +* Mon Apr 26 2004 Ville Skyttä - 0:1.3-0.fdr.2 +- Reduce directory ownership bloat. +- Require perl(:MODULE_COMPAT_*). +- BuildArch: noarch. + +* Tue Nov 18 2003 Ville Skyttä - 0:1.3-0.fdr.1 +- First build. diff --git a/sources b/sources index e69de29..00caa2b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4d5d159a6b41d42918b7c1fceafb43ae IPC-SharedCache-1.3.tar.gz