[3785] | 1 | # build mod_wsgi |
---|
| 2 | %bcond_with wsgi |
---|
| 3 | |
---|
[521] | 4 | %define nginx_user nginx |
---|
| 5 | %define nginx_group %{nginx_user} |
---|
| 6 | %define nginx_home %{_localstatedir}/lib/nginx |
---|
| 7 | %define nginx_home_tmp %{nginx_home}/tmp |
---|
[854] | 8 | %define nginx_home_cache %{nginx_home}/cache |
---|
[521] | 9 | %define nginx_logdir %{_localstatedir}/log/nginx |
---|
| 10 | %define nginx_confdir %{_sysconfdir}/nginx |
---|
| 11 | %define nginx_datadir %{_datadir}/nginx |
---|
| 12 | %define nginx_webroot %{nginx_datadir}/html |
---|
| 13 | |
---|
| 14 | Summary: Robust, small and high performance http and reverse proxy server |
---|
| 15 | Summary(ja): 堅牢・軽量・高性能な HTTP およびリバースプロキシサーバ |
---|
| 16 | Name: nginx |
---|
[5167] | 17 | Version: 1.0.10 |
---|
[4093] | 18 | Release: 1%{?_dist_release} |
---|
[521] | 19 | |
---|
| 20 | Group: System Environment/Daemons |
---|
| 21 | # BSD License (two clause) |
---|
| 22 | # http://www.freebsd.org/copyright/freebsd-license.html |
---|
| 23 | License: BSD |
---|
| 24 | URL: http://nginx.net/ |
---|
[854] | 25 | |
---|
| 26 | Source0: http://sysoev.ru/nginx/nginx-%{version}.tar.gz |
---|
| 27 | Source1: %{name}.init |
---|
| 28 | Source2: %{name}.logrotate |
---|
| 29 | Source3: nginx-virtual.conf.template |
---|
| 30 | Source4: nginx-ssl.conf |
---|
| 31 | Source5: %{name}.sysconfig |
---|
| 32 | Source10: nginx-vine.conf |
---|
| 33 | Source11: nginx-default-vine |
---|
| 34 | Source20: proxy_cache.conf |
---|
| 35 | Source100: nginx-index.html |
---|
| 36 | Source101: poweredby-vine.png |
---|
| 37 | Source102: nginx-logo.png |
---|
| 38 | Source103: nginx-50x.html |
---|
| 39 | Source104: nginx-404.html |
---|
[1898] | 40 | %define ngx_fancyindex_version 0.3 |
---|
| 41 | Source1000: ngx-fancyindex-%{ngx_fancyindex_version}.tar.gz |
---|
[2236] | 42 | %define nginx_accept_language_module_version 02262ce |
---|
| 43 | Source1010: giom-nginx_accept_language_module-%{nginx_accept_language_module_version}.tar.gz |
---|
[5167] | 44 | %define passenger_version 3.0.9 |
---|
[3906] | 45 | Source1020: passenger-%{passenger_version}.tar.gz |
---|
| 46 | %define upstream_fair_version 2131c73 |
---|
| 47 | Source1030: gnosek-nginx-upstream-fair-%{upstream_fair_version}.tar.gz |
---|
| 48 | %define upstream_keepalive_version 2ee28064a04a |
---|
| 49 | Source1040: ngx_http_upstream_keepalive-%{upstream_keepalive_version}.tar.gz |
---|
[854] | 50 | |
---|
[3906] | 51 | %define mod_wsgi_version 6975f0ec7eeb |
---|
| 52 | Source2000: lifeeth-mod_wsgi-%{mod_wsgi_version}.tar.bz2 |
---|
| 53 | |
---|
[854] | 54 | # removes -Werror in upstream build scripts. -Werror conflicts with |
---|
| 55 | # -D_FORTIFY_SOURCE=2 causing warnings to turn into errors. |
---|
| 56 | Patch0: nginx-auto-cc-gcc.patch |
---|
| 57 | # configuration patch to match all the Vine Linux paths for logs, pid files |
---|
| 58 | # etc. |
---|
| 59 | Patch1: nginx-conf.patch |
---|
| 60 | |
---|
[521] | 61 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 62 | |
---|
| 63 | BuildRequires: pcre-devel |
---|
| 64 | BuildRequires: zlib-devel |
---|
| 65 | BuildRequires: openssl-devel |
---|
[854] | 66 | BuildRequires: gd-devel |
---|
[521] | 67 | BuildRequires: perl |
---|
| 68 | BuildRequires: perl(ExtUtils::Embed) |
---|
[1898] | 69 | BuildRequires: libxml2-devel |
---|
| 70 | BuildRequires: libxslt-devel |
---|
[3906] | 71 | BuildRequires: curl-devel |
---|
[1898] | 72 | |
---|
[521] | 73 | %if "%{?_dist_release}" == "vl4" |
---|
| 74 | Requires: perl >= 5.8.6 |
---|
| 75 | %else |
---|
| 76 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 77 | %endif |
---|
| 78 | # for /usr/sbin/useradd |
---|
| 79 | Requires(pre): shadow-utils |
---|
| 80 | Requires(post): chkconfig |
---|
| 81 | # for /sbin/service |
---|
| 82 | Requires(preun): chkconfig, initscripts |
---|
| 83 | Requires(postun): initscripts |
---|
| 84 | |
---|
[3785] | 85 | Provides: webserver |
---|
| 86 | |
---|
[854] | 87 | Vendor: Project Vine |
---|
| 88 | Distribution: Vine Linux |
---|
| 89 | Packager: daisuke |
---|
[521] | 90 | |
---|
| 91 | %description |
---|
| 92 | Nginx [engine x] is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 |
---|
| 93 | proxy server written by Igor Sysoev. |
---|
| 94 | |
---|
| 95 | %description -l ja |
---|
| 96 | Nginx [engine x/エンジンX] は Igor Sysoev により開発された以下の機能をもつ |
---|
| 97 | 堅牢・軽量・高性能なHTTPサーバかつリバースプロキシサーバです。 |
---|
| 98 | - HTTP(S) サーバ |
---|
| 99 | - HTTP(S) リバースプロキシサーバ |
---|
| 100 | - IMAP/POP3 プロキシサーバ |
---|
| 101 | |
---|
[3847] | 102 | %package passenger |
---|
| 103 | Summary: Nginx with mod_passenger support |
---|
| 104 | Summary(ja): Passenger サポート入りの Nginx |
---|
| 105 | Group: System Environment/Daemons |
---|
| 106 | BuildRequires: ruby, rubygems, rubygem-rake |
---|
| 107 | Requires: nginx |
---|
| 108 | |
---|
| 109 | %description passenger |
---|
| 110 | Nginx [engine x] is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 |
---|
| 111 | This package contains nginx server with passenger support. |
---|
| 112 | |
---|
| 113 | %description -l ja passenger |
---|
| 114 | Nginx [engine x/エンジンX] は Igor Sysoev により開発された以下の機能をもつ |
---|
| 115 | 堅牢・軽量・高性能なHTTPサーバかつリバースプロキシサーバです。 |
---|
| 116 | - HTTP(S) サーバ |
---|
| 117 | - HTTP(S) リバースプロキシサーバ |
---|
| 118 | - IMAP/POP3 プロキシサーバ |
---|
| 119 | このパッケージには Passenger サポートを含んだ nginxサーバが入っています。 |
---|
| 120 | |
---|
[521] | 121 | %prep |
---|
[3906] | 122 | %setup -q -a 1000 -a 1010 -a 1020 -a 1030 -a 1040 %{?with_wsgi:-a 2000} |
---|
[521] | 123 | |
---|
| 124 | %patch0 -p0 |
---|
| 125 | %patch1 -p1 |
---|
| 126 | |
---|
| 127 | %build |
---|
| 128 | # nginx does not utilize a standard configure script. It has its own |
---|
| 129 | # and the standard configure options cause the nginx configure script |
---|
| 130 | # to error out. This is is also the reason for the DESTDIR environment |
---|
| 131 | # variable. The configure script(s) have been patched (Patch1 and |
---|
| 132 | # Patch2) in order to support installing into a build environment. |
---|
[3847] | 133 | |
---|
[521] | 134 | export DESTDIR=%{buildroot} |
---|
[3847] | 135 | |
---|
| 136 | ## build with passenger |
---|
[521] | 137 | ./configure \ |
---|
| 138 | --user=%{nginx_user} \ |
---|
| 139 | --group=%{nginx_group} \ |
---|
| 140 | --prefix=%{nginx_datadir} \ |
---|
| 141 | --sbin-path=%{_sbindir}/%{name} \ |
---|
| 142 | --conf-path=%{nginx_confdir}/%{name}.conf \ |
---|
| 143 | --error-log-path=%{nginx_logdir}/error.log \ |
---|
| 144 | --http-log-path=%{nginx_logdir}/access.log \ |
---|
| 145 | --http-client-body-temp-path=%{nginx_home_tmp}/client_body \ |
---|
| 146 | --http-proxy-temp-path=%{nginx_home_tmp}/proxy \ |
---|
| 147 | --http-fastcgi-temp-path=%{nginx_home_tmp}/fastcgi \ |
---|
| 148 | --pid-path=%{_localstatedir}/run/%{name}.pid \ |
---|
| 149 | --lock-path=%{_localstatedir}/lock/subsys/%{name} \ |
---|
[854] | 150 | --with-file-aio \ |
---|
| 151 | --with-ipv6 \ |
---|
[521] | 152 | --with-http_ssl_module \ |
---|
| 153 | --with-http_realip_module \ |
---|
| 154 | --with-http_addition_module \ |
---|
[854] | 155 | --with-http_xslt_module \ |
---|
| 156 | --with-http_image_filter_module \ |
---|
[521] | 157 | --with-http_sub_module \ |
---|
| 158 | --with-http_dav_module \ |
---|
| 159 | --with-http_flv_module \ |
---|
| 160 | --with-http_gzip_static_module \ |
---|
[854] | 161 | --with-http_random_index_module \ |
---|
| 162 | --with-http_secure_link_module \ |
---|
[521] | 163 | --with-http_stub_status_module \ |
---|
| 164 | --with-http_perl_module \ |
---|
| 165 | --with-mail \ |
---|
| 166 | --with-mail_ssl_module \ |
---|
[1898] | 167 | --add-module=ngx-fancyindex-%{ngx_fancyindex_version} \ |
---|
[2236] | 168 | --add-module=giom-nginx_accept_language_module-%{nginx_accept_language_module_version} \ |
---|
[3906] | 169 | --add-module=gnosek-nginx-upstream-fair-%{upstream_fair_version} \ |
---|
| 170 | --add-module=ngx_http_upstream_keepalive-%{upstream_keepalive_version} \ |
---|
[3785] | 171 | %if %{with wsgi} |
---|
| 172 | --add-module=lifeeth-mod_wsgi-%{mod_wsgi_version} \ |
---|
| 173 | %endif |
---|
| 174 | --add-module=passenger-%{passenger_version}/ext/nginx \ |
---|
[3847] | 175 | %ifarch i686 |
---|
| 176 | --with-cpu-opt=pentiumpro \ |
---|
| 177 | --with-zlib-asm=pentiumpro \ |
---|
| 178 | --with-md5-asm \ |
---|
| 179 | --with-sha1-asm \ |
---|
[3785] | 180 | %endif |
---|
[3847] | 181 | --with-cc-opt="-O6 %{optflags} $(pcre-config --cflags)" |
---|
| 182 | make %{?_smp_mflags} |
---|
| 183 | mv objs/nginx objs/nginx.passenger |
---|
| 184 | |
---|
| 185 | ## build without passenger |
---|
| 186 | ./configure \ |
---|
| 187 | --user=%{nginx_user} \ |
---|
| 188 | --group=%{nginx_group} \ |
---|
| 189 | --prefix=%{nginx_datadir} \ |
---|
| 190 | --sbin-path=%{_sbindir}/%{name} \ |
---|
| 191 | --conf-path=%{nginx_confdir}/%{name}.conf \ |
---|
| 192 | --error-log-path=%{nginx_logdir}/error.log \ |
---|
| 193 | --http-log-path=%{nginx_logdir}/access.log \ |
---|
| 194 | --http-client-body-temp-path=%{nginx_home_tmp}/client_body \ |
---|
| 195 | --http-proxy-temp-path=%{nginx_home_tmp}/proxy \ |
---|
| 196 | --http-fastcgi-temp-path=%{nginx_home_tmp}/fastcgi \ |
---|
| 197 | --pid-path=%{_localstatedir}/run/%{name}.pid \ |
---|
| 198 | --lock-path=%{_localstatedir}/lock/subsys/%{name} \ |
---|
| 199 | --with-file-aio \ |
---|
| 200 | --with-ipv6 \ |
---|
| 201 | --with-http_ssl_module \ |
---|
| 202 | --with-http_realip_module \ |
---|
| 203 | --with-http_addition_module \ |
---|
| 204 | --with-http_xslt_module \ |
---|
| 205 | --with-http_image_filter_module \ |
---|
| 206 | --with-http_sub_module \ |
---|
| 207 | --with-http_dav_module \ |
---|
| 208 | --with-http_flv_module \ |
---|
| 209 | --with-http_gzip_static_module \ |
---|
| 210 | --with-http_random_index_module \ |
---|
| 211 | --with-http_secure_link_module \ |
---|
| 212 | --with-http_stub_status_module \ |
---|
| 213 | --with-http_perl_module \ |
---|
| 214 | --with-mail \ |
---|
| 215 | --with-mail_ssl_module \ |
---|
| 216 | --add-module=ngx-fancyindex-%{ngx_fancyindex_version} \ |
---|
| 217 | --add-module=giom-nginx_accept_language_module-%{nginx_accept_language_module_version} \ |
---|
[3906] | 218 | --add-module=gnosek-nginx-upstream-fair-%{upstream_fair_version} \ |
---|
| 219 | --add-module=ngx_http_upstream_keepalive-%{upstream_keepalive_version} \ |
---|
[3847] | 220 | %if %{with wsgi} |
---|
| 221 | --add-module=lifeeth-mod_wsgi-%{mod_wsgi_version} \ |
---|
| 222 | %endif |
---|
[854] | 223 | %ifarch i686 |
---|
| 224 | --with-cpu-opt=pentiumpro \ |
---|
| 225 | --with-zlib-asm=pentiumpro \ |
---|
| 226 | --with-md5-asm \ |
---|
| 227 | --with-sha1-asm \ |
---|
| 228 | %endif |
---|
| 229 | --with-cc-opt="-O6 %{optflags} $(pcre-config --cflags)" |
---|
[521] | 230 | make %{?_smp_mflags} |
---|
| 231 | |
---|
| 232 | %install |
---|
| 233 | rm -rf %{buildroot} |
---|
| 234 | make install DESTDIR=%{buildroot} INSTALLDIRS=vendor |
---|
| 235 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
| 236 | find %{buildroot} -type f -name perllocal.pod -exec rm -f {} \; |
---|
| 237 | find %{buildroot} -type f -empty -exec rm -f {} \; |
---|
| 238 | find %{buildroot} -type f -exec chmod 0644 {} \; |
---|
| 239 | find %{buildroot} -type f -name '*.so' -exec chmod 0755 {} \; |
---|
[3847] | 240 | mv %{buildroot}%{_sbindir}/nginx %{buildroot}%{_sbindir}/nginx.normal |
---|
| 241 | %{__install} -m 0755 objs/nginx.passenger %{buildroot}%{_sbindir}/ |
---|
| 242 | chmod 0755 %{buildroot}%{_sbindir}/nginx.* |
---|
[521] | 243 | %{__install} -p -D -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name} |
---|
| 244 | %{__install} -p -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{name} |
---|
| 245 | %{__install} -p -D -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/sysconfig/%{name} |
---|
| 246 | %{__install} -p -d -m 0755 %{buildroot}%{nginx_confdir}/conf.d |
---|
[854] | 247 | %{__install} -p -d -m 0755 %{buildroot}%{nginx_confdir}/sites.d |
---|
| 248 | %{__install} -p -m 0644 %{SOURCE3} %{buildroot}%{nginx_confdir}/sites.d/virtual.conf.template |
---|
[521] | 249 | %{__install} -p -m 0644 %{SOURCE4} %{buildroot}%{nginx_confdir}/conf.d/ssl.conf |
---|
[854] | 250 | %{__install} -p -m 0644 %{SOURCE10} %{buildroot}%{nginx_confdir}/nginx.conf |
---|
| 251 | %{__install} -p -m 0644 %{SOURCE10} %{buildroot}%{nginx_confdir}/nginx.conf.default |
---|
| 252 | %{__install} -p -m 0644 %{SOURCE11} %{buildroot}%{nginx_confdir}/sites.d/default |
---|
| 253 | %{__install} -p -m 0644 %{SOURCE20} %{buildroot}%{nginx_confdir}/conf.d/proxy_cache.conf |
---|
| 254 | %{__install} -p -d -m 0755 %{buildroot}%{nginx_home_cache} |
---|
[521] | 255 | %{__install} -p -d -m 0755 %{buildroot}%{nginx_home_tmp} |
---|
| 256 | %{__install} -p -d -m 0755 %{buildroot}%{nginx_logdir} |
---|
| 257 | %{__install} -p -d -m 0755 %{buildroot}%{nginx_webroot} |
---|
| 258 | %{__install} -p -m 0644 %{SOURCE100} %{buildroot}%{nginx_webroot}/index.html |
---|
| 259 | %{__install} -p -m 0644 %{SOURCE101} %{buildroot}%{nginx_webroot}/poweredby.png |
---|
| 260 | %{__install} -p -m 0644 %{SOURCE102} %{buildroot}%{nginx_webroot}/nginx-logo.png |
---|
| 261 | %{__install} -p -m 0644 %{SOURCE103} %{buildroot}%{nginx_webroot}/50x.html |
---|
| 262 | %{__install} -p -m 0644 %{SOURCE104} %{buildroot}%{nginx_webroot}/404.html |
---|
| 263 | |
---|
[3785] | 264 | %if %{with wsgi} |
---|
| 265 | %{__install} -p -m 0644 \ |
---|
| 266 | lifeeth-mod_wsgi-%{mod_wsgi_version}/conf/wsgi_vars \ |
---|
| 267 | %{buildroot}%{nginx_confdir} |
---|
| 268 | cp -f lifeeth-mod_wsgi-%{mod_wsgi_version}/README README.mod_wsgi |
---|
| 269 | %endif |
---|
| 270 | |
---|
[3906] | 271 | # upstream fair module document |
---|
| 272 | cp -f gnosek-nginx-upstream-fair-%{upstream_fair_version}/README README.upstream_fair |
---|
| 273 | |
---|
| 274 | # upstream keepalive module document and sample |
---|
| 275 | mkdir -p upstream_keepalive_example |
---|
| 276 | cp -f ngx_http_upstream_keepalive-%{upstream_keepalive_version}/README README.upstream_keepalive |
---|
| 277 | cp -f ngx_http_upstream_keepalive-%{upstream_keepalive_version}/t/* upstream_keepalive_example |
---|
| 278 | |
---|
[854] | 279 | touch %{buildroot}%{nginx_confdir}/conf.d/virtual.conf |
---|
| 280 | |
---|
[521] | 281 | # convert to UTF-8 all files that give warnings. |
---|
| 282 | for textfile in CHANGES |
---|
| 283 | do |
---|
| 284 | mv $textfile $textfile.old |
---|
| 285 | iconv --from-code ISO8859-1 --to-code UTF-8 --output $textfile $textfile.old |
---|
| 286 | rm -f $textfile.old |
---|
| 287 | done |
---|
| 288 | |
---|
| 289 | %clean |
---|
| 290 | rm -rf %{buildroot} |
---|
| 291 | |
---|
| 292 | %pre |
---|
| 293 | if [ $1 == 1 ]; then |
---|
| 294 | %{_sbindir}/useradd -c "Nginx user" -s /bin/false -r -d %{nginx_home} %{nginx_user} 2>/dev/null || : |
---|
| 295 | fi |
---|
| 296 | |
---|
| 297 | %post |
---|
| 298 | if [ $1 == 1 ]; then |
---|
| 299 | /sbin/chkconfig --add %{name} |
---|
| 300 | fi |
---|
[3847] | 301 | update-alternatives --install %{_sbindir}/nginx nginx %{_sbindir}/nginx.normal 20 |
---|
[521] | 302 | |
---|
[3847] | 303 | %post passenger |
---|
| 304 | update-alternatives --install %{_sbindir}/nginx nginx %{_sbindir}/nginx.passenger 30 |
---|
| 305 | |
---|
[521] | 306 | %preun |
---|
| 307 | if [ $1 = 0 ]; then |
---|
| 308 | /sbin/service %{name} stop >/dev/null 2>&1 |
---|
| 309 | /sbin/chkconfig --del %{name} |
---|
[3847] | 310 | update-alternatives --remove nginx %{_sbindir}/nginx.normal |
---|
[521] | 311 | fi |
---|
| 312 | |
---|
[3847] | 313 | %preun passenger |
---|
| 314 | if [ $1 = 0 ]; then |
---|
| 315 | update-alternatives --remove nginx %{_sbindir}/nginx.passenger |
---|
| 316 | fi |
---|
| 317 | |
---|
| 318 | |
---|
[521] | 319 | %postun |
---|
| 320 | if [ $1 == 2 ]; then |
---|
| 321 | /sbin/service %{name} upgrade || : |
---|
| 322 | fi |
---|
| 323 | |
---|
| 324 | %files |
---|
| 325 | %defattr(-,root,root,-) |
---|
[3906] | 326 | %doc LICENSE CHANGES README |
---|
| 327 | %doc README.upstream_fair |
---|
| 328 | %doc README.upstream_keepalive upstream_keepalive_example/ |
---|
| 329 | %doc %{?with_wsgi:README.mod_wsgi} |
---|
[521] | 330 | %{nginx_datadir}/ |
---|
[3847] | 331 | %{_sbindir}/%{name}.normal |
---|
[521] | 332 | %{_mandir}/man3/%{name}.3pm.gz |
---|
| 333 | %{_initrddir}/%{name} |
---|
| 334 | %dir %{nginx_confdir} |
---|
| 335 | %dir %{nginx_confdir}/conf.d |
---|
| 336 | %config(noreplace) %{nginx_confdir}/conf.d/*.conf |
---|
[854] | 337 | %ghost %config(noreplace) %{nginx_confdir}/conf.d/virtual.conf |
---|
| 338 | %config(noreplace) %{nginx_confdir}/sites.d/* |
---|
[521] | 339 | %config(noreplace) %{nginx_confdir}/win-utf |
---|
| 340 | %config(noreplace) %{nginx_confdir}/%{name}.conf.default |
---|
| 341 | %config(noreplace) %{nginx_confdir}/mime.types.default |
---|
| 342 | %config(noreplace) %{nginx_confdir}/fastcgi_params |
---|
| 343 | %config(noreplace) %{nginx_confdir}/fastcgi_params.default |
---|
| 344 | %config(noreplace) %{nginx_confdir}/koi-win |
---|
| 345 | %config(noreplace) %{nginx_confdir}/koi-utf |
---|
| 346 | %config(noreplace) %{nginx_confdir}/%{name}.conf |
---|
| 347 | %config(noreplace) %{nginx_confdir}/mime.types |
---|
[854] | 348 | %config(noreplace) %{nginx_confdir}/fastcgi.conf |
---|
| 349 | %config(noreplace) %{nginx_confdir}/fastcgi.conf.default |
---|
[1898] | 350 | %config(noreplace) %{nginx_confdir}/scgi_params |
---|
| 351 | %config(noreplace) %{nginx_confdir}/scgi_params.default |
---|
| 352 | %config(noreplace) %{nginx_confdir}/uwsgi_params |
---|
| 353 | %config(noreplace) %{nginx_confdir}/uwsgi_params.default |
---|
[3785] | 354 | %if %{with wsgi} |
---|
| 355 | %config(noreplace) %{nginx_confdir}/wsgi_vars |
---|
| 356 | %endif |
---|
[521] | 357 | %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} |
---|
| 358 | %config(noreplace) %{_sysconfdir}/sysconfig/%{name} |
---|
| 359 | %dir %{perl_vendorarch}/auto/%{name} |
---|
| 360 | %{perl_vendorarch}/%{name}.pm |
---|
| 361 | %{perl_vendorarch}/auto/%{name}/%{name}.so |
---|
| 362 | %attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home} |
---|
| 363 | %attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home_tmp} |
---|
[854] | 364 | %attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home_cache} |
---|
[521] | 365 | %attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_logdir} |
---|
| 366 | |
---|
[3847] | 367 | %files passenger |
---|
| 368 | %defattr(-,root,root,-) |
---|
| 369 | %doc passenger-%{passenger_version}/doc/Users\ guide\ Nginx.* |
---|
| 370 | %doc passenger-%{passenger_version}/doc/ApplicationPool\ algorithm.txt |
---|
| 371 | %doc passenger-%{passenger_version}/doc/Architectural\ overview.* |
---|
| 372 | %doc passenger-%{passenger_version}/doc/Security\ of\ user\ switching\ support.* |
---|
| 373 | %doc passenger-%{passenger_version}/doc/template |
---|
| 374 | %doc passenger-%{passenger_version}/doc/users_guide_snippets |
---|
| 375 | %doc passenger-%{passenger_version}/doc/images |
---|
| 376 | %{_sbindir}/%{name}.passenger |
---|
[521] | 377 | |
---|
[3847] | 378 | |
---|
[521] | 379 | %changelog |
---|
[5167] | 380 | * Mon Nov 21 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.10-1 |
---|
| 381 | - update to 1.0.10 |
---|
| 382 | |
---|
| 383 | * Tue Sep 27 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-2 |
---|
| 384 | - update passenger to 3.0.9 |
---|
| 385 | |
---|
[4684] | 386 | * Tue Aug 30 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1 |
---|
| 387 | - update to 1.0.6 |
---|
| 388 | |
---|
[4093] | 389 | * Thu Jun 09 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1 |
---|
| 390 | - update to 1.0.4 |
---|
| 391 | |
---|
[3906] | 392 | * Wed May 18 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-3 |
---|
| 393 | - add gnosek-nginx-upstream-fair module |
---|
| 394 | - add ngx_http_upstream_keepalive module |
---|
| 395 | |
---|
[3847] | 396 | * Wed May 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-2 |
---|
| 397 | - add nginx-passenger sub pakckage |
---|
| 398 | - use alternatives to choose nginx with or without passenger |
---|
| 399 | - add BR: ruby, rubygems, rubygem-rake |
---|
| 400 | |
---|
[3844] | 401 | * Wed May 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1 |
---|
| 402 | - update to 1.0.2 |
---|
| 403 | |
---|
[3785] | 404 | * Wed May 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1 |
---|
| 405 | - update to 1.0.1 |
---|
| 406 | |
---|
| 407 | * Sun May 01 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-2 |
---|
| 408 | - add bcond_with wsgi for mod_wsgi |
---|
| 409 | - add bcond_with passenger |
---|
| 410 | - you need to install rake.gem to build with this option. |
---|
| 411 | - add Provides: webserver |
---|
| 412 | |
---|
[3419] | 413 | * Tue Apr 12 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1 |
---|
| 414 | - new upstream release 1.0.0! |
---|
| 415 | |
---|
[3146] | 416 | * Sun Mar 27 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.54-2 |
---|
| 417 | - rebuild with perl-5.12.3 |
---|
| 418 | |
---|
[2525] | 419 | * Mon Jan 17 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.54-1 |
---|
| 420 | - update to 0.8.54 |
---|
| 421 | |
---|
[2236] | 422 | * Sun Nov 28 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.53-1 |
---|
| 423 | - update to 0.8.53 |
---|
| 424 | - add nginx_accept_language_module |
---|
| 425 | |
---|
[1898] | 426 | * Sat Sep 24 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.50-1 |
---|
| 427 | - update to 0.8.50 |
---|
| 428 | - update ngx-fancyindex to 0.3 |
---|
| 429 | - add BR: libxml2-devel, libxslt-devel |
---|
| 430 | - add scgi_params* and uwsgi_params* to %%files |
---|
| 431 | |
---|
[854] | 432 | * Sat Apr 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.35-1 |
---|
| 433 | - update to 0.8.35 (development version) |
---|
| 434 | - add sites.d/ to store vitualhost settings |
---|
| 435 | - split out default server settings to sites.d/default |
---|
| 436 | - add fancyindex module |
---|
| 437 | |
---|
[521] | 438 | * Wed Dec 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.63-1 |
---|
| 439 | - new upstream release |
---|
| 440 | |
---|
| 441 | * Sun Sep 20 2009 Shu KONNO <owa@bg.wakwak.com> 0.7.62-1 |
---|
| 442 | - update to 0.7.62 (included security fix: VU#180065) |
---|
| 443 | |
---|
| 444 | * Wed Aug 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-4 |
---|
| 445 | - fix typo |
---|
| 446 | |
---|
| 447 | * Thu Aug 06 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-3 |
---|
| 448 | - add translated descriptions |
---|
| 449 | |
---|
| 450 | * Sat Jul 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-2 |
---|
| 451 | - update 404.html/50x.html to use powered by vine logo. |
---|
| 452 | |
---|
| 453 | * Wed Jul 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-1 |
---|
| 454 | - initial build for Vine Linux |
---|
| 455 | - update to 0.7.61 |
---|
| 456 | |
---|
| 457 | * Sun May 17 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.36-2 |
---|
| 458 | - init script updates from Gena Makhomed |
---|
| 459 | - remove nginx-upstream-fair |
---|
| 460 | |
---|
| 461 | * Sat Apr 11 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.36-1 |
---|
| 462 | - update to 0.6.36 |
---|
| 463 | |
---|
| 464 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.35-3 |
---|
| 465 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 466 | |
---|
| 467 | * Thu Feb 19 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.35-2 |
---|
| 468 | - rebuild |
---|
| 469 | |
---|
| 470 | * Thu Feb 19 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.35-1 |
---|
| 471 | - update to 0.6.35 |
---|
| 472 | |
---|
| 473 | * Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 0.6.34-2 |
---|
| 474 | - rebuild with new openssl |
---|
| 475 | |
---|
| 476 | * Tue Dec 30 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.34-1 |
---|
| 477 | - update to 0.6.34 |
---|
| 478 | |
---|
| 479 | * Thu Dec 4 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.6.33-2 |
---|
| 480 | - Fix inclusion of /usr/share/nginx tree => no unowned directories. |
---|
| 481 | |
---|
| 482 | * Sun Nov 23 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.33-1 |
---|
| 483 | - update to 0.6.33 |
---|
| 484 | |
---|
| 485 | * Tue Jul 22 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.32-1 |
---|
| 486 | - update to 0.6.32 |
---|
| 487 | - nginx now supports DESTDIR so removed the patches that enabled it |
---|
| 488 | |
---|
| 489 | * Mon May 26 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.31-3 |
---|
| 490 | - init script fixes |
---|
| 491 | - resolve 'listen 80 default' [#447873] |
---|
| 492 | |
---|
| 493 | * Mon May 12 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.31-2 |
---|
| 494 | - update to 0.6.31 |
---|
| 495 | |
---|
| 496 | * Sun May 11 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.30-2 |
---|
| 497 | - upate to new upstream stable branch 0.6 |
---|
| 498 | - added 3rd party module nginx-upstream-fair |
---|
| 499 | - added default webpages |
---|
| 500 | |
---|
| 501 | * Sun Apr 20 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.5.35-2 |
---|
| 502 | - update init script to match recommended guidelines |
---|
| 503 | - add /etc/nginx/conf.d support [#443280] |
---|
| 504 | - use /etc/sysconfig/nginx to determine nginx.conf [#442708] |
---|
| 505 | |
---|
| 506 | * Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.5.35-3 |
---|
| 507 | - add Requires for versioned perl (libperl.so) |
---|
| 508 | - drop silly file Requires |
---|
| 509 | |
---|
| 510 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.5.35-2 |
---|
| 511 | - Autorebuild for GCC 4.3 |
---|
| 512 | |
---|
| 513 | * Sat Jan 19 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.5.35-1 |
---|
| 514 | - update to 0.5.35 |
---|
| 515 | |
---|
| 516 | * Sat Dec 15 2007 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.5.34-1 |
---|
| 517 | - update to 0.5.34 |
---|
| 518 | |
---|
| 519 | * Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 0.5.33-2 |
---|
| 520 | - Rebuild for deps |
---|
| 521 | |
---|
| 522 | * Sun Nov 11 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.33-1 |
---|
| 523 | - update to 0.5.33 |
---|
| 524 | |
---|
| 525 | * Mon Sep 24 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.32-1 |
---|
| 526 | - updated to 0.5.32 |
---|
| 527 | - fixed rpmlint UTF-8 complaints. |
---|
| 528 | |
---|
| 529 | * Sat Aug 18 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.31-2 |
---|
| 530 | - added --with-http_stub_status_module build option. |
---|
| 531 | - added --with-http_sub_module build option. |
---|
| 532 | - added use of pcre-config --cflags |
---|
| 533 | |
---|
| 534 | * Fri Aug 17 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.31-1 |
---|
| 535 | - Update to 0.5.31 |
---|
| 536 | - specify license is BSD |
---|
| 537 | |
---|
| 538 | * Sat Aug 11 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.30-2 |
---|
| 539 | - Add BuildRequires: perl-devel - fixing rawhide build |
---|
| 540 | |
---|
| 541 | * Mon Jul 30 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.30-1 |
---|
| 542 | - Update to 0.5.30 |
---|
| 543 | |
---|
| 544 | * Tue Jul 24 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.29-1 |
---|
| 545 | - Update to 0.5.29 |
---|
| 546 | |
---|
| 547 | * Wed Jul 18 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.28-1 |
---|
| 548 | - Update to 0.5.28 |
---|
| 549 | |
---|
| 550 | * Mon Jul 09 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.27-1 |
---|
| 551 | - Update to 0.5.27 |
---|
| 552 | |
---|
| 553 | * Mon Jun 18 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.26-1 |
---|
| 554 | - Update to 0.5.26 |
---|
| 555 | |
---|
| 556 | * Sat Apr 28 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.19-1 |
---|
| 557 | - Update to 0.5.19 |
---|
| 558 | |
---|
| 559 | * Mon Apr 02 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.17-1 |
---|
| 560 | - Update to 0.5.17 |
---|
| 561 | |
---|
| 562 | * Mon Mar 26 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.16-1 |
---|
| 563 | - Update to 0.5.16 |
---|
| 564 | - add ownership of /usr/share/nginx/html (#233950) |
---|
| 565 | |
---|
| 566 | * Fri Mar 23 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.15-3 |
---|
| 567 | - fixed package review bugs (#235222) given by ruben@rubenkerkhof.com |
---|
| 568 | |
---|
| 569 | * Thu Mar 22 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.15-2 |
---|
| 570 | - fixed package review bugs (#233522) given by kevin@tummy.com |
---|
| 571 | |
---|
| 572 | * Thu Mar 22 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.15-1 |
---|
| 573 | - create patches to assist with building for Fedora |
---|
| 574 | - initial packaging for Fedora |
---|