]> git.pld-linux.org Git - packages/perl-IPC-SharedCache.git/blame - perl-IPC-SharedCache.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-IPC-SharedCache.git] / perl-IPC-SharedCache.spec
CommitLineData
6873164d
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
b892b4cc 4
8cae6997 5%define pdir IPC
6%define pnam SharedCache
6873164d 7Summary: IPC::SharedCache - manage a cache in SysV IPC shared memory
5d5aea3c 8Summary(pl.UTF-8): IPC::SharedCache - zarządzanie pamięcią podręczną w pamięci dzielonej SysV
cec6f354 9Name: perl-IPC-SharedCache
f20835a4 10Version: 1.3
d1b5ae28 11Release: 8
01c851fb 12License: GPL v2+
f20835a4 13Group: Development/Languages/Perl
d1b5ae28 14Source0: http://www.cpan.org/modules/by-module/IPC/%{pdir}-%{pnam}-%{version}.tar.gz
6dba5465 15# Source0-md5: 4d5d159a6b41d42918b7c1fceafb43ae
d1b5ae28 16Patch0: %{name}-wrap-IPC-ShareLite-new-calls-inside-eval-block.patch
b892b4cc 17URL: http://search.cpan.org/dist/IPC-SharedCache/
e2f41b82 18BuildRequires: perl-Carp-Assert
9bf7f01c 19BuildRequires: perl-IPC-ShareLite >= 0.06
20BuildRequires: perl-IPC-SysV
6873164d 21BuildRequires: perl-devel >= 1:5.8.0
1cb48d3d 22BuildRequires: rpm-perlprov >= 4.1-13
f20835a4 23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
f20835a4 26%description
27This module provides a shared memory cache accessed as a tied hash.
28
860f78d8 29%description -l pl.UTF-8
b892b4cc
ER
30Ten moduł udostępnia cache pamięci dzielonej, dostępny jako dowiązany
31hash.
f20835a4 32
f20835a4 33%prep
34%setup -q -n %{pdir}-%{pnam}-%{version}
d1b5ae28 35%patch0 -p1
f20835a4 36
37%build
6062de70 38%{__perl} Makefile.PL \
47d7668b 39 INSTALLDIRS=vendor
f20835a4 40%{__make}
6873164d
JB
41
42%{?with_tests:%{__make} test}
f20835a4 43
44%install
45rm -rf $RPM_BUILD_ROOT
46
1cb48d3d
PG
47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
f20835a4 49
f20835a4 50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
55%doc Changes ANNOUNCE
6873164d 56%{perl_vendorlib}/IPC/SharedCache.pm
d1b5ae28 57%{_mandir}/man3/IPC::SharedCache.3pm*
This page took 0.063665 seconds and 5 git commands to generate.