]>
Commit | Line | Data |
---|---|---|
8d734bed | 1 | # |
d20e182e | 2 | # Conditional build for freebsd: |
3 | %bcond_without xattr # without support of extended attributes | |
4 | # | |
f655b1fd | 5 | Summary: Fast and light http server |
bee4f74e AM |
6 | Summary(pl): Szybki i lekki serwer http |
7 | Name: lighttpd | |
07664b0f | 8 | Version: 1.2.7 |
00bd45aa | 9 | Release: 1 |
bee4f74e | 10 | Group: Networking/Daemons |
2f7162ab | 11 | License: 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 |
15 | Source0: http://jan.kneschke.de/projects/lighttpd/download/%{name}-%{version}.tar.gz | |
16 | # Source0-md5: 0139b1ec4514089e9ca11dc3072529ab | |
bee4f74e | 17 | Source1: %{name}.init |
2f7162ab AM |
18 | Source2: %{name}.conf |
19 | Source3: %{name}.user | |
607835c0 | 20 | Source4: %{name}.logrotate |
6286de5b | 21 | Patch0: http://jan.kneschke.de/projects/lighttpd/download/lighttpd-1.2.7-cond.patch |
e8687e40 | 22 | Patch1: lighttpd-amd64-LINUX_SENDFILE-temporary.patch |
bee4f74e | 23 | URL: http://jan.kneschke.de/projects/lighttpd/ |
1a75d3e1 JB |
24 | BuildRequires: autoconf |
25 | BuildRequires: automake | |
26 | BuildRequires: bzip2-devel | |
27 | BuildRequires: libtool | |
1a75d3e1 JB |
28 | BuildRequires: openssl-devel |
29 | BuildRequires: pcre-devel | |
30 | BuildRequires: zlib-devel | |
d20e182e | 31 | %if %{with xattr} |
32 | BuildRequires: attr-devel | |
33 | %endif | |
bee4f74e AM |
34 | PreReq: rc-scripts |
35 | Requires(pre): sh-utils | |
36 | Requires(pre): /bin/id | |
37 | Requires(pre): /usr/bin/getgid | |
38 | Requires(pre): /usr/sbin/groupadd | |
39 | Requires(pre): /usr/sbin/useradd | |
40 | Requires(post,preun): /sbin/chkconfig | |
41 | Requires(postun): /usr/sbin/userdel | |
42 | Requires(postun): /usr/sbin/groupdel | |
1a75d3e1 JB |
43 | Provides: httpd |
44 | Provides: webserver | |
bee4f74e AM |
45 | BuildRoot: %{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 |
52 | lighttpd is a secure, fast, compliant and very flexible web-server |
53 | which has been optimized for high-performance environments. It has | |
54 | a very low memory footprint compared to other webservers and takes | |
55 | care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, | |
bee4f74e AM |
56 | Output-Compression, URL-Rewriting and many more) make lighttpd the |
57 | perfect webserver-software for every server that is suffering load | |
58 | problems. | |
59 | ||
f655b1fd MC |
60 | %description -l pl |
61 | lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym | |
1a75d3e1 | 62 |