]> git.pld-linux.org Git - packages/cherokee.git/blame - cherokee.spec
- disable reload, as server dies instead of get reloaded
[packages/cherokee.git] / cherokee.spec
CommitLineData
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
10Summary: Fast, Flexible and Lightweight Web server
8c503f01 11Summary(pl): Cherokee - serwer WWW
0e85b34f 12Name: cherokee
01d41beb 13Version: 0.4.29
1bdedc57 14Release: 0.7
01d41beb 15License: GPL v2
8c503f01 16Group: Networking/Daemons
01d41beb
ER
17Source0: http://www.0x50.org/download/0.4/0.4.29/%{name}-%{version}.tar.gz
18# Source0-md5: 854e6e61a69781746496012658d8ef98
19Source1: %{name}.init
20Source2: %{name}.sysconfig
1bdedc57
ER
21Patch0: %{name}-config.patch
22Patch1: %{name}-php-path.patch
01d41beb 23URL: http://www.0x50.org/
1bdedc57
ER
24BuildRequires: autoconf
25BuildRequires: automake
0e85b34f 26BuildRequires: 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 30BuildRequires: pam-devel
01d41beb 31BuildRequires: pcre-devel
cfbc51f9 32BuildRequires: pkgconfig
1bdedc57 33BuildRequires: rpmbuild(macros) >= 1.268
cfbc51f9 34BuildRequires: zlib-devel
1bdedc57
ER
35Requires(post,postun): /sbin/ldconfig
36Requires(post,preun): rc-scripts
37Requires(postun): /usr/sbin/groupdel
38Requires(postun): /usr/sbin/userdel
39Requires(pre): /bin/id
40Requires(pre): /usr/bin/getgid
41Requires(pre): /usr/sbin/groupadd
42Requires(pre): /usr/sbin/useradd
43Provides: group(cherokee)
44Provides: group(http)
45Provides: user(cherokee)
bdfcbc7b 46Provides: webserver
8c503f01 47BuildRoot: %{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
54Cherokee is a flexible, very fast, lightweight Web server. It is
55implemented entirely in C, and has no dependencies beyond a standard C
56library. It is embeddable and extensible wi th plug-ins. It supports
57on-the-fly configuration by reading files or strings, TLS/SSL (via
58GNUTLS or OpenSSL), virtual hosts, authentication, cache friendly
59features, PHP, custom error management, and much more.
0e85b34f 60
8c503f01
JB
61%description -l pl
62Cherokee to serwer WWW:
63