]> git.pld-linux.org Git - packages/perl-IPC-SharedCache.git/blob - perl-IPC-SharedCache.spec
- rel. 5
[packages/perl-IPC-SharedCache.git] / perl-IPC-SharedCache.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    IPC
7 %define pnam    SharedCache
8 Summary:        IPC::SharedCache - manage a cache in SysV IPC shared memory
9 Summary(pl):    IPC::SharedCache - zarz±dzanie pamiêci± podrêczn± w pamiêci dzielonej SysV
10 Name:           perl-%{pdir}-%{pnam}
11 Version:        1.3
12 Release:        5
13 License:        GPL v2+
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  4d5d159a6b41d42918b7c1fceafb43ae
17 BuildRequires:  perl-Carp-Assert
18 BuildRequires:  perl-IPC-ShareLite >= 0.06
19 BuildRequires:  perl-IPC-SysV
20 BuildRequires:  perl-Storable
21 BuildRequires:  perl-devel >= 1:5.8.0
22 BuildRequires:  rpm-perlprov >= 4.1-13
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 This module provides a shared memory cache accessed as a tied hash.
28
29 %description -l pl
30 Ten modu³ udostêpnia cache pamiêci dzielonej, dostêpny jako
31 dowi±zany hash.
32
33 %prep
34 %setup -q -n %{pdir}-%{pnam}-%{version}
35
36 %build
37 %{__perl} Makefile.PL \
38         INSTALLDIRS=vendor
39 %{__make}
40
41 %{?with_tests:%{__make} test}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc Changes ANNOUNCE
55 %{perl_vendorlib}/IPC/SharedCache.pm
56 %{_mandir}/man3/*.3pm*
This page took 0.054993 seconds and 4 git commands to generate.