]>
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 | |
d20e182e | 15 | # |
027853cc | 16 | Summary: Fast and light HTTP server |
17 | Summary(pl): Szybki i lekki serwer HTTP | |
bee4f74e | 18 | Name: lighttpd |
544141d3 | 19 | Version: 1.3.7 |
bebbc41e | 20 | Release: 0.8 |
bee4f74e | 21 | Group: Networking/Daemons |
4241e769 | 22 | License: BSD |
00bd45aa | 23 | ## do not remove next two lines because atomic revisions are common in lighttpd |
bebbc41e | 24 | #%define _rel 20050106-1954 |
acef8c19 | 25 | #Source0: http://www.lighttpd.net/download/%{name}-%{version}-%{_rel}.tar.gz |
bebbc41e | 26 | Source0: http://www.lighttpd.net/download/%{name}-%{version}.tar.gz |
9a5636eb | 27 | # Source0-md5: 40ac1d07d9efb0366720d081c3e02224 |
bee4f74e | 28 | Source1: %{name}.init |
2f7162ab AM |
29 | Source2: %{name}.conf |
30 | Source3: %{name}.user | |
607835c0 | 31 | Source4: %{name}.logrotate |
c54ca3d2 | 32 | Source5: %{name}.sysconfig |
bebbc41e | 33 | Patch0: %{name}-mod_status.patch |
bee4f74e | 34 | URL: http://jan.kneschke.de/projects/lighttpd/ |
1a75d3e1 JB |
35 | BuildRequires: autoconf |
36 | BuildRequires: automake | |
37 | BuildRequires: bzip2-devel | |
38 | BuildRequires: libtool | |
1a75d3e1 JB |
39 | BuildRequires: openssl-devel |
40 | BuildRequires: pcre-devel | |
e68efba2 | 41 | BuildRequires: rpmbuild(macros) >= 1.159 |
1a75d3e1 | 42 | BuildRequires: zlib-devel |
d20e182e | 43 | %if %{with xattr} |
44 | BuildRequires: attr-devel | |
45 | %endif | |
05f8c491 ER |
46 | %{?with_ldap:BuildRequires: openldap-devel} |
47 | %{?with_mysql:BuildRequires: mysql-devel} | |
bee4f74e AM |
48 | PreReq: rc-scripts |
49 | Requires(pre): sh-utils | |
50 | Requires(pre): /bin/id | |
51 | Requires(pre): /usr/bin/getgid | |
52 | Requires(pre): /usr/sbin/groupadd | |
53 | Requires(pre): /usr/sbin/useradd | |
54 | Requires(post,preun): /sbin/chkconfig | |
bee4f74e | 55 | Requires(postun): /usr/sbin/groupdel |
e68efba2 | 56 | Requires(postun): /usr/sbin/userdel |
57 | Provides: group(lighttpd) | |
1a75d3e1 | 58 | Provides: httpd |
e68efba2 | 59 | Provides: user(lighttpd) |
1a75d3e1 | 60 | Provides: webserver |
bee4f74e AM |
61 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
62 | ||
63 | %define _libdir %{_prefix}/%{_lib}/%{name} | |
8d734bed | 64 | %define _lighttpddir /home/services/%{name} |
bee4f74e AM |
65 | %define _sysconfdir /etc/%{name} |
66 | ||
67 | %description | |
f655b1fd MC |
68 | lighttpd is a secure, fast, compliant and very flexible web-server |
69 | which has been optimized for high-performance environments. It has | |
70 | a very low memory footprint compared to other webservers and takes | |
71 | care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, | |
bee4f74e AM |
72 | Output-Compression, URL-Rewriting and many more) make lighttpd the |
73 | perfect webserver-software for every server that is suffering load | |
74 | problems. | |
75 | ||
f655b1fd MC |
76 | %description -l pl |
77 | lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym | |
1a75d3e1 | 78 |