1
Summary: A fast webserver with minimal memory-footprint (lighttpd)
5
Source: http://jan.kneschke.de/projects/lighttpd/download/lighttpd-%version.tar.gz
6
Packager: Jan Kneschke <jan@kneschke.de>
8
Group: Networking/Daemons
9
URL: http://www.lighttpd.net/
10
Requires: pcre >= 3.1 zlib
11
BuildRequires: libtool zlib-devel
12
BuildRoot: %{_tmppath}/%{name}-root
15
lighttpd is intented to be a frontend for ad-servers which have to deliver
16
small files concurrently to many connections.
18
Available rpmbuild rebuild options:
19
--with: ssl mysql lua memcache
27
%{?_with_mysql: --with-mysql} \
28
%{?_with_lua: --with-lua} \
29
%{?_with_memcache: --with-memcache} \
30
%{?_with_ssl: --with-openssl}
36
mkdir -p %{buildroot}%{_sysconfdir}/{init.d,sysconfig}
37
if [ -f /etc/redhat-release -o -f /etc/fedora-release ]; then
38
install -m 755 doc/rc.lighttpd.redhat %{buildroot}%{_sysconfdir}/init.d/lighttpd
40
install -m 755 doc/rc.lighttpd %{buildroot}%{_sysconfdir}/init.d/lighttpd
42
install -m 644 doc/sysconfig.lighttpd %{buildroot}%{_sysconfdir}/sysconfig/lighttpd
48
## read http://www.fedora.us/docs/spec.html next time :)
49
if [ "$1" = "1" ]; then
50
# real install, not upgrade
51
/sbin/chkconfig --add lighttpd
55
if [ "$1" = "0"]; then
56
# real uninstall, not upgrade
57
%{_sysconfdir}/init.d/lighttpd stop
58
/sbin/chkconfig --del lighttpd
63
%doc doc/lighttpd.conf doc/lighttpd.user README INSTALL ChangeLog COPYING AUTHORS
65
%config(noreplace) %attr(0755,root,root) %{_sysconfdir}/init.d/lighttpd
66
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/lighttpd
73
* Thu Sep 30 2004 12:41 <jan@kneschke.de> 1.3.1
76
* Tue Jun 29 2004 17:26 <jan@kneschke.de> 1.2.3
77
- rpmlint'ed the package
79
- added (noreplace) to start-script
80
- change group to Networking/Daemon (like apache)
82
* Sun Feb 23 2003 15:04 <jan@kneschke.de>