]> git.pld-linux.org Git - packages/perl-Cache-FastMmap.git/blame - perl-Cache-FastMmap.spec
- rebuild with perl 5.18.0
[packages/perl-Cache-FastMmap.git] / perl-Cache-FastMmap.spec
CommitLineData
a760fe29 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
d7190a4d
ER
4
5%define pdir Cache
6%define pnam FastMmap
a760fe29 7%include /usr/lib/rpm/macros.perl
a760fe29 8Summary: Cache::FastMmap - Uses an mmap'ed file to act as a shared memory interprocess cache
1199c055 9Summary(pl.UTF-8): Cache::FastMmap - użycie mmapowanego pliku jako współdzielonej pamięci podręcznej
a760fe29 10Name: perl-Cache-FastMmap
dbdf809b 11Version: 1.40
f92b86ce 12Release: 2
a760fe29 13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
dbdf809b 17# Source0-md5: e0929ba556c629a43f5d65a2b6cb9a2f
9252b0d4 18URL: http://search.cpan.org/dist/Cache-FastMmap/
a760fe29 19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
9252b0d4 24Uses an mmap'ed file to act as a shared memory interprocess cache.
a760fe29 25
70c82a90
JR
26%description -l pl.UTF-8
27Ten moduł pozwala na używanie mmapowanego pliku jako pamięci
28podręcznej współdzielonej między procesami.
a760fe29 29
30%prep
31%setup -q -n %{pdir}-%{pnam}-%{version}
32
33%build
34%{__perl} Makefile.PL \
35 INSTALLDIRS=vendor
36%{__make} \
064fbd9f 37 CC="%{__cc}" \
a760fe29 38 OPTIMIZE="%{rpmcflags}"
39
40%{?with_tests:%{__make} test}
41
42%install
43rm -rf $RPM_BUILD_ROOT
44
45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
53%doc Changes README
54%{perl_vendorarch}/Cache/*.pm
a760fe29 55%dir %{perl_vendorarch}/auto/Cache/FastMmap
dbdf809b 56%{perl_vendorarch}/auto/Cache/FastMmap/FastMmap.bs
57%attr(755,root,root) %{perl_vendorarch}/auto/Cache/FastMmap/FastMmap.so
a760fe29 58%{_mandir}/man3/*
This page took 0.110474 seconds and 4 git commands to generate.