On Tuesday 19 April 2005 20:35, med wrote:
> Hi,
>
> > But, the spec file for midgard-data attempts to include
> > spider-admin.xml.gz
> > localization.xml.gz
> > which were not packaged within midgard-data-1.6.3.tar.bz2 - can I
> > get them?
>
> Sure, they are packed in the All-in-One-package.

Correct! Duh. I should have thought of that...

> But maybe it's safer to rebuild from scratch using the
> all-in-one-package.
> I've been using midgard for a while now and have mostly gone better
> compiling the packages myself than using preshipped rpms
> (that is for SuSE, RH may behave better...)

I see now that there is no midgard-data package as a RHEL rpm. The steps I took:
1. In Midgard_AllinOne/midgard-data-1.6.3/data : "gzip *.xml"
2. Re-tar the source : "tar jcf 
/usr/src/redhat/SOURCES/midgard-data-1.6.3.tar.bz2 midgard-data-1.6.3/"
3. Modified the spec files as per this diff:

diff -Nura 
~/src/Midgard_AllinOne/midgard-data-1.6.3/SPECS/midgard-data.spec.RedHat.in 
midgard-data.spec 
--- 
/root/src/Midgard_AllinOne/midgard-data-1.6.3/SPECS/midgard-data.spec.RedHat.in 
    2005-03-09 04:31:43.000000000 -0600
+++ midgard-data.spec   2005-04-21 12:26:33.000000000 -0500
@@ -1,5 +1,5 @@
 Name:          midgard-data
-Version:       @VERSION@
+Version:       1.6.3
 Release:       2
 Summary:       Midgard data package
 
@@ -55,8 +55,8 @@
 perl -pi -e 's|conf/httpd.conf|%{_sysconfdir}/httpd/conf/httpd.conf|' 
datagard.conf
 
 # Install gzipped Midgard Applications
-%{__install} -m755 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/midgard/data
-%{__install} -m755 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/midgard/data
+%{__install} -m755 data/spider-admin.xml.gz 
$RPM_BUILD_ROOT%{_datadir}/midgard/data
+%{__install} -m755 data/localization.xml.gz 
$RPM_BUILD_ROOT%{_datadir}/midgard/data
 
 %{__install} -m755 datagard $RPM_BUILD_ROOT%{_datadir}/midgard/datagard
 %{__install} -m640 *.conf $RPM_BUILD_ROOT%{_datadir}/midgard/datagard

I was then able to build the rpm and install it. Now to setup a web site...

jerry

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to