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