From 1c438d78cff99016f3647849cc0c4e5fdcd226b6 Mon Sep 17 00:00:00 2001 From: sardzent Date: Wed, 28 Nov 2007 21:26:19 +0000 Subject: [PATCH] - still missing /etc/sysconfig/nginx daemon config file - is the perl build/install requires correct ? - still not splited into nginx-common, nginx, nginx-perl packages - what package should be build by default - new config options, maybe update of config template Changed files: nginx.spec -> 1.40 --- nginx.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nginx.spec b/nginx.spec index bd861e4..773a9ba 100644 --- a/nginx.spec +++ b/nginx.spec @@ -1,5 +1,6 @@ # TODO # - /etc/sysconfig/nginx file +# - missing perl build/install requires # - prepare pld style like nginx.conf # - split into nginx-common, nginx, nginx-perl packages # @@ -22,7 +23,7 @@ Summary: High perfomance HTTP and reverse proxy server Summary(pl.UTF-8): Serwer HTTP i odwrotne proxy o wysokiej wydajności Name: nginx Version: 0.5.33 -Release: 0.1 +Release: 0.2 License: BSD-like Group: Networking/Daemons Source0: http://sysoev.ru/nginx/%{name}-%{version}.tar.gz @@ -43,7 +44,9 @@ URL: http://nginx.net/ BuildRequires: mailcap BuildRequires: openssl-devel BuildRequires: pcre-devel +%{?with_perl:BuildRequires: perl-CGI} %{?with_perl:BuildRequires: perl-devel} +%{?with_perl:BuildRequires: rpm-perlprov} BuildRequires: rpmbuild(macros) >= 1.268 BuildRequires: zlib-devel Requires(post,preun): /sbin/chkconfig @@ -55,6 +58,7 @@ Requires(pre): /usr/sbin/groupadd Requires(pre): /usr/sbin/useradd Requires: openssl Requires: pcre +%{?with_perl:BuildRequires: perl-devel} Requires: rc-scripts >= 0.2.0 Requires: zlib Provides: group(http) @@ -108,6 +112,7 @@ prostej konfiguracji oraz małej "zasobożerności". #Summary(pl.UTF-8): Serwer HTTP i odwrotne proxy o wysokiej wydajno�~[ci #Group: Applications/System #Requires: nginx-common +#Requires: perl-mod_%{mod_name} = %{epoch}:%{version}-%{release} #Provides: group(http) #Provides: group(nginx) #Provides: user(nginx) -- 2.44.0