SHA256
1
0
forked from pool/varnish

Autobuild autoformatter for 67020

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/varnish?expand=0&rev=4
This commit is contained in:
Marcus Rückert 2011-06-29 12:26:54 +00:00 committed by Git OBS Bridge
parent f46ecca487
commit 3f267b0842

View File

@ -1,7 +1,7 @@
# #
# spec file for package varnish (Version 2.0.5) # spec file for package varnish
# #
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -20,13 +20,13 @@
Name: varnish Name: varnish
Version: 2.1.3 Version: 2.1.3
Release: 0 Release: 5
# #
License: BSD License: BSD
Group: Productivity/Networking/Web/Proxy Group: Productivity/Networking/Web/Proxy
# #
BuildRoot: %_tmppath/%name-%version-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libxslt, ncurses-devel, pcre-devel, pkg-config BuildRequires: libxslt ncurses-devel pcre-devel pkg-config
Prereq(post): %_sbindir/useradd %_sbindir/groupadd Prereq(post): %_sbindir/useradd %_sbindir/groupadd
%if 0%{?suse_version} %if 0%{?suse_version}
Recommends: logrotate Recommends: logrotate
@ -35,15 +35,16 @@ Recommends: logrotate
%define pkg_logdir %_localstatedir/log/%name %define pkg_logdir %_localstatedir/log/%name
%define pkg_cachedir %_localstatedir/cache/%name %define pkg_cachedir %_localstatedir/cache/%name
# #
URL: http://www.varnish-cache.org/ Url: http://www.varnish-cache.org/
Source0: http://downloads.sourceforge.net/varnish/varnish-%version.tar.gz Source0: http://downloads.sourceforge.net/varnish/varnish-%version.tar.gz
# http://downloads.sourceforge.net/varnish/varnish-%version.tar.bz2 # http://downloads.sourceforge.net/varnish/varnish-%version.tar.bz2
Source2: varnish.init Source2: varnish.init
Source3: varnish.sysconfig Source3: varnish.sysconfig
Source4: vcl.conf Source4: vcl.conf
Source5: varnish.logrotate Source5: varnish.logrotate
# #
Summary: Varnish is a high-performance HTTP accelerator Summary: Varnish is a high-performance HTTP accelerator
%description %description
Varnish is an HTTP accelerator. An HTTP accelerator (often called Reverse Varnish is an HTTP accelerator. An HTTP accelerator (often called Reverse
Proxy) is an application that stores (caches) documents that have been Proxy) is an application that stores (caches) documents that have been
@ -60,10 +61,14 @@ Authors:
Poul-Henning Kamp <phk@phk.freebsd.dk> Poul-Henning Kamp <phk@phk.freebsd.dk>
%define library_name libvarnish1 %define library_name libvarnish1
%package -n %library_name %package -n %library_name
Group: Productivity/Networking/Web/Proxy Group: Productivity/Networking/Web/Proxy
# #
Summary: Shared libraries for Varnish Summary: Shared libraries for Varnish
%description -n %library_name %description -n %library_name
Varnish is an HTTP accelerator. An HTTP accelerator (often called Reverse Varnish is an HTTP accelerator. An HTTP accelerator (often called Reverse
Proxy) is an application that stores (caches) documents that have been Proxy) is an application that stores (caches) documents that have been
@ -84,10 +89,13 @@ Authors:
%package devel %package devel
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %name = %version Requires: %name = %version
# #
Summary: Development files for Varnish Summary: Development files for Varnish
%description devel %description devel
Varnish is an HTTP accelerator. An HTTP accelerator (often called Reverse Varnish is an HTTP accelerator. An HTTP accelerator (often called Reverse
Proxy) is an application that stores (caches) documents that have been Proxy) is an application that stores (caches) documents that have been
@ -167,6 +175,7 @@ mkdir -p "%buildroot/%_localstatedir/log/varnish"
%endif %endif
%post -n %library_name -p /sbin/ldconfig %post -n %library_name -p /sbin/ldconfig
%postun -n %library_name -p /sbin/ldconfig %postun -n %library_name -p /sbin/ldconfig
%files %files