Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
130 lines (114 sloc) 4.35 KB
Summary: Varnish is a high-performance HTTP accelerator.
Name: varnish
Version: 1.0.2
Release: 7
License: BSD-like
Group: System Environment/Daemons
Packager: Ingvar Hagelund <>
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: gcc gcc-c++ ncurses-devel libtool autoconf automake
Requires: gcc ncurses kernel >= 2.6.0
Vendor: Linpro AS,
This is the Varnish high-performance HTTP accelerator.
Documentation and additional information about Varnish is available on
the following web sites: Official web site Developer site and wiki
Technical questions about Varnish and this release should be addressed
to <>.
Questions about commercial support and services related to Varnish
should be addressed to <>.
Copyright (c) 2006 Verdens Gang AS
Copyright (c) 2006 Linpro AS
All rights reserved.
Author: Poul-Henning Kamp <>
%setup -q
%configure --sbindir=/usr/sbin
sed -e ' s/8080/80/g ' etc/vcl.conf > redhat/vcl.conf
mkdir -p %{buildroot}%{_sbindir}
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}
mkdir -p %{buildroot}/etc/varnish
mkdir -p %{buildroot}/etc/init.d
mkdir -p %{buildroot}/etc/sysconfig
mkdir -p %{buildroot}/var/lib/varnish
%{__install} -m 0644 INSTALL %{buildroot}%{_docdir}/%{name}-%{version}/INSTALL
%{__install} -m 0644 LICENSE %{buildroot}%{_docdir}/%{name}-%{version}/LICENSE
%{__install} -m 0644 README %{buildroot}%{_docdir}/%{name}-%{version}/README
%{__install} -m 0644 ChangeLog %{buildroot}%{_docdir}/%{name}-%{version}/ChangeLog
%{__install} -m 0644 redhat/README.redhat %{buildroot}%{_docdir}/%{name}-%{version}/README.redhat
%{__install} -m 0644 redhat/vcl.conf %{buildroot}%{_docdir}/%{name}-%{version}/vcl.example.conf
%{__install} -m 0644 redhat/vcl.conf %{buildroot}/etc/varnish/vcl.conf
%{__install} -m 0644 redhat/varnish.sysconfig %{buildroot}/etc/sysconfig/varnish
%{__install} -m 0755 redhat/varnish.initrc %{buildroot}/etc/init.d/varnish
%doc %{_docdir}/%{name}-%{version}/INSTALL
%doc %{_docdir}/%{name}-%{version}/LICENSE
%doc %{_docdir}/%{name}-%{version}/README
%doc %{_docdir}/%{name}-%{version}/README.redhat
%doc %{_docdir}/%{name}-%{version}/ChangeLog
%doc %{_docdir}/%{name}-%{version}/vcl.example.conf
%config(noreplace) /etc/varnish/vcl.conf
%config /etc/init.d/varnish
%config /etc/sysconfig/varnish
/sbin/chkconfig --add varnish
/sbin/chkconfig --list varnish
* Thu Oct 19 2006 Ingvar Hagelund <> - 1.02-7
- Added a Vendor tag
* Thu Oct 19 2006 Ingvar Hagelund <> - 1.02-6
- Added redhat subdir to svn
- Removed default vcl config file. Used the new upstream variant instead.
- Based build on svn. Running as start of build. Also added
libtool, autoconf and automake to BuildRequires.
- Removed rule to move varnishd to sbin. This is now fixed in upstream
- Changed the sysconfig script to include a lot more nice features.
Most of these were ripped from the Debian package. Updated initscript
to reflect this.
* Tue Oct 10 2006 Ingvar Hagelund <> - 1.01-3
- Moved Red Hat specific files to its own subdirectory
* Tue Sep 26 2006 Ingvar Hagelund <> - 1.0.1-2
- Added gcc requirement.
- Changed to an even simpler example vcl in to /etc/varnish (thanks, perbu)
- Added a sysconfig entry
* Fri Sep 22 2006 Ingvar Hagelund <> - 1.0.1-1
- Initial build.