You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
2.2 KiB

Summary: A fast webserver with minimal memory-footprint (lighttpd)
Name: lighttpd
Version: @VERSION@
Release: 1
Packager: Jan Kneschke <>
License: BSD
Group: Networking/Daemons
Requires: pcre >= 3.1 zlib
BuildPrereq: libtool zlib-devel
BuildRoot: %{_tmppath}/%{name}-root
lighttpd is intented to be a frontend for ad-servers which have to deliver
small files concurrently to many connections.
Available rpmbuild rebuild options :
--with : ssl mysql lua memcache
%setup -q
rm -rf %{buildroot}
%configure \
%{?_with_mysql: --with-mysql} \
%{?_with_lua: --with-lua} \
%{?_with_memcache: --with-memcache} \
%{?_with_ssl: --with-openssl}
mkdir -p %{buildroot}%{_sysconfdir}/{init.d,sysconfig}
if test -f /etc/redhat-release -o -f /etc/fedora-release; then
install -m 755 doc/rc.lighttpd.redhat %{buildroot}%{_sysconfdir}/init.d/lighttpd
install -m 755 doc/rc.lighttpd %{buildroot}%{_sysconfdir}/init.d/lighttpd
install -m 644 doc/sysconfig.lighttpd %{buildroot}%{_sysconfdir}/sysconfig/lighttpd
rm -rf %{buildroot}
## read next time :)
if test "$1" = "1"; then
# real install, not upgrade
/sbin/chkconfig --add lighttpd
if test "$1" = "0"; then
# real uninstall, not upgrade
%{_sysconfdir}/init.d/lighttpd stop
/sbin/chkconfig --del lighttpd
%doc doc/lighttpd.conf doc/lighttpd.user README INSTALL ChangeLog COPYING AUTHORS
%doc doc/*.txt
%config(noreplace) %attr(0755,root,root) %{_sysconfdir}/init.d/lighttpd
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/lighttpd
* Thu Sep 30 2004 12:41 <> 1.3.1
- upgraded to 1.3.1
* Tue Jun 29 2004 17:26 <> 1.2.3
- rpmlint'ed the package
- added URL
- added (noreplace) to start-script
- change group to Networking/Daemon (like apache)
* Sun Feb 23 2003 15:04 <>
- initial version