]> git.pld-linux.org Git - packages/lighttpd.git/blame - lighttpd.spec
- reversed without-attr cond build, it was mistake, sorry, corrected conditional BR.
[packages/lighttpd.git] / lighttpd.spec
CommitLineData
8d734bed 1#
d20e182e 2# Conditional build for freebsd:
3%bcond_without xattr # without support of extended attributes
4#
f655b1fd 5Summary: Fast and light http server
bee4f74e
AM
6Summary(pl): Szybki i lekki serwer http
7Name: lighttpd
07664b0f 8Version: 1.2.7
00bd45aa 9Release: 1
bee4f74e 10Group: Networking/Daemons
2f7162ab 11License: QPL
00bd45aa 12## do not remove next two lines because atomic revisions are common in lighttpd
d20e182e 13#%define _rel 20080401-0000
00bd45aa 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
16# Source0-md5: 0139b1ec4514089e9ca11dc3072529ab
bee4f74e 17Source1: %{name}.init
2f7162ab
AM
18Source2: %{name}.conf
19Source3: %{name}.user
607835c0 20Source4: %{name}.logrotate
6286de5b 21Patch0: http://jan.kneschke.de/projects/lighttpd/download/lighttpd-1.2.7-cond.patch
e8687e40 22Patch1: lighttpd-amd64-LINUX_SENDFILE-temporary.patch
bee4f74e 23URL: http://jan.kneschke.de/projects/lighttpd/
1a75d3e1
JB
24BuildRequires: autoconf
25BuildRequires: automake
26BuildRequires: bzip2-devel
27BuildRequires: libtool
1a75d3e1
JB
28BuildRequires: openssl-devel
29BuildRequires: pcre-devel
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
41Requires(postun): /usr/sbin/userdel
42Requires(postun): /usr/sbin/groupdel
1a75d3e1
JB
43Provides: httpd
44Provides: webserver
bee4f74e
AM
45BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46
47%define _libdir %{_prefix}/%{_lib}/%{name}
8d734bed 48%define _lighttpddir /home/services/%{name}
bee4f74e
AM
49%define _sysconfdir /etc/%{name}
50
51%description
f655b1fd
MC
52lighttpd is a secure, fast, compliant and very flexible web-server
53which has been optimized for high-performance environments. It has
54a very low memory footprint compared to other webservers and takes
55care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth,
bee4f74e
AM
56Output-Compression, URL-Rewriting and many more) make lighttpd the
57perfect webserver-software for every server that is suffering load
58problems.
59
f655b1fd
MC
60%description -l pl
61lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym
1a75d3e1 62