]>
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 | |
c2e85fca | 8 | Version: 1.3.3 |
9 | Release: 0.1 | |
bee4f74e | 10 | Group: Networking/Daemons |
4241e769 | 11 | License: BSD |
00bd45aa | 12 | ## do not remove next two lines because atomic revisions are common in lighttpd |
c2e85fca | 13 | %define _rel 20041010 |
14 | Source0: http://jan.kneschke.de/projects/lighttpd/download/%{name}-%{version}-%{_rel}.tar.gz | |
15 | # Source0-md5: 35516505f41718088e18e93e3a8bc0c7 | |
16 | #Source0: http://jan.kneschke.de/projects/lighttpd/download/%{name}-%{version}.tar.gz | |
bee4f74e | 17 | Source1: %{name}.init |
2f7162ab AM |
18 | Source2: %{name}.conf |
19 | Source3: %{name}.user | |
607835c0 | 20 | Source4: %{name}.logrotate |
e8687e40 | 21 | Patch1: lighttpd-amd64-LINUX_SENDFILE-temporary.patch |
bee4f74e | 22 | URL: http://jan.kneschke.de/projects/lighttpd/ |
1a75d3e1 JB |
23 | BuildRequires: autoconf |
24 | BuildRequires: automake | |
25 | BuildRequires: bzip2-devel | |
26 | BuildRequires: libtool | |
1a75d3e1 JB |
27 | BuildRequires: openssl-devel |
28 | BuildRequires: pcre-devel | |
29 | BuildRequires: zlib-devel | |
d20e182e | 30 | %if %{with xattr} |
31 | BuildRequires: attr-devel | |
32 | %endif | |
bee4f74e AM |
33 | PreReq: rc-scripts |
34 | Requires(pre): sh-utils | |
35 | Requires(pre): /bin/id | |
36 | Requires(pre): /usr/bin/getgid | |
37 | Requires(pre): /usr/sbin/groupadd | |
38 | Requires(pre): /usr/sbin/useradd | |
39 | Requires(post,preun): /sbin/chkconfig | |
40 | Requires(postun): /usr/sbin/userdel | |
41 | Requires(postun): /usr/sbin/groupdel | |
1a75d3e1 JB |
42 | Provides: httpd |
43 | Provides: webserver | |
bee4f74e AM |
44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
45 | ||
46 | %define _libdir %{_prefix}/%{_lib}/%{name} | |
8d734bed | 47 | %define _lighttpddir /home/services/%{name} |
bee4f74e AM |
48 | %define _sysconfdir /etc/%{name} |
49 | ||
50 | %description | |
f655b1fd MC |
51 | lighttpd is a secure, fast, compliant and very flexible web-server |
52 | which has been optimized for high-performance environments. It has | |
53 | a very low memory footprint compared to other webservers and takes | |
54 | care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, | |
bee4f74e AM |
55 | Output-Compression, URL-Rewriting and many more) make lighttpd the |
56 | perfect webserver-software for every server that is suffering load | |
57 | problems. | |
58 | ||
f655b1fd MC |
59 | %description -l pl |
60 | lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym | |
1a75d3e1 | 61 |