]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # TODO | |
3 | # - fix modules: | |
4 | # mod_localizer : disabled (liblocalizer missing) | |
5 | # mod_maps : disabled (liblocalizer missing) | |
6 | # mod_chat : disabled, buy your license :) | |
7 | # mod_cache : disabled, buy your license :) | |
8 | # - test ldap and mysql (failed at this time) | |
9 | # - documentroot specified in config doesn't exist | |
10 | # | |
11 | # Conditional build for lighttpd: | |
12 | %bcond_without xattr # without support of extended attributes | |
13 | %bcond_with mysql # with mysql | |
14 | %bcond_with ldap # with ldap | |
15 | # | |
16 | Summary: Fast and light HTTP server | |
17 | Summary(pl): Szybki i lekki serwer HTTP | |
18 | Name: lighttpd | |
19 | Version: 1.3.7 | |
20 | Release: 0.4 | |
21 | Group: Networking/Daemons | |
22 | License: BSD | |
23 | ## do not remove next two lines because atomic revisions are common in lighttpd | |
24 | #%define _rel 20041102-1041 | |
25 | #Source0: http://jan.kneschke.de/projects/lighttpd/download/%{name}-%{version}-%{_rel}.tar.gz | |
26 | Source0: http://jan.kneschke.de/projects/lighttpd/download/%{name}-%{version}.tar.gz | |
27 | # Source0-md5: 40ac1d07d9efb0366720d081c3e02224 | |
28 | Source1: %{name}.init | |
29 | Source2: %{name}.conf | |
30 | Source3: %{name}.user | |
31 | Source4: %{name}.logrotate | |
32 | URL: http://jan.kneschke.de/projects/lighttpd/ | |
33 | BuildRequires: autoconf | |
34 | BuildRequires: automake | |
35 | BuildRequires: bzip2-devel | |
36 | BuildRequires: libtool | |
37 | BuildRequires: openssl-devel | |
38 | BuildRequires: pcre-devel | |
39 | BuildRequires: rpmbuild(macros) >= 1.159 | |
40 | BuildRequires: zlib-devel | |
41 | %if %{with xattr} | |
42 | BuildRequires: attr-devel | |
43 | %endif | |
44 | %{?with_ldap:BuildRequires: openldap-devel} | |
45 | %{?with_mysql:BuildRequires: mysql-devel} | |
46 | PreReq: rc-scripts | |
47 | Requires(pre): sh-utils | |
48 | Requires(pre): /bin/id | |
49 | Requires(pre): /usr/bin/getgid | |
50 | Requires(pre): /usr/sbin/groupadd | |
51 | Requires(pre): /usr/sbin/useradd | |
52 | Requires(post,preun): /sbin/chkconfig | |
53 | Requires(postun): /usr/sbin/groupdel | |
54 | Requires(postun): /usr/sbin/userdel | |
55 | Provides: group(lighttpd) | |
56 | Provides: httpd | |
57 | Provides: user(lighttpd) | |
58 | Provides: webserver | |
59 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
60 | ||
61 | %define _libdir %{_prefix}/%{_lib}/%{name} | |
62 | %define _lighttpddir /home/services/%{name} | |
63 | %define _sysconfdir /etc/%{name} | |
64 | ||
65 | %description | |
66 | lighttpd is a secure, fast, compliant and very flexible web-server | |
67 | which has been optimized for high-performance environments. It has | |
68 | a very low memory footprint compared to other webservers and takes | |
69 | care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, | |
70 | Output-Compression, URL-Rewriting and many more) make lighttpd the | |
71 | perfect webserver-software for every server that is suffering load | |
72 | problems. | |
73 | ||
74 | %description -l pl | |
75 | lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym | |
76 |