Changeset 2018

Show
Ignore:
Timestamp:
11/05/2007 09:07:17 AM (9 months ago)
Author:
glen
Message:

- cosmetics, update URL

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lighttpd.spec.in

    r1349 r2018  
    77License: BSD 
    88Group: Networking/Daemons 
    9 URL: http://jan.kneschke.de/projects/lighttpd
    10 Requires: pcre >= 3.1 zlib  
    11 BuildPrereq: libtool zlib-devel 
     9URL: http://www.lighttpd.net
     10Requires: pcre >= 3.1 zlib 
     11BuildRequires: libtool zlib-devel 
    1212BuildRoot: %{_tmppath}/%{name}-root 
    13  
    1413 
    1514%description 
     
    1716small files concurrently to many connections. 
    1817 
    19 Available rpmbuild rebuild options
    20 --with : ssl mysql lua memcache 
     18Available rpmbuild rebuild options
     19--with: ssl mysql lua memcache 
    2120 
    2221%prep 
    23  
    2422%setup -q 
    2523 
     
    3432 
    3533%install 
    36  
    3734%makeinstall 
    3835 
    3936mkdir -p %{buildroot}%{_sysconfdir}/{init.d,sysconfig} 
    40 if test -f /etc/redhat-release -o -f /etc/fedora-release; then 
    41   install -m 755 doc/rc.lighttpd.redhat %{buildroot}%{_sysconfdir}/init.d/lighttpd 
     37if [ -f /etc/redhat-release -o -f /etc/fedora-release ]; then 
     38       install -m 755 doc/rc.lighttpd.redhat %{buildroot}%{_sysconfdir}/init.d/lighttpd 
    4239else 
    43   install -m 755 doc/rc.lighttpd %{buildroot}%{_sysconfdir}/init.d/lighttpd 
     40       install -m 755 doc/rc.lighttpd %{buildroot}%{_sysconfdir}/init.d/lighttpd 
    4441fi 
    4542install -m 644 doc/sysconfig.lighttpd %{buildroot}%{_sysconfdir}/sysconfig/lighttpd 
     
    5047%post 
    5148## read http://www.fedora.us/docs/spec.html next time :) 
    52 if test "$1" = "1"; then 
    53   # real install, not upgrade 
    54   /sbin/chkconfig --add lighttpd 
     49if [ "$1" = "1" ]; then 
     50       # real install, not upgrade 
     51       /sbin/chkconfig --add lighttpd 
    5552fi 
    5653 
    5754%preun 
    58 if test "$1" = "0"; then 
    59   # real uninstall, not upgrade 
    60   %{_sysconfdir}/init.d/lighttpd stop 
    61   /sbin/chkconfig --del lighttpd 
     55if [ "$1" = "0"]; then 
     56       # real uninstall, not upgrade 
     57       %{_sysconfdir}/init.d/lighttpd stop 
     58       /sbin/chkconfig --del lighttpd 
    6259fi 
    6360 
    6461%files 
    6562%defattr(-,root,root) 
    66 %doc doc/lighttpd.conf doc/lighttpd.user README INSTALL ChangeLog COPYING AUTHORS  
     63%doc doc/lighttpd.conf doc/lighttpd.user README INSTALL ChangeLog COPYING AUTHORS 
    6764%doc doc/*.txt 
    6865%config(noreplace) %attr(0755,root,root) %{_sysconfdir}/init.d/lighttpd