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