]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- fix license, build shared objects, use external configs
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 25 Mar 2004 13:50:14 +0000 (13:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lighttpd.spec -> 1.3

lighttpd.spec

index 486f69b55685bbcddc297eefaf09e19a3bbd48ba..702fbd20391e2fbc20baef29deb766bf917f2b73 100644 (file)
@@ -6,10 +6,12 @@ Name:         lighttpd
 Version:       1.1.2a
 Release:       0.1
 Group:         Networking/Daemons
-License:       GPL
+License:       QPL
 Source0:       http://jan.kneschke.de/projects/lighttpd/download/%{name}-%{version}.tar.gz
 # Source0-md5: 2b5d247d2f62ac5255fa711a0c85bf06
 Source1:       %{name}.init
+Source2:       %{name}.conf
+Source3:       %{name}.user
 URL:           http://jan.kneschke.de/projects/lighttpd/
 Provides:      httpd
 Provides:      webserver
@@ -22,6 +24,9 @@ Requires(pre):        /usr/sbin/useradd
 Requires(post,preun):  /sbin/chkconfig
 Requires(postun):      /usr/sbin/userdel
 Requires(postun):      /usr/sbin/groupdel
+BuildRequires: automake
+BuildRequires: autoconf
+BuildRequires: libtool
 BuildRequires: mysql-devel
 BuildRequires: zlib-devel
 BuildRequires: bzip2-devel
@@ -55,6 +60,10 @@ problem
 %setup -q
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure \
        --enable-mod-chat \
        --enable-mod-cache \
@@ -72,7 +81,7 @@ install -d $RPM_BUILD_ROOT{/home/services/httpd/cgi-bin,/etc/{rc.d/init.d,%{name
        DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
-install doc/lighttpd.{conf,user} $RPM_BUILD_ROOT%{_sysconfdir}
+install %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -122,7 +131,7 @@ fi
 %doc NEWS README doc/*.txt
 %attr(755,root,root) %{_sbindir}/*
 %dir %{_libdir}
-%attr(644,root,root) %{_libdir}/*.a
+%attr(755,root,root) %{_libdir}/*.so
 %attr(-, http, http) /home/services/httpd
 %attr(754,root,root) /etc/rc.d/init.d/lighttpd
 %dir %attr(754,root,root) /etc/%{name}
This page took 0.311938 seconds and 4 git commands to generate.