Author: glen Date: Tue Sep 23 21:38:56 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - save something
---- Files affected: SPECS: litespeed.spec (1.1 -> 1.2) ---- Diffs: ================================================================ Index: SPECS/litespeed.spec diff -u SPECS/litespeed.spec:1.1 SPECS/litespeed.spec:1.2 --- SPECS/litespeed.spec:1.1 Sun Sep 21 13:27:43 2008 +++ SPECS/litespeed.spec Tue Sep 23 23:38:50 2008 @@ -8,6 +8,7 @@ Source0: http://www.litespeedtech.com/packages/3.0/lsws-%{version}-std-i386-linux.tar.gz # Source0-md5: 0da9eff04fda6486e493f3d454ef498d URL: http://www.litespeedtech.com/ +BuildRequires: sed >= 4.0 ExclusiveArch: %{ix86} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -22,11 +23,27 @@ %prep %setup -q -n lsws-%{version} +# undos +%{__sed} -i -e 's,\r$,,' conf/httpd_config.xml.in -%build +%{__sed} ' + s#%SERVER_NAME%#localhost# + [EMAIL PROTECTED] + s#%USER%#http# + s#%GROUP%#http# + s#%PHP_BEGIN%## + s#%PHP_SUFFIX%#php# + s#%PHP_END%## + s#%RUBY_BIN%/%{_bindir}/ruby# +' conf/httpd_config.xml.in > conf/httpd_config.xml %install rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_sysconfdir}/%{name},%{_sbindir},/usr/lib/cgi-bin/%{name}} +cp -a conf/{httpd_config.xml,mime.properties,templates} $RPM_BUILD_ROOT%{_sysconfdir}/%{name} +install bin/* $RPM_BUILD_ROOT%{_sbindir} +install fcgi-bin/* $RPM_BUILD_ROOT/usr/lib/cgi-bin/%{name} +install admin/fcgi-bin/admin_php $RPM_BUILD_ROOT/usr/lib/cgi-bin/%{name}/lsphp %clean rm -rf $RPM_BUILD_ROOT @@ -41,5 +58,8 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.2 2008/09/23 21:38:50 glen +- save something + Revision 1.1 2008/09/21 11:27:43 glen - new or something ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/litespeed.spec?r1=1.1&r2=1.2&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
