cvsextras 33624d8
Name:           perl-IPC-SharedCache
cvsextras 33624d8
Version:        1.3
2f16fad
Release:        43%{?dist}
cvsextras 33624d8
Summary:        Perl module to manage a cache in SysV IPC shared memory
0968ad8
License:        GPLv2+
2d2c1f0
URL:            https://metacpan.org/release/IPC-SharedCache
500d169
Source0:        https://cpan.metacpan.org/modules/by-module/IPC/IPC-SharedCache-%{version}.tar.gz
272fa54
Patch0:         IPC-SharedCache-1.3-test.patch
cvsextras 33624d8
BuildArch:      noarch
500d169
# Build
Petr Šabata c149c4a
BuildRequires:  coreutils
Petr Šabata c149c4a
BuildRequires:  findutils
Petr Šabata c149c4a
BuildRequires:  make
06c03ab
BuildRequires:  perl-generators
500d169
BuildRequires:  perl-interpreter
0968ad8
BuildRequires:  perl(ExtUtils::MakeMaker)
500d169
# Module
500d169
BuildRequires:  perl(Carp)
Petr Šabata c149c4a
BuildRequires:  perl(integer)
Petr Šabata c149c4a
BuildRequires:  perl(IPC::ShareLite) >= 0.06
Petr Šabata c149c4a
BuildRequires:  perl(Storable)
Petr Šabata c149c4a
BuildRequires:  perl(strict)
Petr Šabata c149c4a
BuildRequires:  perl(vars)
500d169
# Test Suite
500d169
# (no additional dependencies)
500d169
# Dependencies
500d169
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Petr Šabata c149c4a
Requires:       perl(IPC::ShareLite) >= 0.06
Petr Šabata c149c4a
Petr Šabata c149c4a
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(IPC::ShareLite\\)$
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}
500d169
500d169
# Debian patch for tests, which fixes problem of HTML::Template
272fa54
%patch0 -p1
cvsextras 33624d8
cvsextras 33624d8
%build
500d169
perl Makefile.PL INSTALLDIRS=vendor
cvsextras 33624d8
make %{?_smp_mflags}
cvsextras 33624d8
cvsextras 33624d8
cvsextras 33624d8
%install
500d169
make pure_install DESTDIR=%{buildroot}
500d169
find %{buildroot} -type f -name .packlist -delete
500d169
%{_fixperms} -c %{buildroot}
cvsextras 33624d8
cvsextras 33624d8
cc81753
%check
cvsextras 33624d8
make test
cvsextras 33624d8
cvsextras 33624d8
cvsextras 33624d8
cvsextras 33624d8
%files
Petr Šabata c149c4a
%license LICENSE
Petr Šabata c149c4a
%doc ANNOUNCE Changes README
cc81753
%{perl_vendorlib}/IPC/
500d169
%{_mandir}/man3/IPC::SharedCache.3*
cvsextras 33624d8
cvsextras 33624d8
cvsextras 33624d8
%changelog
2f16fad
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-43
2f16fad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2f16fad
3ca4a03
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.3-42
3ca4a03
- Perl 5.32 rebuild
3ca4a03
6fa09d0
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-41
6fa09d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
6fa09d0
500d169
* Wed Oct 16 2019 Paul Howarth <paul@city-fan.org> - 1.3-40
500d169
- Spec clean-up
500d169
  - Use author-independent source URL
500d169
  - Classify buildreqs by usage
500d169
  - Drop redundant buildroot cleaning in %%install section
500d169
  - Simplify find command using -delete
500d169
  - Don't need to remove empty directories from the buildroot
500d169
  - Fix permissions verbosely
500d169
  - Make %%files list more explicit
500d169
a5fdd01
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-39
a5fdd01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a5fdd01
040db38
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.3-38
040db38
- Perl 5.30 rebuild
040db38
508ea22
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-37
508ea22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
508ea22
4b8b437
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-36
4b8b437
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
4b8b437
700ca1e
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.3-35
700ca1e
- Perl 5.28 rebuild
700ca1e
a75f7e5
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-34
a75f7e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a75f7e5
12cca9c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-33
12cca9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
12cca9c
40fb7af
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.3-32
40fb7af
- Perl 5.26 rebuild
40fb7af
493dd74
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-31
493dd74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
493dd74
333ca42
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.3-30
333ca42
- Perl 5.24 rebuild
333ca42
ba9f53d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-29
ba9f53d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ba9f53d
Petr Šabata c149c4a
* Tue Aug 11 2015 Petr Šabata <contyk@redhat.com> - 1.3-28
Petr Šabata c149c4a
- Prevent FTBFS by correcting the build time dependency list
Petr Šabata c149c4a
- Package the LICENSE text with %%license
Petr Šabata c149c4a
f2a9cb7
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-27
f2a9cb7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f2a9cb7
1e40666
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.3-26
1e40666
- Perl 5.22 rebuild
1e40666
8bc97bd
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.3-25
8bc97bd
- Perl 5.20 rebuild
8bc97bd
05c2abd
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-24
05c2abd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
05c2abd
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
500d169
* Wed Apr  6 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.