Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
projects
:
rebuild
>
libvmod_vslp
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 10
[-]
[+]
Changed
libvmod_vslp.spec
@@ -6,9 +6,10 @@ Group: Productivity/Networking/Web/Proxy License: GPLv3 Source0: uplex-varnish-libvmod-vslp.tar.gz +Source1: varnish-2.0.3.tar.bz2 BuildRoot: %{_tmppath}/%{name}-root -BuildRequires: varnish20-uplex-devel, libvarnish1, make, gcc, gcc-c++, autoconf +BuildRequires: make, gcc, gcc-c++, autoconf Requires: varnish20-uplex @@ -17,21 +18,19 @@ %prep -tar -xvzf %{SOURCE0} - +%setup -n libvmod-vslp +tar -xvjf varnish-2.0.3.tar.bz2 -O $RPM_BUILD_ROOT %build -pwd -cd uplex-varnish-libvmod-vslp -./autogen.sh -./configure +# this assumes that VARNISHSRC is defined on the rpmbuild command line, like this: +rpmbuild -bb --define 'VARNISHSRC /home/user/rpmbuild/BUILD/varnish-2.0.3' redhat/*spec +./configure VARNISHSRC=%{VARNISHSRC} VMODDIR="$(PKG_CONFIG_PATH=%{VARNISHSRC} pkg-config --variable=vmoddir varnishapi)" --prefix=/usr/ --docdir='${datarootdir}/doc/%{name}' make -make DESTDIR=$RPM_BUILD_ROOT install -make test - +make check %install -make test +make install DESTDIR=%{buildroot} + %clean rm -rf $RPM_BUILD_ROOT
Added
varnish-2.0.3.tar.bz2
^