Logoj0ke.net Open Build Service > Projects > devel:perl > perl-Cache-Memcached-Fast > Changes
Sign Up | Log In

Changes of Revision 2

[-] Added perl-Cache-Memcached-Fast.spec
x
 
1
@@ -0,0 +1,69 @@
2
+#
3
+# spec file for package perl-Cache-Memcached-Fast (Version 0.12)
4
+#
5
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
6
+# This file and all modifications and additions to the pristine
7
+# package are under the same license as the package itself.
8
+#
9
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
10
+#
11
+
12
+# norootforbuild
13
+
14
+%define modname         Cache-Memcached-Fast
15
+Name:           perl-Cache-Memcached-Fast
16
+# %{modname}
17
+Version:        0.12
18
+Release:        1
19
+URL:       http://search.cpan.org/~kroki/Cache-Memcached-Fast-0.12/
20
+Summary:        Cache::Memcached::Fast - Perl client for memcached, in C language
21
+Requires:       perl = %{perl_version}
22
+BuildRequires:  perl 
23
+
24
+# not needed:
25
+# BuildRequires:  perl memcached
26
+
27
+License:        GPL/Artistic
28
+Group:          Development/Libraries/Perl
29
+Source:         %{modname}-%{version}.tar.bz2
30
+BuildRoot:      %{_tmppath}/%{name}-root
31
+
32
+%description
33
+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.
34
+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).
35
+
36
+Authors:
37
+--------
38
+    Tomash Brechko, <tomash.brechko at gmail.com>
39
+    Michael Monashev, <postmaster at softsearch.ru>
40
+
41
+
42
+%prep
43
+%setup -q -n %{modname}-%{version}
44
+
45
+%build
46
+echo y | perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
47
+make
48
+make test
49
+
50
+%install
51
+make DESTDIR=$RPM_BUILD_ROOT install_vendor
52
+echo perl_vendorarch %{perl_vendorarch}
53
+echo perl_vendorlib %{perl_vendorlib}
54
+
55
+%perl_process_packlist
56
+
57
+%clean
58
+rm -rf %{buildroot}
59
+
60
+%files
61
+%defattr(-, root, root)
62
+%doc Changes README
63
+%doc %{_mandir}/man?/*
64
+# %{perl_vendorlib}/*
65
+%{perl_vendorarch}/auto/*
66
+%{perl_vendorarch}/Cache
67
+%{perl_vendorarch}/Cache/*
68
+/var/adm/perl-modules/%{name}
69
+
70
+%changelog
71