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