]> git.pld-linux.org Git - packages/lighttpd.git/blame - lighttpd.spec
- valgrind bcond
[packages/lighttpd.git] / lighttpd.spec
CommitLineData
8d734bed 1#
05f8c491 2# TODO
0ab57655 3# - fix modules:
05f8c491
ER
4# mod_localizer : disabled (liblocalizer missing)
5# mod_maps : disabled (liblocalizer missing)
6# mod_chat : disabled, buy your license :)
7# mod_cache : disabled, buy your license :)
0ab57655 8# - test ldap and mysql (failed at this time)
ddfaf124 9# - documentroot specified in config doesn't exist
05f8c491 10#
4f968063 11# Conditional build for lighttpd:
d20e182e 12%bcond_without xattr # without support of extended attributes
05f8c491
ER
13%bcond_with mysql # with mysql
14%bcond_with ldap # with ldap
d80c1ef1 15%bcond_with valgrind # enable valgrind fixes in code.
70373b58
ER
16%bcond_without largefile # without largefile support,
17# use it if you have 2.4 kernel to get sendfile() support,
18# and don't need > 2GB file requests,
19# see http://article.gmane.org/gmane.comp.web.lighttpd:722
d20e182e 20#
027853cc 21Summary: Fast and light HTTP server
22Summary(pl): Szybki i lekki serwer HTTP
bee4f74e 23Name: lighttpd
544141d3 24Version: 1.3.7
d80c1ef1 25Release: 0.10
bee4f74e 26Group: Networking/Daemons
4241e769 27License: BSD
00bd45aa 28## do not remove next two lines because atomic revisions are common in lighttpd
bebbc41e 29#%define _rel 20050106-1954
acef8c19 30#Source0: http://www.lighttpd.net/download/%{name}-%{version}-%{_rel}.tar.gz
bebbc41e 31Source0: http://www.lighttpd.net/download/%{name}-%{version}.tar.gz
9a5636eb 32# Source0-md5: 40ac1d07d9efb0366720d081c3e02224
bee4f74e 33Source1: %{name}.init
2f7162ab
AM
34Source2: %{name}.conf
35Source3: %{name}.user
607835c0 36Source4: %{name}.logrotate
c54ca3d2 37Source5: %{name}.sysconfig
bebbc41e 38Patch0: %{name}-mod_status.patch
70373b58 39URL: http://www.lighttpd.net/
1a75d3e1
JB
40BuildRequires: autoconf
41BuildRequires: automake
42BuildRequires: bzip2-devel
43BuildRequires: libtool
1a75d3e1
JB
44BuildRequires: openssl-devel
45BuildRequires: pcre-devel
e68efba2 46BuildRequires: rpmbuild(macros) >= 1.159
1a75d3e1 47BuildRequires: zlib-devel
d20e182e 48%if %{with xattr}
49BuildRequires: attr-devel
50%endif
05f8c491
ER
51%{?with_ldap:BuildRequires: openldap-devel}
52%{?with_mysql:BuildRequires: mysql-devel}
d80c1ef1
ER
53%{?with_valgrind:BuildRequires: valgrind}
54%{!?with_valgrind:BuildConflicts: valgrind}
bee4f74e
AM
55PreReq: rc-scripts
56Requires(pre): sh-utils
57Requires(pre): /bin/id
58Requires(pre): /usr/bin/getgid
59Requires(pre): /usr/sbin/groupadd
60Requires(pre): /usr/sbin/useradd
61Requires(post,preun): /sbin/chkconfig
bee4f74e 62Requires(postun): /usr/sbin/groupdel
e68efba2 63Requires(postun): /usr/sbin/userdel
64Provides: group(lighttpd)
1a75d3e1 65Provides: httpd
e68efba2 66Provides: user(lighttpd)
1a75d3e1 67Provides: webserver
bee4f74e
AM
68BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
69
70%define _libdir %{_prefix}/%{_lib}/%{name}
8d734bed 71%define _lighttpddir /home/services/%{name}
bee4f74e
AM
72%define _sysconfdir /etc/%{name}
73
74%description
f655b1fd
MC
75lighttpd is a secure, fast, compliant and very flexible web-server
76which has been optimized for high-performance environments. It has
77a very low memory footprint compared to other webservers and takes
78care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth,
bee4f74e
AM
79Output-Compression, URL-Rewriting and many more) make lighttpd the
80perfect webserver-software for every server that is suffering load
81problems.
82
f655b1fd
MC
83%description -l pl
84lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym
1a75d3e1 85