]>
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 | # |
2abd0792 ER |
21 | |
22 | # Prerelease snapshot: DATE-TIME | |
23 | #define _snap 20050116-1743 | |
24 | ||
25 | %if 0%{?_snap} | |
26 | %define _source http://www.lighttpd.net/download/%{name}-%{version}-%{_snap}.tar.gz | |
27 | %else | |
28 | %define _source http://www.lighttpd.net/download/%{name}-%{version}.tar.gz | |
29 | %endif | |
30 | ||
efaa825a | 31 | %define _rel 0.18 |
2abd0792 | 32 | |
027853cc | 33 | Summary: Fast and light HTTP server |
34 | Summary(pl): Szybki i lekki serwer HTTP | |
bee4f74e | 35 | Name: lighttpd |
544141d3 | 36 | Version: 1.3.7 |
2abd0792 | 37 | Release: %{_rel}%{?_snap:.%(echo %{_snap}|tr - _)} |
bee4f74e | 38 | Group: Networking/Daemons |
4241e769 | 39 | License: BSD |
2abd0792 | 40 | Source0: %{_source} |
9a5636eb | 41 | # Source0-md5: 40ac1d07d9efb0366720d081c3e02224 |
bee4f74e | 42 | Source1: %{name}.init |
2f7162ab AM |
43 | Source2: %{name}.conf |
44 | Source3: %{name}.user | |
607835c0 | 45 | Source4: %{name}.logrotate |
c54ca3d2 | 46 | Source5: %{name}.sysconfig |
bebbc41e | 47 | Patch0: %{name}-mod_status.patch |
00f98cf3 | 48 | Patch1: %{name}-doublefree.patch |
4eada25d | 49 | Patch2: %{name}-avg-req.patch |
866e1491 ER |
50 | Patch3: %{name}-readpost-timeout.patch |
51 | Patch4: %{name}-fcgi-fdevent.patch | |
d04fe758 | 52 | Patch5: %{name}-write-EINTR.patch |
efaa825a | 53 | Patch6: %{name}-getsockname.patch |
70373b58 | 54 | URL: http://www.lighttpd.net/ |
1a75d3e1 JB |
55 | BuildRequires: autoconf |
56 | BuildRequires: automake | |
57 | BuildRequires: bzip2-devel | |
58 | BuildRequires: libtool | |
1a75d3e1 JB |
59 | BuildRequires: openssl-devel |
60 | BuildRequires: pcre-devel | |
e68efba2 | 61 | BuildRequires: rpmbuild(macros) >= 1.159 |
1a75d3e1 | 62 | BuildRequires: zlib-devel |
d20e182e | 63 | %if %{with xattr} |
64 | BuildRequires: attr-devel | |
65 | %endif | |
05f8c491 ER |
66 | %{?with_ldap:BuildRequires: openldap-devel} |
67 | %{?with_mysql:BuildRequires: mysql-devel} | |
d80c1ef1 ER |
68 | %{?with_valgrind:BuildRequires: valgrind} |
69 | %{!?with_valgrind:BuildConflicts: valgrind} | |
bee4f74e AM |
70 | PreReq: rc-scripts |
71 | Requires(pre): sh-utils | |
72 | Requires(pre): /bin/id | |
73 | Requires(pre): /usr/bin/getgid | |
74 | Requires(pre): /usr/sbin/groupadd | |
75 | Requires(pre): /usr/sbin/useradd | |
76 | Requires(post,preun): /sbin/chkconfig | |
bee4f74e | 77 | Requires(postun): /usr/sbin/groupdel |
e68efba2 | 78 | Requires(postun): /usr/sbin/userdel |
79 | Provides: group(lighttpd) | |
1a75d3e1 | 80 | Provides: httpd |
e68efba2 | 81 | Provides: user(lighttpd) |
1a75d3e1 | 82 | Provides: webserver |
bee4f74e AM |
83 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
84 | ||
85 | %define _libdir %{_prefix}/%{_lib}/%{name} | |
8d734bed | 86 | %define _lighttpddir /home/services/%{name} |
bee4f74e AM |
87 | %define _sysconfdir /etc/%{name} |
88 | ||
89 | %description | |
f655b1fd MC |
90 | lighttpd is a secure, fast, compliant and very flexible web-server |
91 | which has been optimized for high-performance environments. It has | |
92 | a very low memory footprint compared to other webservers and takes | |
93 | care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, | |
bee4f74e AM |
94 | Output-Compression, URL-Rewriting and many more) make lighttpd the |
95 | perfect webserver-software for every server that is suffering load | |
96 | problems. | |
97 | ||
f655b1fd MC |
98 | %description -l pl |
99 | lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym | |
1a75d3e1 | 100 |