]> git.pld-linux.org Git - packages/lighttpd.git/blame - lighttpd.spec
- small typo
[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#
2abd0792
ER
21
22# Prerelease snapshot: DATE-TIME
23#define _snap 20050116-1743
24
25%if 0%{?_snap}
26%define _source http://www.lighttpd.net/download/%{name}-%{version}-%{_snap}.tar.gz
27%else
28%define _source http://www.lighttpd.net/download/%{name}-%{version}.tar.gz
29%endif
30
efaa825a 31%define _rel 0.18
2abd0792 32
027853cc 33Summary: Fast and light HTTP server
34Summary(pl): Szybki i lekki serwer HTTP
bee4f74e 35Name: lighttpd
544141d3 36Version: 1.3.7
2abd0792 37Release: %{_rel}%{?_snap:.%(echo %{_snap}|tr - _)}
bee4f74e 38Group: Networking/Daemons
4241e769 39License: BSD
2abd0792 40Source0: %{_source}
9a5636eb 41# Source0-md5: 40ac1d07d9efb0366720d081c3e02224
bee4f74e 42Source1: %{name}.init
2f7162ab
AM
43Source2: %{name}.conf
44Source3: %{name}.user
607835c0 45Source4: %{name}.logrotate
c54ca3d2 46Source5: %{name}.sysconfig
bebbc41e 47Patch0: %{name}-mod_status.patch
00f98cf3 48Patch1: %{name}-doublefree.patch
4eada25d 49Patch2: %{name}-avg-req.patch
866e1491
ER
50Patch3: %{name}-readpost-timeout.patch
51Patch4: %{name}-fcgi-fdevent.patch
d04fe758 52Patch5: %{name}-write-EINTR.patch
efaa825a 53Patch6: %{name}-getsockname.patch
70373b58 54URL: http://www.lighttpd.net/
1a75d3e1
JB
55BuildRequires: autoconf
56BuildRequires: automake
57BuildRequires: bzip2-devel
58BuildRequires: libtool
1a75d3e1
JB
59BuildRequires: openssl-devel
60BuildRequires: pcre-devel
e68efba2 61BuildRequires: rpmbuild(macros) >= 1.159
1a75d3e1 62BuildRequires: zlib-devel
d20e182e 63%if %{with xattr}
64BuildRequires: attr-devel
65%endif
05f8c491
ER
66%{?with_ldap:BuildRequires: openldap-devel}
67%{?with_mysql:BuildRequires: mysql-devel}
d80c1ef1
ER
68%{?with_valgrind:BuildRequires: valgrind}
69%{!?with_valgrind:BuildConflicts: valgrind}
bee4f74e
AM
70PreReq: rc-scripts
71Requires(pre): sh-utils
72Requires(pre): /bin/id
73Requires(pre): /usr/bin/getgid
74Requires(pre): /usr/sbin/groupadd
75Requires(pre): /usr/sbin/useradd
76Requires(post,preun): /sbin/chkconfig
bee4f74e 77Requires(postun): /usr/sbin/groupdel
e68efba2 78Requires(postun): /usr/sbin/userdel
79Provides: group(lighttpd)
1a75d3e1 80Provides: httpd
e68efba2 81Provides: user(lighttpd)
1a75d3e1 82Provides: webserver
bee4f74e
AM
83BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
84
85%define _libdir %{_prefix}/%{_lib}/%{name}
8d734bed 86%define _lighttpddir /home/services/%{name}
bee4f74e
AM
87%define _sysconfdir /etc/%{name}
88
89%description
f655b1fd
MC
90lighttpd is a secure, fast, compliant and very flexible web-server
91which has been optimized for high-performance environments. It has
92a very low memory footprint compared to other webservers and takes
93care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth,
bee4f74e
AM
94Output-Compression, URL-Rewriting and many more) make lighttpd the
95perfect webserver-software for every server that is suffering load
96problems.
97
f655b1fd
MC
98%description -l pl
99lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym
1a75d3e1 100