]> git.pld-linux.org Git - packages/lighttpd.git/blame - lighttpd.spec
- updated to 1.3.8
[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:
ce8f06ab
KK
12%bcond_without xattr # without support of extended attributes
13%bcond_with mysql # with mysql
14%bcond_with ldap # with ldap
d80c1ef1 15%bcond_with valgrind # enable valgrind fixes in code.
ce8f06ab 16%bcond_without ipv6 # IPv4-only version (doesn't require IPv6 in kernel)
70373b58
ER
17%bcond_without largefile # without largefile support,
18# use it if you have 2.4 kernel to get sendfile() support,
19# and don't need > 2GB file requests,
20# see http://article.gmane.org/gmane.comp.web.lighttpd:722
d20e182e 21#
2abd0792
ER
22
23# Prerelease snapshot: DATE-TIME
24#define _snap 20050116-1743
25
26%if 0%{?_snap}
27%define _source http://www.lighttpd.net/download/%{name}-%{version}-%{_snap}.tar.gz
28%else
29%define _source http://www.lighttpd.net/download/%{name}-%{version}.tar.gz
30%endif
31
ce8f06ab 32%define _rel 0.1
2abd0792 33
027853cc 34Summary: Fast and light HTTP server
35Summary(pl): Szybki i lekki serwer HTTP
bee4f74e 36Name: lighttpd
ce8f06ab 37Version: 1.3.8
2abd0792 38Release: %{_rel}%{?_snap:.%(echo %{_snap}|tr - _)}
bee4f74e 39Group: Networking/Daemons
4241e769 40License: BSD
2abd0792 41Source0: %{_source}
ce8f06ab 42# Source0-md5: 4ac341879497064b334e776288ad5e0f
bee4f74e 43Source1: %{name}.init
2f7162ab
AM
44Source2: %{name}.conf
45Source3: %{name}.user
607835c0 46Source4: %{name}.logrotate
c54ca3d2 47Source5: %{name}.sysconfig
70373b58 48URL: http://www.lighttpd.net/
1a75d3e1
JB
49BuildRequires: autoconf
50BuildRequires: automake
51BuildRequires: bzip2-devel
52BuildRequires: libtool
1a75d3e1
JB
53BuildRequires: openssl-devel
54BuildRequires: pcre-devel
e68efba2 55BuildRequires: rpmbuild(macros) >= 1.159
1a75d3e1 56BuildRequires: zlib-devel
d20e182e 57%if %{with xattr}
58BuildRequires: attr-devel
59%endif
05f8c491
ER
60%{?with_ldap:BuildRequires: openldap-devel}
61%{?with_mysql:BuildRequires: mysql-devel}
d80c1ef1
ER
62%{?with_valgrind:BuildRequires: valgrind}
63%{!?with_valgrind:BuildConflicts: valgrind}
bee4f74e
AM
64PreReq: rc-scripts
65Requires(pre): sh-utils
66Requires(pre): /bin/id
67Requires(pre): /usr/bin/getgid
68Requires(pre): /usr/sbin/groupadd
69Requires(pre): /usr/sbin/useradd
70Requires(post,preun): /sbin/chkconfig
bee4f74e 71Requires(postun): /usr/sbin/groupdel
e68efba2 72Requires(postun): /usr/sbin/userdel
73Provides: group(lighttpd)
1a75d3e1 74Provides: httpd
e68efba2 75Provides: user(lighttpd)
1a75d3e1 76Provides: webserver
bee4f74e
AM
77BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
78
79%define _libdir %{_prefix}/%{_lib}/%{name}
8d734bed 80%define _lighttpddir /home/services/%{name}
bee4f74e
AM
81%define _sysconfdir /etc/%{name}
82
83%description
f655b1fd
MC
84lighttpd is a secure, fast, compliant and very flexible web-server
85which has been optimized for high-performance environments. It has
86a very low memory footprint compared to other webservers and takes
87care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth,
bee4f74e
AM
88Output-Compression, URL-Rewriting and many more) make lighttpd the
89perfect webserver-software for every server that is suffering load
90problems.
91
f655b1fd
MC
92%description -l pl
93lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym
1a75d3e1 94