cvsextras 33624d8
Name:           perl-IPC-SharedCache
cvsextras 33624d8
Version:        1.3
f628c62
Release:        23%{?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
272fa54
Patch0:         IPC-SharedCache-1.3-test.patch
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}
272fa54
%patch0 -p1
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
f628c62
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-23
f628c62
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f628c62
7935bee
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 1.3-22
7935bee
- Perl 5.18 rebuild
7935bee
b6a0396
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-21
b6a0396
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b6a0396
c32821f
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-20
c32821f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c32821f
73f54e6
* Sun Jun 17 2012 Petr Pisar <ppisar@redhat.com> - 1.3-19
73f54e6
- Perl 5.16 rebuild
73f54e6
76e4f9b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-18
76e4f9b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
76e4f9b
fd6fe5d
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.3-17
fd6fe5d
- Perl mass rebuild
fd6fe5d
88f1771
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-16
88f1771
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
88f1771
43b1e58
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.3-15
43b1e58
- 661697 rebuild for fixing problems with vendorach/lib
43b1e58
272fa54
* Fri Dec 17 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1.3-14
272fa54
- apply Debian patch for tests, which fix problem of HTML::Template
272fa54
b08bc77
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.3-13
b08bc77
- Mass rebuild with perl-5.12.0
b08bc77
8a136b6
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.3-12
8a136b6
- rebuild against perl 5.10.1
8a136b6
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.