Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
projects
:
rebuild
>
libvmod_vslp
> libvmod_vslp.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libvmod_vslp.spec of Package libvmod_vslp
%define real_name uplex-varnish-libvmod-vslp %define varnish_version 2.0.3 %define varnish_src varnish-%{varnish_version} %define varnish_src_build /home/abuild/rpmbuild/BUILD/%{varnish_src} Name: libvmod_vslp Version: 0.1 Release: 1 Summary: Varnish module Group: Productivity/Networking/Web/Proxy License: GPLv3 Source0: uplex-varnish-libvmod-vslp.tar.gz Source1: %{varnish_src}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-root BuildRequires: make, gcc, gcc-c++, autoconf Requires: varnish20-uplex %description %prep tar -xvjf %{SOURCE1} cd %{varnish_src_build} autoreconf -fi %configure --disable-static --localstatedir=%{_var}/cache/ \ --enable-debugging-symbols \ --enable-developer-warnings make %setup -D -n %{real_name} %build # this assumes that VARNISHSRC is defined on the rpmbuild command line, like this: #rpmbuild -bb --define 'VARNISHSRC %{varnish_src}' ./autogen.sh ./configure VARNISHSRC=%{varnish_src_build} VMODDIR="%{varnish_src_build} pkg-config --variable=vmoddir varnishapi)" --prefix=/usr/ --docdir='${datarootdir}/doc/%{name}' make make check %install make install DESTDIR=%{buildroot} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_libdir}/ %changelog