]>
Commit | Line | Data |
---|---|---|
8d734bed | 1 | # |
4f968063 | 2 | # Conditional build for lighttpd: |
d20e182e | 3 | %bcond_without xattr # without support of extended attributes |
4 | # | |
027853cc | 5 | Summary: Fast and light HTTP server |
6 | Summary(pl): Szybki i lekki serwer HTTP | |
bee4f74e | 7 | Name: lighttpd |
544141d3 | 8 | Version: 1.3.7 |
4f968063 | 9 | Release: 0.2 |
bee4f74e | 10 | Group: Networking/Daemons |
4241e769 | 11 | License: 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 | |
15 | Source0: http://jan.kneschke.de/projects/lighttpd/download/%{name}-%{version}.tar.gz | |
9a5636eb | 16 | # Source0-md5: 40ac1d07d9efb0366720d081c3e02224 |
bee4f74e | 17 | Source1: %{name}.init |
2f7162ab AM |
18 | Source2: %{name}.conf |
19 | Source3: %{name}.user | |
607835c0 | 20 | Source4: %{name}.logrotate |
a636e30d | 21 | #Patch0: %{name}-fcgi-err.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 | |
e68efba2 | 29 | BuildRequires: rpmbuild(macros) >= 1.159 |
1a75d3e1 | 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 | |
bee4f74e | 41 | Requires(postun): /usr/sbin/groupdel |
e68efba2 | 42 | Requires(postun): /usr/sbin/userdel |
43 | Provides: group(lighttpd) | |
1a75d3e1 | 44 | Provides: httpd |
e68efba2 | 45 | Provides: user(lighttpd) |
1a75d3e1 | 46 | Provides: webserver |
bee4f74e AM |
47 | BuildRoot: %{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 |
54 | lighttpd is a secure, fast, compliant and very flexible web-server |
55 | which has been optimized for high-performance environments. It has | |
56 | a very low memory footprint compared to other webservers and takes | |
57 | care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, | |
bee4f74e AM |
58 | Output-Compression, URL-Rewriting and many more) make lighttpd the |
59 | perfect webserver-software for every server that is suffering load | |
60 | problems. | |
61 | ||
f655b1fd MC |
62 | %description -l pl |
63 | lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym | |
1a75d3e1 | 64 |