]>
Commit | Line | Data |
---|---|---|
f9e65082 | 1 | # TODO |
ee4f2132 | 2 | # - /etc/sysconfig/nginx file |
1c438d78 | 3 | # - missing perl build/install requires |
d0c0492d | 4 | # - prepare pld style like nginx.conf |
226bcc40 | 5 | # - maybe -with-cpu-opt=CPU (pentium, pentiumpro, pentium3, pentium4, athlon, opteron, amd64, sparc32, sparc64, ppc64) |
ee4f2132 | 6 | # |
362f5ab2 | 7 | # Conditional build for nginx: |
056acc18 | 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 | |
d0c0492d | 11 | %bcond_without addition # adds module |
12 | %bcond_without dav # WebDAV | |
13 | %bcond_without flv # FLV stream | |
d6fc4b09 | 14 | %bcond_without sub # ngx_http_sub_module |
d0c0492d | 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 | |
056acc18 | 21 | %bcond_with http_browser # header "User-agent" parser |
362f5ab2 | 22 | # |
8e1389c7 | 23 | Summary: High perfomance HTTP and reverse proxy server |
185313bb | 24 | Summary(pl.UTF-8): Serwer HTTP i odwrotne proxy o wysokiej wydajności |
f9e65082 | 25 | Name: nginx |
1a62642d | 26 | Version: 0.5.33 |
f1686a52 | 27 | Release: 0.6 |
51ef519b | 28 | License: BSD-like |
7d9b86c7 | 29 | Group: Networking/Daemons |
f1fc9780 | 30 | Source0: http://sysoev.ru/nginx/%{name}-%{version}.tar.gz |
1a62642d | 31 | # Source0-md5: a78be74b4fd8e009545ef02488fcac86 |
226bcc40 | 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}-mail.conf | |
41 | Source8: %{name}-mail.monitrc | |
42 | Source9: %{name}-perl.conf | |
43 | Source10: %{name}-perl.monitrc | |
44 | Source11: %{name}-standard.conf | |
45 | Source12: %{name}-standard.monitrc | |
a8eaad11 | 46 | Source13: %{name}-mime.types.sh |
f1fc9780 | 47 | Patch0: %{name}-config.patch |
51ef519b | 48 | URL: http://nginx.net/ |
dfef7372 | 49 | BuildRequires: mailcap |
f9e65082 | 50 | BuildRequires: openssl-devel |
f1fc9780 | 51 | BuildRequires: pcre-devel |
1c438d78 | 52 | %{?with_perl:BuildRequires: perl-CGI} |
d0c0492d | 53 | %{?with_perl:BuildRequires: perl-devel} |
1c438d78 | 54 | %{?with_perl:BuildRequires: rpm-perlprov} |
7d9b86c7 | 55 | BuildRequires: rpmbuild(macros) >= 1.268 |
f9e65082 | 56 | BuildRequires: zlib-devel |
7d9b86c7 ER |
57 | Requires(post,preun): /sbin/chkconfig |
58 | Requires(postun): /usr/sbin/groupdel | |
59 | Requires(postun): /usr/sbin/userdel | |
60 | Requires(pre): /bin/id | |
61 | Requires(pre): /usr/bin/getgid | |
62 | Requires(pre): /usr/sbin/groupadd | |
63 | Requires(pre): /usr/sbin/useradd | |
d0c0492d | 64 | Requires: openssl |
65 | Requires: pcre | |
aba2d783 | 66 | Requires: rc-scripts >= 0.2.0 |
d0c0492d | 67 | Requires: zlib |
ee547c00 | 68 | Provides: group(http) |
69 | Provides: group(nginx) | |
70 | Provides: user(nginx) | |
7ffe7917 | 71 | Provides: webserver |
226bcc40 | 72 | Conflicts: logrotate < 3.7-4 |
f9e65082 ER |
73 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
74 | ||
362f5ab2 | 75 | %define _sysconfdir /etc/%{name} |
76 | %define _nginxdir /home/services/%{name} | |
f9e65082 ER |
77 | |
78 | %description | |
894ff1f7 ER |
79 | Nginx ("engine x") is a high-performance HTTP server and reverse |
80 | proxy, as well as an IMAP/POP3 proxy server. Nginx was written by Igor | |
81 | Sysoev for Rambler.ru, Russia's second-most visited website, where it | |
82 | has been running in production for over two and a half years. Igor has | |
83 | released the source code under a BSD-like license. Although still in | |
84 | beta, Nginx is known for its stability, rich feature set, simple | |
85 | configuration, and low resource consumption. | |
8e1389c7 | 86 | |
b0fa7cc6 | 87 | Common files for Nginx daemon. |
85600569 | 88 | |
390f5b88 | 89 | %description -l pl.UTF-8 |
056acc18 | 90 | Nginx ("engine x") jest wysokowydajnym serwerem HTTP, odwrotnym proxy |
91 | a także IMAP/POP3 proxy. Nginx został napisany przez Igora Sysoev'a | |
92 | na potrzeby serwisu Rambler.ru. Jest to drugi pod względem ilości | |
93 | odwiedzin serwis w Rosji i działa od ponad dwóch i pół roku. Igor | |
94 | opublikował źródła na licencji BSD. Mimo, że projekt jest ciągle | |
2ee780b1 | 95 |