]> git.pld-linux.org Git - packages/lighttpd.git/blame - lighttpd.spec
- add auth config lines
[packages/lighttpd.git] / lighttpd.spec
CommitLineData
8d734bed 1#
4f968063 2# Conditional build for lighttpd:
d20e182e 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
4f968063 9Release: 0.2
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
a636e30d 21#Patch0: %{name}-fcgi-err.patch
bee4f74e 22URL: http://jan.kneschke.de/projects/lighttpd/
1a75d3e1
JB
23BuildRequires: autoconf
24BuildRequires: automake
25BuildRequires: bzip2-devel
26BuildRequires: libtool
1a75d3e1
JB
27BuildRequires: openssl-devel
28BuildRequires: pcre-devel
e68efba2 29BuildRequires: rpmbuild(macros) >= 1.159
1a75d3e1 30BuildRequires: zlib-devel
d20e182e 31%if %{with xattr}
32BuildRequires: attr-devel
33%endif
bee4f74e
AM
34PreReq: rc-scripts
35Requires(pre): sh-utils
36Requires(pre): /bin/id
37Requires(pre): /usr/bin/getgid
38Requires(pre): /usr/sbin/groupadd
39Requires(pre): /usr/sbin/useradd
40Requires(post,preun): /sbin/chkconfig
bee4f74e 41Requires(postun): /usr/sbin/groupdel
e68efba2 42Requires(postun): /usr/sbin/userdel
43Provides: group(lighttpd)
1a75d3e1 44Provides: httpd
e68efba2 45Provides: user(lighttpd)
1a75d3e1 46Provides: webserver
bee4f74e
AM
47BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48
49%define _libdir %{_prefix}/%{_lib}/%{name}
8d734bed 50%define _lighttpddir /home/services/%{name}
bee4f74e
AM
51%define _sysconfdir /etc/%{name}
52
53%description
f655b1fd
MC
54lighttpd is a secure, fast, compliant and very flexible web-server
55which has been optimized for high-performance environments. It has
56a very low memory footprint compared to other webservers and takes
57care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth,
bee4f74e
AM
58Output-Compression, URL-Rewriting and many more) make lighttpd the
59perfect webserver-software for every server that is suffering load
60problems.
61
f655b1fd
MC
62%description -l pl
63lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym
1a75d3e1 64