cvsextras 33624d8
Name:           perl-IPC-SharedCache
cvsextras 33624d8
Version:        1.3
e404e22
Release:        11%{?dist}
cvsextras 33624d8
Summary:        Perl module to manage a cache in SysV IPC shared memory
cvsextras 33624d8
cvsextras 33624d8
Group:          Development/Libraries
0968ad8
License:        GPLv2+
cvsextras 33624d8
URL:            http://search.cpan.org/dist/IPC-SharedCache/
cc81753
Source0:        http://www.cpan.org/authors/id/S/SA/SAMTREGAR/IPC-SharedCache-%{version}.tar.gz
cvsextras 33624d8
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsextras 33624d8
cvsextras 33624d8
BuildArch:      noarch
0eba463
BuildRequires:  perl(IPC::ShareLite) >= 0.06
0968ad8
BuildRequires:  perl(ExtUtils::MakeMaker)
cc81753
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
cvsextras 33624d8
cvsextras 33624d8
%description
cvsextras 33624d8
This module provides a shared memory cache accessed as a tied hash.
cvsextras 33624d8
Shared memory is an area of memory that is available to all processes.
cvsextras 33624d8
It is accessed by choosing a key, the ipc_key argument to tie.  Every
cvsextras 33624d8
process that accesses shared memory with the same key gets access to
cvsextras 33624d8
the same region of memory.  In some ways it resembles a file system,
cvsextras 33624d8
but it is not hierarchical and it is resident in memory.  This makes
cvsextras 33624d8
it harder to use than a filesystem but much faster.  The data in
cvsextras 33624d8
shared memory persists until the machine is rebooted or it is
cvsextras 33624d8
explicitly deleted.
cvsextras 33624d8
cvsextras 33624d8
cvsextras 33624d8
%prep
cvsextras 33624d8
%setup -q -n IPC-SharedCache-%{version}
cvsextras 33624d8
cvsextras 33624d8
cvsextras 33624d8
%build
cvsextras 33624d8
%{__perl} Makefile.PL INSTALLDIRS=vendor
cvsextras 33624d8
make %{?_smp_mflags}
cvsextras 33624d8
cvsextras 33624d8
cvsextras 33624d8
%install
cvsextras 33624d8
rm -rf $RPM_BUILD_ROOT
cvsextras 33624d8
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
cvsextras 33624d8
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
cvsextras 33624d8
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
cvsextras 33624d8
chmod -R u+w $RPM_BUILD_ROOT/*
cvsextras 33624d8
cvsextras 33624d8
cc81753
%check
cvsextras 33624d8
make test
cvsextras 33624d8
cvsextras 33624d8
cvsextras 33624d8
%clean
cvsextras 33624d8
rm -rf $RPM_BUILD_ROOT
cvsextras 33624d8
cvsextras 33624d8
cvsextras 33624d8
%files
cvsextras 33624d8
%defattr(-,root,root,-)
cvsextras 33624d8
%doc ANNOUNCE Changes LICENSE README
cc81753
%{perl_vendorlib}/IPC/
0eba463
%{_mandir}/man3/*.3pm*
cvsextras 33624d8
cvsextras 33624d8
cvsextras 33624d8
%changelog
e404e22
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-11
e404e22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e404e22
0100e4c
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-10
0100e4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0100e4c
dc2284f
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-9
dc2284f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
dc2284f
ecb1796
* Fri Feb  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3-8
ecb1796
- rebuild for new perl
ecb1796
0968ad8
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3-7.1
0968ad8
- correct license tag
0968ad8
- add BR: perl(ExtUtils::MakeMaker)
0968ad8
0eba463
* Fri Sep  8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.3-7
0eba463
- Rebuild for FC6.
0eba463
cc81753
* Thu Feb 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.3-6
cc81753
- Rebuild for FC5 (perl 5.8.8).
cc81753
- Dist tag and specfile cleanups.
cc81753
cc81753
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.3-5
d12a25c
- rebuilt
d12a25c
cvsextras 33624d8
* Sat Jun 26 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3-0.fdr.4
cvsextras 33624d8
- Fix license (bug 1783).
cvsextras 33624d8
- BuildReq perl(Storable) (bug 1783).
cvsextras 33624d8
cvsextras 33624d8
* Fri Jun 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3-0.fdr.3
cvsextras 33624d8
- Bring up to date with current fedora.us perl spec template.
cvsextras 33624d8
cvsextras 33624d8
* Mon Apr 26 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3-0.fdr.2
cvsextras 33624d8
- Reduce directory ownership bloat.
cvsextras 33624d8
- Require perl(:MODULE_COMPAT_*).
cvsextras 33624d8
- BuildArch: noarch.
cvsextras 33624d8
cvsextras 33624d8
* Tue Nov 18 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3-0.fdr.1
cvsextras 33624d8
- First build.