Author: glen Date: Tue Nov 15 14:07:02 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - mime.types is autogenerated from mailcap data
---- Files affected: SPECS: lighttpd.spec (1.134 -> 1.135) ---- Diffs: ================================================================ Index: SPECS/lighttpd.spec diff -u SPECS/lighttpd.spec:1.134 SPECS/lighttpd.spec:1.135 --- SPECS/lighttpd.spec:1.134 Mon Nov 14 18:00:27 2005 +++ SPECS/lighttpd.spec Tue Nov 15 15:06:57 2005 @@ -37,7 +37,7 @@ %define _source http://www.lighttpd.net/download/%{name}-%{version}.tar.gz %endif -%define _rel 1 +%define _rel 1.2 Summary: Fast and light HTTP server Summary(pl): Szybki i lekki serwer HTTP @@ -53,6 +53,7 @@ Source3: %{name}.user Source4: %{name}.logrotate Source5: %{name}.sysconfig +Source6: %{name}-mime.types.sh URL: http://www.lighttpd.net/ %{?with_xattr:BuildRequires: attr-devel} BuildRequires: autoconf @@ -72,6 +73,7 @@ BuildRequires: rpmbuild(macros) >= 1.202 %{?with_valgrind:BuildRequires: valgrind} BuildRequires: zlib-devel +BuildRequires: mailcap >= 2.1.14-4.4 PreReq: rc-scripts Requires(pre): sh-utils Requires(pre): /bin/id @@ -229,6 +231,10 @@ %prep %setup -q +install %{SOURCE6} mime.types.sh + +# build mime.types.conf +./mime.types.sh /etc/mime.types %build %{__libtoolize} @@ -261,7 +267,7 @@ DESTDIR=$RPM_BUILD_ROOT install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} -install %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir} +install %{SOURCE2} %{SOURCE3} mime.types.conf $RPM_BUILD_ROOT%{_sysconfdir} install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name} install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/%{name} @@ -347,6 +353,7 @@ %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/* %dir %attr(750,root,lighttpd) %{_sysconfdir} %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf +%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mime.types.conf %attr(640,root,lighttpd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.user %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name} %{_mandir}/man?/* @@ -384,6 +391,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.135 2005/11/15 14:06:57 glen +- mime.types is autogenerated from mailcap data + Revision 1.134 2005/11/14 17:00:27 glen - fix valgrind BR bcond ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/lighttpd.spec?r1=1.134&r2=1.135&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
