Re: Gnumeric build problems



On 2001.09.13 10:39 Toralf Lund wrote:
> [ ... ]
> > 
> > I will be checking in some mostly cosmetic changes soon that provide a
> > finer-grained control over the /usr/share/gnumeric directory, but I
> have
> > been
> > working very hard for over a year insuring that the gnumeric spec file
> is
> > working and up to date.
> Actually, it looks like there is a problem with the commands in %install
> rather than the spec file as such. I'm quite sure 'make install' leaves
> out
> some bits, but I haven't yet been able to figure out why. (I'm working on
> it right now.)
> 
> I'm glad to hear that you support RPM, it seems to me that many other
> package maintainers don't. Oh, yes, .spec files are included on most
> source
> trees, but how often are they *used*? Well, I shouldn't expect binary
> releases to be tested for arbitrary checkouts of development versions, I
> suppose, but what I do expect is that someone continually ensures the
> tree
> is complete and consistent, and building/installing RPMs is a very nice
> test in conjunction with this!
> 

Finally I understand. Everything is installed on
<prefix>/{lib|share>/<version>, not ...<version>-bonobo; apparently my
bonobo version is too old (Well, it would be, it must be several *weeks*
since I upgraded now. I think it's somewhat odd to require version >=1.0.8
or whatever it is, though, I would normally expect >=1, >=2 and so on, or
at least >=1.0, >=1.1 etc, but I guess that's a Bonobo versioning issue.) I
should have noticed that earlier, of course, but since everything built
successfully... (I also did the wrong king of search when I wanted to find
out where all the plugin bits went, I admit.)

In addition to that, some python stuff is missing, and I have no "*.css". I
don't care about any of this right now, so I did [attached patch].

--
- Toralf
Index: gnumeric.spec.in
===================================================================
RCS file: /cvs/gnome/gnumeric/gnumeric.spec.in,v
retrieving revision 1.67
diff -u -b -r1.67 gnumeric.spec.in
--- gnumeric.spec.in	2001/08/24 07:37:23	1.67
+++ gnumeric.spec.in	2001/09/13 10:30:08
@@ -89,24 +89,24 @@
 
 %defattr (0555, bin, bin)
 %{prefix}/bin/gnumeric
-%{prefix}/lib/gnumeric/%{version}-bonobo/plugins/*/*.so
-%{prefix}/lib/gnumeric/%{version}-bonobo/plugins/*/*.py
+%{prefix}/lib/gnumeric/%{version}*/plugins/*/*.so
+# %{prefix}/lib/gnumeric/%{version}*/plugins/*/*.py
 %{prefix}/lib/gnumericConf.sh
 
 %defattr (0444, bin, bin, 0555)
 %doc HACKING AUTHORS ChangeLog NEWS BUGS README COPYING TODO
-%{prefix}/lib/gnumeric/%{version}-bonobo/plugins/*/*.xml
-%{prefix}/lib/gnumeric/%{version}-bonobo/plugins/*/glossary-po-header
+%{prefix}/lib/gnumeric/%{version}*/plugins/*/*.xml
+# %{prefix}/lib/gnumeric/%{version}*/plugins/*/glossary-po-header
 %config %{prefix}/share/gnome/apps/Applications/*
 %{prefix}/share/gnome/help/gnumeric/C/images/*
 %{prefix}/share/gnome/help/gnumeric/C/*.*
 %dir %{prefix}/share/gnumeric
-%{prefix}/share/gnumeric/%{version}-bonobo/autoformat-templates/*/*
-%{prefix}/share/gnumeric/%{version}-bonobo/glade/*
-%{prefix}/share/gnumeric/%{version}-bonobo/gnome/ui/*
-%{prefix}/share/gnumeric/%{version}-bonobo/idl/*.idl
-%{prefix}/share/gnumeric/%{version}-bonobo/python/*
-%{prefix}/share/gnumeric/%{version}-bonobo/templates/*
+%{prefix}/share/gnumeric/%{version}*/autoformat-templates/*/*
+%{prefix}/share/gnumeric/%{version}*/glade/*
+%{prefix}/share/gnumeric/%{version}*/gnome/ui/*
+%{prefix}/share/gnumeric/%{version}*/idl/*.idl
+# %{prefix}/share/gnumeric/%{version}*/python/*
+%{prefix}/share/gnumeric/%{version}*/templates/*
 #%{prefix}/share/locale/*/LC_MESSAGES/*.mo
 %{prefix}/share/mc/templates/*
 %{prefix}/share/mime-info/*
Index: doc/C/Makefile.am
===================================================================
RCS file: /cvs/gnome/gnumeric/doc/C/Makefile.am,v
retrieving revision 1.22
diff -u -b -r1.22 Makefile.am
--- doc/C/Makefile.am	2001/08/07 17:09:13	1.22
+++ doc/C/Makefile.am	2001/09/13 10:30:08
@@ -75,7 +75,7 @@
 
 install-data-local: index.html
 	$(mkinstalldirs) $(DESTDIR)$(gnumeric_helpdir)/images
-	-for file in $(srcdir)/gnumeric/*.html $(srcdir)/gnumeric/*.css; do \
+	-for file in $(srcdir)/gnumeric/*.html; do \
 	basefile=`basename $$file`; \
 	$(INSTALL_DATA) $$file $(DESTDIR)$(gnumeric_helpdir)/$$basefile; \
 	done


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]