]>
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: |
ce8f06ab KK |
12 | %bcond_without xattr # without support of extended attributes |
13 | %bcond_with mysql # with mysql | |
14 | %bcond_with ldap # with ldap | |
d80c1ef1 | 15 | %bcond_with valgrind # enable valgrind fixes in code. |
ce8f06ab | 16 | %bcond_without ipv6 # IPv4-only version (doesn't require IPv6 in kernel) |
70373b58 ER |
17 | %bcond_without largefile # without largefile support, |
18 | # use it if you have 2.4 kernel to get sendfile() support, | |
19 | # and don't need > 2GB file requests, | |
20 | # see http://article.gmane.org/gmane.comp.web.lighttpd:722 | |
d20e182e | 21 | # |
2abd0792 ER |
22 | |
23 | # Prerelease snapshot: DATE-TIME | |
24 | #define _snap 20050116-1743 | |
25 | ||
26 | %if 0%{?_snap} | |
27 | %define _source http://www.lighttpd.net/download/%{name}-%{version}-%{_snap}.tar.gz | |
28 | %else | |
29 | %define _source http://www.lighttpd.net/download/%{name}-%{version}.tar.gz | |
30 | %endif | |
31 | ||
ce8f06ab | 32 | %define _rel 0.1 |
2abd0792 | 33 | |
027853cc | 34 | Summary: Fast and light HTTP server |
35 | Summary(pl): Szybki i lekki serwer HTTP | |
bee4f74e | 36 | Name: lighttpd |
ce8f06ab | 37 | Version: 1.3.8 |
2abd0792 | 38 | Release: %{_rel}%{?_snap:.%(echo %{_snap}|tr - _)} |
bee4f74e | 39 | Group: Networking/Daemons |
4241e769 | 40 | License: BSD |
2abd0792 | 41 | Source0: %{_source} |
ce8f06ab | 42 | # Source0-md5: 4ac341879497064b334e776288ad5e0f |
bee4f74e | 43 | Source1: %{name}.init |
2f7162ab AM |
44 | Source2: %{name}.conf |
45 | Source3: %{name}.user | |
607835c0 | 46 | Source4: %{name}.logrotate |
c54ca3d2 | 47 | Source5: %{name}.sysconfig |
70373b58 | 48 | URL: http://www.lighttpd.net/ |
1a75d3e1 JB |
49 | BuildRequires: autoconf |
50 | BuildRequires: automake | |
51 | BuildRequires: bzip2-devel | |
52 | BuildRequires: libtool | |
1a75d3e1 JB |
53 | BuildRequires: openssl-devel |
54 | BuildRequires: pcre-devel | |
e68efba2 | 55 | BuildRequires: rpmbuild(macros) >= 1.159 |
1a75d3e1 | 56 | BuildRequires: zlib-devel |
d20e182e | 57 | %if %{with xattr} |
58 | BuildRequires: attr-devel | |
59 | %endif | |
05f8c491 ER |
60 | %{?with_ldap:BuildRequires: openldap-devel} |
61 | %{?with_mysql:BuildRequires: mysql-devel} | |
d80c1ef1 ER |
62 | %{?with_valgrind:BuildRequires: valgrind} |
63 | %{!?with_valgrind:BuildConflicts: valgrind} | |
bee4f74e AM |
64 | PreReq: rc-scripts |
65 | Requires(pre): sh-utils | |
66 | Requires(pre): /bin/id | |
67 | Requires(pre): /usr/bin/getgid | |
68 | Requires(pre): /usr/sbin/groupadd | |
69 | Requires(pre): /usr/sbin/useradd | |
70 | Requires(post,preun): /sbin/chkconfig | |
bee4f74e | 71 | Requires(postun): /usr/sbin/groupdel |
e68efba2 | 72 | Requires(postun): /usr/sbin/userdel |
73 | Provides: group(lighttpd) | |
1a75d3e1 | 74 | Provides: httpd |
e68efba2 | 75 | Provides: user(lighttpd) |
1a75d3e1 | 76 | Provides: webserver |
bee4f74e AM |
77 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
78 | ||
79 | %define _libdir %{_prefix}/%{_lib}/%{name} | |
8d734bed | 80 | %define _lighttpddir /home/services/%{name} |
bee4f74e AM |
81 | %define _sysconfdir /etc/%{name} |
82 | ||
83 | %description | |
f655b1fd MC |
84 | lighttpd is a secure, fast, compliant and very flexible web-server |
85 | which has been optimized for high-performance environments. It has | |
86 | a very low memory footprint compared to other webservers and takes | |
87 | care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, | |
bee4f74e AM |
88 | Output-Compression, URL-Rewriting and many more) make lighttpd the |
89 | perfect webserver-software for every server that is suffering load | |
90 | problems. | |
91 | ||
f655b1fd MC |
92 | %description -l pl |
93 | lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym | |
1a75d3e1 | 94 |