Search
j0ke.net Open Build Service
>
Projects
>
Apache
:
2.4
:
Modules
>
apache2-mod_memcache
> apache-mod_memcache.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File apache-mod_memcache.spec of Package apache2-mod_memcache
# norootforbuild Name: apache2-mod_memcache BuildRequires: apache2-devel apache2-prefork %define apxs /usr/sbin/apxs2 %define apache apache2 %define apache_libexecdir %(%{apxs} -q LIBEXECDIR) %define apache_sysconfdir %(%{apxs} -q SYSCONFDIR) %define apache_includedir %(%{apxs} -q INCLUDEDIR) %define apache_serverroot %(%{apxs} -q PREFIX) %define apache_localstatedir %(%{apxs} -q LOCALSTATEDIR) %define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN) Summary: Apache 2.2.x module to manage apr_memcache connections Version: 0.1.0 Release: 10 Group: System/Servers License: Apache License URL: http://code.google.com/p/modmemcache/ Source0: http://modmemcache.googlecode.com/files/mod_memcache-%{version}.tar.gz Source1: mod_memcache.conf Requires: apache2 %{apache_mmn} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description mod_memcache manages the parsing of memcached server configuration and exports a single function for use by other modules to access a configured apr_memcache object. %prep %setup -q -n mod_memcache-%{version} cp -p %{S:1} . %build %{apxs} -c -Wc,"-Wall -g" src/mod_memcache.c %install mkdir -p $RPM_BUILD_ROOT/%{apache_libexecdir} cp -p src/.libs/mod_memcache.so $RPM_BUILD_ROOT/%{apache_libexecdir} mkdir -p $RPM_BUILD_ROOT/%{apache_includedir} cp -p src/mod_memcache.h $RPM_BUILD_ROOT/%{apache_includedir} %files %defattr(-,root,root) %doc LICENSE README mod_memcache.conf %{apache_libexecdir}/*.so %{apache_includedir}/*.h %changelog