]>
Commit | Line | Data |
---|---|---|
8d734bed | 1 | # |
05f8c491 | 2 | # TODO |
0ab57655 | 3 | # - fix modules: |
05f8c491 ER |
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 :) | |
0ab57655 | 8 | # - test ldap and mysql (failed at this time) |
ddfaf124 | 9 | # - documentroot specified in config doesn't exist |
05f8c491 | 10 | # |
4f968063 | 11 | # Conditional build for lighttpd: |
d20e182e | 12 | %bcond_without xattr # without support of extended attributes |
05f8c491 ER |
13 | %bcond_with mysql # with mysql |
14 | %bcond_with ldap # with ldap | |
d80c1ef1 | 15 | %bcond_with valgrind # enable valgrind fixes in code. |
70373b58 ER |
16 | %bcond_without largefile # without largefile support, |
17 | # use it if you have 2.4 kernel to get sendfile() support, | |
18 | # and don't need > 2GB file requests, | |
19 | # see http://article.gmane.org/gmane.comp.web.lighttpd:722 | |
d20e182e | 20 | # |
027853cc | 21 | Summary: Fast and light HTTP server |
22 | Summary(pl): Szybki i lekki serwer HTTP | |
bee4f74e | 23 | Name: lighttpd |
544141d3 | 24 | Version: 1.3.7 |
866e1491 | 25 | Release: 0.14 |
bee4f74e | 26 | Group: Networking/Daemons |
4241e769 | 27 | License: BSD |
00bd45aa | 28 | ## do not remove next two lines because atomic revisions are common in lighttpd |
bebbc41e | 29 | #%define _rel 20050106-1954 |
acef8c19 | 30 | #Source0: http://www.lighttpd.net/download/%{name}-%{version}-%{_rel}.tar.gz |
bebbc41e | 31 | Source0: http://www.lighttpd.net/download/%{name}-%{version}.tar.gz |
9a5636eb | 32 | # Source0-md5: 40ac1d07d9efb0366720d081c3e02224 |
bee4f74e | 33 | Source1: %{name}.init |
2f7162ab AM |
34 | Source2: %{name}.conf |
35 | Source3: %{name}.user | |
607835c0 | 36 | Source4: %{name}.logrotate |
c54ca3d2 | 37 | Source5: %{name}.sysconfig |
bebbc41e | 38 | Patch0: %{name}-mod_status.patch |
00f98cf3 | 39 | Patch1: %{name}-doublefree.patch |
4eada25d | 40 | Patch2: %{name}-avg-req.patch |
866e1491 ER |
41 | Patch3: %{name}-readpost-timeout.patch |
42 | Patch4: %{name}-fcgi-fdevent.patch | |
70373b58 | 43 | URL: http://www.lighttpd.net/ |
1a75d3e1 JB |
44 | BuildRequires: autoconf |
45 | BuildRequires: automake | |
46 | BuildRequires: bzip2-devel | |
47 | BuildRequires: libtool | |
1a75d3e1 JB |
48 | BuildRequires: openssl-devel |
49 | BuildRequires: pcre-devel | |
e68efba2 | 50 | BuildRequires: rpmbuild(macros) >= 1.159 |
1a75d3e1 | 51 | BuildRequires: zlib-devel |
d20e182e | 52 | %if %{with xattr} |
53 | BuildRequires: attr-devel | |
54 | %endif | |
05f8c491 ER |
55 | %{?with_ldap:BuildRequires: openldap-devel} |
56 | %{?with_mysql:BuildRequires: mysql-devel} | |
d80c1ef1 ER |
57 | %{?with_valgrind:BuildRequires: valgrind} |
58 | %{!?with_valgrind:BuildConflicts: valgrind} | |
bee4f74e AM |
59 | PreReq: rc-scripts |
60 | Requires(pre): sh-utils | |
61 | Requires(pre): /bin/id | |
62 | Requires(pre): /usr/bin/getgid | |
63 | Requires(pre): /usr/sbin/groupadd | |
64 | Requires(pre): /usr/sbin/useradd | |
65 | Requires(post,preun): /sbin/chkconfig | |
bee4f74e | 66 | Requires(postun): /usr/sbin/groupdel |
e68efba2 | 67 | Requires(postun): /usr/sbin/userdel |
68 | Provides: group(lighttpd) | |
1a75d3e1 | 69 | Provides: httpd |
e68efba2 | 70 | Provides: user(lighttpd) |
1a75d3e1 | 71 | Provides: webserver |
bee4f74e AM |
72 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
73 | ||
74 | %define _libdir %{_prefix}/%{_lib}/%{name} | |
8d734bed | 75 | %define _lighttpddir /home/services/%{name} |
bee4f74e AM |
76 | %define _sysconfdir /etc/%{name} |
77 | ||
78 | %description | |
f655b1fd MC |
79 | lighttpd is a secure, fast, compliant and very flexible web-server |
80 | which has been optimized for high-performance environments. It has | |
81 | a very low memory footprint compared to other webservers and takes | |
82 | care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, | |
bee4f74e AM |
83 | Output-Compression, URL-Rewriting and many more) make lighttpd the |
84 | perfect webserver-software for every server that is suffering load | |
85 | problems. | |
86 | ||
f655b1fd MC |
87 | %description -l pl |
88 | lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym | |
1a75d3e1 | 89 |