Chip Cuccio wrote:

Ahhh - thanks ;-)

Shall I take a crack at it? How can we test the resultant spec?

The diff is attached - give it a try, tell me if it works. You need to run ./buildconf to generate the httpd.spec from build/rpm/httpd.spec.in, then tar up the archive and run


rpmbuild --rebuild httpd-2.0.50.tar.gz

and an RPM should result. Right now if you try to build an rpm, it complains about unpackaged files.

Regards,
Graham
--
--- build/rpm/httpd.spec.in	2004-02-07 20:44:30.000000000 +0200
+++ httpd.spec.in	2004-06-24 19:25:19.000000000 +0200
@@ -17,7 +17,7 @@
 License: Apache License, Version 2.0
 Group: System Environment/Daemons
 BuildRoot: %{_tmppath}/%{name}-root
-BuildPrereq: openldap-devel, db3-devel, expat-devel, findutils, perl, pkgconfig
+BuildPrereq: openldap-devel, db4-devel, expat-devel, findutils, perl, pkgconfig
 Requires: gawk, /usr/share/magic.mime, /usr/bin/find, openldap
 Prereq: /sbin/chkconfig, /bin/mktemp, /bin/rm, /bin/mv
 Prereq: sh-utils, textutils, /usr/sbin/useradd
@@ -335,6 +335,7 @@
 %dir %{contentdir}/error
 %dir %{contentdir}/error/include
 %{contentdir}/icons/*
+%{contentdir}/error/README
 %config(noreplace) %{contentdir}/error/*.var
 %config(noreplace) %{contentdir}/error/include/*.html
 
@@ -344,6 +345,8 @@
 
 %{_mandir}/man1/*
 
+%{_mandir}/man8/apachectl*
+%{_mandir}/man8/httpd*
 %{_mandir}/man8/rotatelogs*
 %{_mandir}/man8/suexec*
 
@@ -366,13 +369,18 @@
 %files devel
 %defattr(-,root,root)
 %{_libdir}/libapr-0.so
+%{_libdir}/libapr-0.a
+%{_libdir}/libapr-0.la
 %{_libdir}/libaprutil-0.so
+%{_libdir}/libaprutil-0.a
+%{_libdir}/libaprutil-0.la
 %{_includedir}/httpd
 %{_sysconfdir}/httpd/build
 %{_sbindir}/apxs
 %{_mandir}/man8/apxs.8*
 %dir %{_libdir}/httpd/build
 %{_libdir}/httpd/build/*.mk
+%{_libdir}/httpd/build/config.nice
 %{_libdir}/httpd/build/instdso.sh
 %{_libdir}/httpd/build/libtool
 

Reply via email to