]> git.pld-linux.org Git - packages/lighttpd.git/blame - lighttpd.spec
- better path for cgi-bin
[packages/lighttpd.git] / lighttpd.spec
CommitLineData
8d734bed 1#
d20e182e 2# Conditional build for freebsd:
3%bcond_without xattr # without support of extended attributes
4#
027853cc 5Summary: Fast and light HTTP server
6Summary(pl): Szybki i lekki serwer HTTP
bee4f74e 7Name: lighttpd
544141d3 8Version: 1.3.7
9Release: 0.1
bee4f74e 10Group: Networking/Daemons
4241e769 11License: BSD
00bd45aa 12## do not remove next two lines because atomic revisions are common in lighttpd
24ee2bd8 13#%define _rel 20041102-1041
14#Source0: http://jan.kneschke.de/projects/lighttpd/download/%{name}-%{version}-%{_rel}.tar.gz
15Source0: http://jan.kneschke.de/projects/lighttpd/download/%{name}-%{version}.tar.gz
9a5636eb 16# Source0-md5: 40ac1d07d9efb0366720d081c3e02224
bee4f74e 17Source1: %{name}.init
2f7162ab
AM
18Source2: %{name}.conf
19Source3: %{name}.user
607835c0 20Source4: %{name}.logrotate
bee4f74e 21URL: http://jan.kneschke.de/projects/lighttpd/
1a75d3e1
JB
22BuildRequires: autoconf
23BuildRequires: automake
24BuildRequires: bzip2-devel
25BuildRequires: libtool
1a75d3e1
JB
26BuildRequires: openssl-devel
27BuildRequires: pcre-devel
e68efba2 28BuildRequires: rpmbuild(macros) >= 1.159
1a75d3e1 29BuildRequires: zlib-devel
d20e182e 30%if %{with xattr}
31BuildRequires: attr-devel
32%endif
bee4f74e
AM
33PreReq: rc-scripts
34Requires(pre): sh-utils
35Requires(pre): /bin/id
36Requires(pre): /usr/bin/getgid
37Requires(pre): /usr/sbin/groupadd
38Requires(pre): /usr/sbin/useradd
39Requires(post,preun): /sbin/chkconfig
bee4f74e 40Requires(postun): /usr/sbin/groupdel
e68efba2 41Requires(postun): /usr/sbin/userdel
42Provides: group(lighttpd)
1a75d3e1 43Provides: httpd
e68efba2 44Provides: user(lighttpd)
1a75d3e1 45Provides: webserver
bee4f74e
AM
46BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47
48%define _libdir %{_prefix}/%{_lib}/%{name}
8d734bed 49%define _lighttpddir /home/services/%{name}
bee4f74e
AM
50%define _sysconfdir /etc/%{name}
51
52%description
f655b1fd
MC
53lighttpd is a secure, fast, compliant and very flexible web-server
54which has been optimized for high-performance environments. It has
55a very low memory footprint compared to other webservers and takes
56care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth,
bee4f74e
AM
57Output-Compression, URL-Rewriting and many more) make lighttpd the
58perfect webserver-software for every server that is suffering load
59problems.
60
f655b1fd
MC
61%description -l pl
62lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym
1a75d3e1 63