]> git.pld-linux.org Git - packages/lighttpd.git/blame - lighttpd.spec
- remove copytruncate (lighttpd can rotate logs very fine)
[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
d20e182e 15#
027853cc 16Summary: Fast and light HTTP server
17Summary(pl): Szybki i lekki serwer HTTP
bee4f74e 18Name: lighttpd
544141d3 19Version: 1.3.7
bebbc41e 20Release: 0.8
bee4f74e 21Group: Networking/Daemons
4241e769 22License: BSD
00bd45aa 23## do not remove next two lines because atomic revisions are common in lighttpd
bebbc41e 24#%define _rel 20050106-1954
acef8c19 25#Source0: http://www.lighttpd.net/download/%{name}-%{version}-%{_rel}.tar.gz
bebbc41e 26Source0: http://www.lighttpd.net/download/%{name}-%{version}.tar.gz
9a5636eb 27# Source0-md5: 40ac1d07d9efb0366720d081c3e02224
bee4f74e 28Source1: %{name}.init
2f7162ab
AM
29Source2: %{name}.conf
30Source3: %{name}.user
607835c0 31Source4: %{name}.logrotate
c54ca3d2 32Source5: %{name}.sysconfig
bebbc41e 33Patch0: %{name}-mod_status.patch
bee4f74e 34URL: http://jan.kneschke.de/projects/lighttpd/
1a75d3e1
JB
35BuildRequires: autoconf
36BuildRequires: automake
37BuildRequires: bzip2-devel
38BuildRequires: libtool
1a75d3e1
JB
39BuildRequires: openssl-devel
40BuildRequires: pcre-devel
e68efba2 41BuildRequires: rpmbuild(macros) >= 1.159
1a75d3e1 42BuildRequires: zlib-devel
d20e182e 43%if %{with xattr}
44BuildRequires: attr-devel
45%endif
05f8c491
ER
46%{?with_ldap:BuildRequires: openldap-devel}
47%{?with_mysql:BuildRequires: mysql-devel}
bee4f74e
AM
48PreReq: rc-scripts
49Requires(pre): sh-utils
50Requires(pre): /bin/id
51Requires(pre): /usr/bin/getgid
52Requires(pre): /usr/sbin/groupadd
53Requires(pre): /usr/sbin/useradd
54Requires(post,preun): /sbin/chkconfig
bee4f74e 55Requires(postun): /usr/sbin/groupdel
e68efba2 56Requires(postun): /usr/sbin/userdel
57Provides: group(lighttpd)
1a75d3e1 58Provides: httpd
e68efba2 59Provides: user(lighttpd)
1a75d3e1 60Provides: webserver
bee4f74e
AM
61BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62
63%define _libdir %{_prefix}/%{_lib}/%{name}
8d734bed 64%define _lighttpddir /home/services/%{name}
bee4f74e
AM
65%define _sysconfdir /etc/%{name}
66
67%description
f655b1fd
MC
68lighttpd is a secure, fast, compliant and very flexible web-server
69which has been optimized for high-performance environments. It has
70a very low memory footprint compared to other webservers and takes
71care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth,
bee4f74e
AM
72Output-Compression, URL-Rewriting and many more) make lighttpd the
73perfect webserver-software for every server that is suffering load
74problems.
75
f655b1fd
MC
76%description -l pl
77lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym
1a75d3e1 78