-
Notifications
You must be signed in to change notification settings - Fork 11
/
vmod-memcached.spec
47 lines (38 loc) · 1.06 KB
/
vmod-memcached.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Summary: Memcached VMOD for Varnish
Name: vmod-memcached
Version: 0.3
Release: 1%{?dist}
License: BSD
Group: System Environment/Daemons
Source0: libvmod-memcached.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: varnish >= 4.1
BuildRequires: libmemcached-devel > 0.53
BuildRequires: lsof
BuildRequires: memcached
BuildRequires: python-docutils
BuildRequires: varnish >= 4.1
BuildRequires: varnish-libs-devel >= 4.1
%description
Memcached VMOD
%prep
%setup -n libvmod-memcached-trunk
%build
%configure --prefix=/usr/
%{__make} %{?_smp_mflags}
%{__make} %{?_smp_mflags} check
%install
[ %{buildroot} != "/" ] && %{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}
%clean
[ %{buildroot} != "/" ] && %{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_libdir}/varnis*/vmods/
%doc /usr/share/doc/lib%{name}/*
%{_mandir}/man?/*
%changelog
* Tue Apr 21 2015 Reza Naghibi <[email protected]> - 0.3
- Connection pooling
* Tue Nov 14 2012 Lasse Karstensen <[email protected]> - 0.1-0.20121114
- Initial version.