2008-09-16 15:46:09 +00:00
|
|
|
#
|
2010-04-25 22:56:23 +00:00
|
|
|
# spec file for package perl-Cache-Memcached-Fast (Version 0.19)
|
2008-09-16 15:46:09 +00:00
|
|
|
#
|
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
%define modname Cache-Memcached-Fast
|
|
|
|
Name: perl-Cache-Memcached-Fast
|
2010-04-25 22:56:23 +00:00
|
|
|
Version: 0.19
|
2008-09-16 15:46:09 +00:00
|
|
|
Release: 1
|
2010-04-25 22:56:23 +00:00
|
|
|
URL: http://search.cpan.org/~kroki/Cache-Memcached-Fast-%{version}
|
2008-09-16 15:46:09 +00:00
|
|
|
Summary: Cache::Memcached::Fast - Perl client for memcached, in C language
|
|
|
|
BuildRequires: perl
|
2010-12-03 13:56:04 +00:00
|
|
|
BuildRequires: perl-macros
|
2008-09-16 15:46:09 +00:00
|
|
|
# not needed:
|
2010-12-03 13:56:04 +00:00
|
|
|
# BuildRequires: memcached
|
2008-09-16 15:46:09 +00:00
|
|
|
License: GPL/Artistic
|
|
|
|
Group: Development/Libraries/Perl
|
2010-04-25 22:56:23 +00:00
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/K/KR/KROKI/%{modname}-%{version}.tar.bz2
|
2008-09-16 15:46:09 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
2010-12-03 13:56:04 +00:00
|
|
|
%{perl_requires}
|
2008-09-16 15:46:09 +00:00
|
|
|
|
|
|
|
%description
|
2008-11-11 11:33:20 +00:00
|
|
|
Cache::Memcached::Fast is a Perl client for memcached, a memory cache daemon (http://www.danga.com/memcached/). Module core is implemented in C and tries hard to minimize number of system calls and to avoid any key/value copying for speed. As a result, it has very low CPU consumption.
|
2008-09-16 15:46:09 +00:00
|
|
|
API is largely compatible with Cache::Memcached, original pure Perl client, most users of the original module may start using this module by installing it and adding "::Fast" to the old name in their scripts (see "Compatibility with Cache::Memcached" below for full details).
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Tomash Brechko, <tomash.brechko at gmail.com>
|
|
|
|
Michael Monashev, <postmaster at softsearch.ru>
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{modname}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
echo y | perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
|
|
|
make
|
2010-04-25 22:56:23 +00:00
|
|
|
|
|
|
|
%check
|
2008-09-16 15:46:09 +00:00
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
2008-11-11 11:44:51 +00:00
|
|
|
echo perl_vendorarch %{perl_vendorarch}
|
|
|
|
echo perl_vendorlib %{perl_vendorlib}
|
2008-09-16 15:46:09 +00:00
|
|
|
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc Changes README
|
|
|
|
%doc %{_mandir}/man?/*
|
2008-11-11 11:44:51 +00:00
|
|
|
# %{perl_vendorlib}/*
|
|
|
|
%{perl_vendorarch}/auto/*
|
|
|
|
%{perl_vendorarch}/Cache
|
|
|
|
%{perl_vendorarch}/Cache/*
|
2008-09-16 15:46:09 +00:00
|
|
|
|
|
|
|
%changelog
|