]> git.pld-linux.org Git - packages/perl-Cache-Memcached.git/blame - perl-Cache-Memcached.spec
- converted to UTF-8
[packages/perl-Cache-Memcached.git] / perl-Cache-Memcached.spec
CommitLineData
4c5d68db
ER
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
03f21f46 4#
4c5d68db
ER
5%include /usr/lib/rpm/macros.perl
6%define pdir Cache
7%define pnam Memcached
8Summary: Cache::Memcached - shared data cache using memcached
726b18b7 9Summary(pl.UTF-8): Cache::Memcached - współdzielone cache dla danych przy użyciu memcached
4c5d68db 10Name: perl-Cache-Memcached
3f013448 11Version: 1.18
3ef2aa8e 12Release: 1
4c5d68db
ER
13License: GPL or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
3f013448 16# Source0-md5: 120d1766c94153339072d9c73f36fcb3
4c5d68db
ER
17URL: http://www.danga.com/memcached/
18BuildRequires: perl-devel >= 1:5.8.0
19%if %{with tests}
20BuildRequires: perl-String-CRC32
21%endif
22BuildRequires: rpm-perlprov >= 4.1-13
27246593 23BuildArch: noarch
4c5d68db
ER
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27This is the Perl API for memcached, a distributed memory cache daemon.
28
29memcached is a high-performance, distributed memory object caching
30system, generic in nature, but intended for use in speeding up dynamic
31web applications by alleviating database load.
32
726b18b7 33%description -l pl.UTF-8
03f21f46 34To jest perlowe API dla memcached - rozproszonego demona cache'owania
726b18b7 35pamięci.
03f21f46 36
726b18b7
JR
37memcached to wysoko wydajny, rozproszony system cache'owania obiektów,
38ogólny w swojej naturze, ale stworzony z myślą o używaniu do
03f21f46 39przyspieszenia dynamicznych aplikacji WWW poprzez zmniejszenie
726b18b7 40obciążenia bazy danych.
03f21f46 41
4c5d68db
ER
42%prep
43%setup -q -n %{pdir}-%{pnam}-%{version}
44
45%build
46%{__perl} Makefile.PL \
47 INSTALLDIRS=vendor
303731b0 48%{__make}
4c5d68db
ER
49
50%{?with_tests:%{__make} test}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54%{__make} install \
55 DESTDIR=$RPM_BUILD_ROOT
56
4c5d68db
ER
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
62%doc Change* README
63%{perl_vendorlib}/Cache/Memcached.pm
64%{_mandir}/man3/*
This page took 0.255296 seconds and 4 git commands to generate.