Browse Source

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1898 ec354946-7b23-47d6-9f5a-488ba84defc7

daisuke 14 năm trước cách đây
mục cha
commit
1041e8f0db
1 tập tin đã thay đổi với 17 bổ sung6 xóa
  1. 17 6
      n/nginx/nginx-vl.spec

+ 17 - 6
n/nginx/nginx-vl.spec

@@ -11,7 +11,7 @@
 Summary:        Robust, small and high performance http and reverse proxy server
 Summary(ja):    堅牢・軽量・高性能な HTTP およびリバースプロキシサーバ
 Name:           nginx
-Version:        0.8.35
+Version:        0.8.50
 Release:        1%{?_dist_release}
 
 Group:          System Environment/Daemons   
@@ -34,7 +34,8 @@ Source101:  poweredby-vine.png
 Source102:  nginx-logo.png
 Source103:  nginx-50x.html
 Source104:  nginx-404.html
-Source1000: ngx-fancyindex-git.tar.bz2
+%define ngx_fancyindex_version 0.3
+Source1000: ngx-fancyindex-%{ngx_fancyindex_version}.tar.gz
 
 # removes -Werror in upstream build scripts.  -Werror conflicts with
 # -D_FORTIFY_SOURCE=2 causing warnings to turn into errors.
@@ -51,9 +52,9 @@ BuildRequires:      openssl-devel
 BuildRequires:	    gd-devel
 BuildRequires:      perl
 BuildRequires:      perl(ExtUtils::Embed)
-Requires:           pcre
-Requires:           zlib
-Requires:           openssl
+BuildRequires:	    libxml2-devel
+BuildRequires:	    libxslt-devel
+
 %if "%{?_dist_release}" == "vl4"
 Requires:	    perl >= 5.8.6
 %else
@@ -124,7 +125,7 @@ export DESTDIR=%{buildroot}
     --with-http_perl_module \
     --with-mail \
     --with-mail_ssl_module \
-    --add-module=ngx-fancyindex \
+    --add-module=ngx-fancyindex-%{ngx_fancyindex_version} \
 %ifarch i686
     --with-cpu-opt=pentiumpro \
     --with-zlib-asm=pentiumpro \
@@ -221,6 +222,10 @@ fi
 %config(noreplace) %{nginx_confdir}/mime.types
 %config(noreplace) %{nginx_confdir}/fastcgi.conf
 %config(noreplace) %{nginx_confdir}/fastcgi.conf.default
+%config(noreplace) %{nginx_confdir}/scgi_params
+%config(noreplace) %{nginx_confdir}/scgi_params.default
+%config(noreplace) %{nginx_confdir}/uwsgi_params
+%config(noreplace) %{nginx_confdir}/uwsgi_params.default
 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
 %config(noreplace) %{_sysconfdir}/sysconfig/%{name}
 %dir %{perl_vendorarch}/auto/%{name}
@@ -233,6 +238,12 @@ fi
 
 
 %changelog
+* Sat Sep 24 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.50-1
+- update to 0.8.50
+- update ngx-fancyindex to 0.3
+- add BR: libxml2-devel, libxslt-devel
+- add scgi_params* and uwsgi_params* to %%files
+
 * Sat Apr 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.35-1
 - update to 0.8.35 (development version)
 - add sites.d/ to store vitualhost settings