]>
Commit | Line | Data |
---|---|---|
1bdedc57 | 1 | %bcond_without php # adds PHP support |
01d41beb ER |
2 | %bcond_with mono # adds ASPX support |
3 | %bcond_with gnomevfs # compile the gnomevfs handler (broken) | |
4 | %bcond_without gnutls # build with tls=gnutls | |
5 | %bcond_with openssl # build with tls=openssl | |
6 | # | |
7 | %if %{with gnutls} || %{with openssl} | |
8 | %define with_tls 1 | |
9 | %endif | |
10 | Summary: Fast, Flexible and Lightweight Web server | |
8c503f01 | 11 | Summary(pl): Cherokee - serwer WWW |
0e85b34f | 12 | Name: cherokee |
01d41beb | 13 | Version: 0.4.29 |
1bdedc57 | 14 | Release: 0.7 |
01d41beb | 15 | License: GPL v2 |
8c503f01 | 16 | Group: Networking/Daemons |
01d41beb ER |
17 | Source0: http://www.0x50.org/download/0.4/0.4.29/%{name}-%{version}.tar.gz |
18 | # Source0-md5: 854e6e61a69781746496012658d8ef98 | |
19 | Source1: %{name}.init | |
20 | Source2: %{name}.sysconfig | |
1bdedc57 ER |
21 | Patch0: %{name}-config.patch |
22 | Patch1: %{name}-php-path.patch | |
01d41beb | 23 | URL: http://www.0x50.org/ |
1bdedc57 ER |
24 | BuildRequires: autoconf |
25 | BuildRequires: automake | |
0e85b34f | 26 | BuildRequires: fcgi-devel |
01d41beb ER |
27 | %{?with_gnomevfs:BuildRequires: gnome-vfs2-devel >= 2.0} |
28 | %{?with_gnutls:BuildRequires: gnutls-devel >= 0.9.99} | |
29 | %{?with_openssl:BuildRequires: openssl-devel} | |
cfbc51f9 | 30 | BuildRequires: pam-devel |
01d41beb | 31 | BuildRequires: pcre-devel |
cfbc51f9 | 32 | BuildRequires: pkgconfig |
1bdedc57 | 33 | BuildRequires: rpmbuild(macros) >= 1.268 |
cfbc51f9 | 34 | BuildRequires: zlib-devel |
1bdedc57 ER |
35 | Requires(post,postun): /sbin/ldconfig |
36 | Requires(post,preun): rc-scripts | |
37 | Requires(postun): /usr/sbin/groupdel | |
38 | Requires(postun): /usr/sbin/userdel | |
39 | Requires(pre): /bin/id | |
40 | Requires(pre): /usr/bin/getgid | |
41 | Requires(pre): /usr/sbin/groupadd | |
42 | Requires(pre): /usr/sbin/useradd | |
43 | Provides: group(cherokee) | |
44 | Provides: group(http) | |
45 | Provides: user(cherokee) | |
bdfcbc7b | 46 | Provides: webserver |
8c503f01 | 47 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
0e85b34f | 48 | |
01d41beb ER |
49 | %define _sysconfdir /etc/cherokee |
50 | %define _wwwhome /home/services/%{name} | |
51 | %define _wwwroot %{_wwwhome}/html | |
52 | ||
0e85b34f | 53 | %description |
01d41beb ER |
54 | Cherokee is a flexible, very fast, lightweight Web server. It is |
55 | implemented entirely in C, and has no dependencies beyond a standard C | |
56 | library. It is embeddable and extensible wi th plug-ins. It supports | |
57 | on-the-fly configuration by reading files or strings, TLS/SSL (via | |
58 | GNUTLS or OpenSSL), virtual hosts, authentication, cache friendly | |
59 | features, PHP, custom error management, and much more. | |
0e85b34f | 60 | |
8c503f01 JB |
61 | %description -l pl |
62 | Cherokee to serwer WWW: | |
63 |