From 3f267b0842bfd9df5691fda18bd0dec0617b5996470d3be31e4bc0a718344337 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Wed, 29 Jun 2011 12:26:54 +0000 Subject: [PATCH] Autobuild autoformatter for 67020 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/varnish?expand=0&rev=4 --- varnish.spec | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/varnish.spec b/varnish.spec index 4e4bc2f..e685eb7 100644 --- a/varnish.spec +++ b/varnish.spec @@ -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 # remain the property of their copyright owners, unless otherwise agreed @@ -20,13 +20,13 @@ Name: varnish Version: 2.1.3 -Release: 0 +Release: 5 # License: BSD Group: Productivity/Networking/Web/Proxy # -BuildRoot: %_tmppath/%name-%version-build -BuildRequires: libxslt, ncurses-devel, pcre-devel, pkg-config +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: libxslt ncurses-devel pcre-devel pkg-config Prereq(post): %_sbindir/useradd %_sbindir/groupadd %if 0%{?suse_version} Recommends: logrotate @@ -35,15 +35,16 @@ Recommends: logrotate %define pkg_logdir %_localstatedir/log/%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 # http://downloads.sourceforge.net/varnish/varnish-%version.tar.bz2 Source2: varnish.init Source3: varnish.sysconfig -Source4: vcl.conf -Source5: varnish.logrotate +Source4: vcl.conf +Source5: varnish.logrotate # Summary: Varnish is a high-performance HTTP accelerator + %description Varnish is an HTTP accelerator. An HTTP accelerator (often called Reverse Proxy) is an application that stores (caches) documents that have been @@ -60,10 +61,14 @@ Authors: Poul-Henning Kamp %define library_name libvarnish1 + %package -n %library_name + + Group: Productivity/Networking/Web/Proxy # Summary: Shared libraries for Varnish + %description -n %library_name Varnish is an HTTP accelerator. An HTTP accelerator (often called Reverse Proxy) is an application that stores (caches) documents that have been @@ -84,10 +89,13 @@ Authors: %package devel + + Group: Development/Libraries/C and C++ Requires: %name = %version # Summary: Development files for Varnish + %description devel Varnish is an HTTP accelerator. An HTTP accelerator (often called Reverse Proxy) is an application that stores (caches) documents that have been @@ -167,6 +175,7 @@ mkdir -p "%buildroot/%_localstatedir/log/varnish" %endif %post -n %library_name -p /sbin/ldconfig + %postun -n %library_name -p /sbin/ldconfig %files