Commit 27ccc764 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp
parents 0887a4f9 5c2edfc9
#
if HAVE_RST2MAN
noinst_PROGRAMS = vsc2rst
endif
vsc2rst_SOURCES = vsc2rst.c \
$(top_srcdir)/include/vsc_fields.h
......@@ -30,10 +32,11 @@ else
@false
endif
varnish-counters.7: vsc2rst
if HAVE_RST2MAN
varnish-counters.7: vsc2rst
./vsc2rst | ${RST2MAN} - $@
else
varnish-counters.7: $(top_srcdir)/include/vsc_fields.h
@echo "========================================"
@echo "You need rst2man installed to make dist"
@echo "========================================"
......
%define v_rc
%define vd_rc %{?v_rc:-%{?v_rc}}
Summary: High-performance HTTP accelerator
Name: varnish
Version: 3.0.0
Release: 0.20110715%{?dist}
Version: 3.1.0
Release: 0.20111006%{?v_rc}%{?dist}
License: BSD
Group: System Environment/Daemons
URL: http://www.varnish-cache.org/
#Source0: http://repo.varnish-cache.org/source/%{name}-%{version}.tar.gz
#Source0: %{name}-%{version}%{?vd_rc}.tar.gz
Source0: %{name}-trunk.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# To build from git, start with a make dist, see redhat/README.redhat
......@@ -71,7 +75,7 @@ Documentation files for %name
#Varnish Cache is a high-performance HTTP accelerator
%prep
#%setup -q
#%setup -q -n varnish-%{version}%{?vd_rc}
%setup -q -n varnish-trunk
mkdir examples
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment