]>
Commit | Line | Data |
---|---|---|
1 | # TODO | |
2 | # - /etc/sysconfig/nginx file | |
3 | # - missing perl build/install requires | |
4 | # - prepare pld style like nginx.conf | |
5 | # - maybe -with-cpu-opt=CPU (pentium, pentiumpro, pentium3, pentium4, athlon, opteron, amd64, sparc32, sparc64, ppc64) | |
6 | # | |
7 | # Conditional build for nginx: | |
8 | %bcond_without light # don't build light version | |
9 | %bcond_without mail # don't build imap/mail proxy | |
10 | %bcond_without perl # don't build with perl module | |
11 | %bcond_without addition # adds module | |
12 | %bcond_without dav # WebDAV | |
13 | %bcond_without flv # FLV stream | |
14 | %bcond_without sub # ngx_http_sub_module | |
15 | %bcond_without poll # poll | |
16 | %bcond_without realip # real ip (behind proxy) | |
17 | %bcond_without rtsig # rtsig | |
18 | %bcond_without select # select | |
19 | %bcond_without status # stats module | |
20 | %bcond_without ssl # ssl support | |
21 | %bcond_with http_browser # header "User-agent" parser | |
22 | # | |
23 | Summary: High perfomance HTTP and reverse proxy server | |
24 | Summary(pl.UTF-8): Serwer HTTP i odwrotne proxy o wysokiej wydajności | |
25 | Name: nginx | |
26 | Version: 0.5.33 | |
27 | Release: 0.7 | |
28 | License: BSD-like | |
29 | Group: Networking/Daemons | |
30 | Source0: http://sysoev.ru/nginx/%{name}-%{version}.tar.gz | |
31 | # Source0-md5: a78be74b4fd8e009545ef02488fcac86 | |
32 | Source1: http://www.nginx.eu/favicon.ico | |
33 | # Source1-md5: 2aaf2115c752cbdbfb8a2f0b3c3189ab | |
34 | Source2: http://www.nginx.eu/download/proxy.conf | |
35 | # Source2-md5: f5263ae01c2edb18f46d5d1df2d3a5cd | |
36 | Source3: %{name}.logrotate | |
37 | Source4: %{name}.mime | |
38 | Source5: %{name}-light.conf | |
39 | Source6: %{name}-light.monitrc | |
40 | Source7: %{name}-light.init | |
41 | Source8: %{name}-mail.conf | |
42 | Source9: %{name}-mail.monitrc | |
43 | Source10: %{name}-mail.init | |
44 | Source11: %{name}-perl.conf | |
45 | Source12: %{name}-perl.monitrc | |
46 | Source13: %{name}-perl.init | |
47 | Source14: %{name}-standard.conf | |
48 | Source15: %{name}-standard.monitrc | |
49 | Source15: %{name}-standard.init | |
50 | Source16: %{name}-mime.types.sh | |
51 | Patch0: %{name}-config.patch | |
52 | URL: http://nginx.net/ | |
53 | BuildRequires: mailcap | |
54 | BuildRequires: openssl-devel | |
55 | BuildRequires: pcre-devel | |
56 | %{?with_perl:BuildRequires: perl-CGI} | |
57 | %{?with_perl:BuildRequires: perl-devel} | |
58 | %{?with_perl:BuildRequires: rpm-perlprov} | |
59 | BuildRequires: rpmbuild(macros) >= 1.268 | |
60 | BuildRequires: zlib-devel | |
61 | Requires(post,preun): /sbin/chkconfig | |
62 | Requires(postun): /usr/sbin/groupdel | |
63 | Requires(postun): /usr/sbin/userdel | |
64 | Requires(pre): /bin/id | |
65 | Requires(pre): /usr/bin/getgid | |
66 | Requires(pre): /usr/sbin/groupadd | |
67 | Requires(pre): /usr/sbin/useradd | |
68 | Requires: nginx-daemon | |
69 | Requires: openssl | |
70 | Requires: pcre | |
71 | Requires: rc-scripts >= 0.2.0 | |
72 | Requires: zlib | |
73 | Provides: group(http) | |
74 | Provides: group(nginx) | |
75 | Provides: user(nginx) | |
76 | Provides: webserver | |
77 | Suggests: nginx-standard | |
78 | Conflicts: logrotate < 3.7-4 | |
79 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
80 | ||
81 | %define _sysconfdir /etc/%{name} | |
82 | %define _nginxdir /home/services/%{name} | |
83 | ||
84 | %description | |
85 | Nginx ("engine x") is a high-performance HTTP server and reverse | |
86 | proxy, as well as an IMAP/POP3 proxy server. Nginx was written by Igor | |
87 | Sysoev for Rambler.ru, Russia's second-most visited website, where it | |
88 | has been running in production for over two and a half years. Igor has | |
89 | released the source code under a BSD-like license. Although still in | |
90 | beta, Nginx is known for its stability, rich feature set, simple | |
91 | configuration, and low resource consumption. | |
92 | ||
93 | Common files for Nginx daemon. | |
94 | ||
95 | %description -l pl.UTF-8 | |
96 | Nginx ("engine x") jest wysokowydajnym serwerem HTTP, odwrotnym proxy | |
97 | a także IMAP/POP3 proxy. Nginx został napisany przez Igora Sysoev'a | |
98 | na potrzeby serwisu Rambler.ru. Jest to drugi pod względem ilości | |
99 | odwiedzin serwis w Rosji i działa od ponad dwóch i pół roku. Igor | |
100 | opublikował źródła na licencji BSD. Mimo, że projekt jest ciągle | |
101 |