[Gnucash-changes] Add warnings about using the included spec file with caution.

Christian Stimming cstim at cvs.gnucash.org
Wed Jan 12 16:34:16 EST 2005


Log Message:
-----------
Add warnings about using the included spec file with caution.

Modified Files:
--------------
    gnucash/rpm:
        README
        gnucash.spec.in

Revision Data
-------------
Index: gnucash.spec.in
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/rpm/gnucash.spec.in,v
retrieving revision 1.46
retrieving revision 1.47
diff -Lrpm/gnucash.spec.in -Lrpm/gnucash.spec.in -u -r1.46 -r1.47
--- rpm/gnucash.spec.in
+++ rpm/gnucash.spec.in
@@ -1,3 +1,15 @@
+#
+# WATCH OUT: These spec file(s) might be heavily out of date and/or
+# absolutely NOT SUITED to your distribution! They are particularly
+# matched for the RedHat-8 distribution, but DO NOT USE THEM if you
+# don't have exactly that distribution! Your own distribution probably
+# has its own source RPM of gnucash, and this source RPM includes a
+# spec file that is much better suited to your distribution.
+#
+#  I repeat: DO NOT USE THIS SPEC file unless you either have Red Hat 8
+#  or you really know how you can modify it to suit your distribution.
+#
+#
 # Check whether GnuCash should build optional modules.
 # To modify parameters, edit the .spec file, 0 is off, 1 is on
 %define _with_postgres 0
@@ -19,10 +31,10 @@
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-root
 Requires:  	gnome-libs >= 1.2.0, gdk-pixbuf >= 0.2.5, gnome-print >= 0.21
 Requires:	guile >= 1.3.4, gtkhtml >= 0.8, Guppi >= 0.35.3
-Requires:	g-wrap >= 1.3.4, umb-scheme >= 3.2, gal >= 0.8
+Requires:	g-wrap >= 1.3.4, gal >= 0.8
 BuildPrereq: 	g-wrap-devel >= 1.3.4, gtkhtml-devel >= 0.8
 BuildPrereq: 	Guppi-devel, gal-devel, libxml-devel
-BuildPrereq: 	libglade-devel, libghttp-devel, python-devel, libtermcap-devel
+BuildPrereq: 	libglade-devel, libghttp-devel, libtermcap-devel
 BuildPrereq: 	readline-devel
 Prereq: 	/sbin/ldconfig /sbin/install-info
 
@@ -62,8 +74,8 @@
 %package hbci
 Summary: Enables HBCI importing in GnuCash
 Group: Applications/Finance
-Requires: gnucash = %{version} openhbci >= 0.9.6
-BuildPrereq: openhbci
+Requires: gnucash = %{version} aqbanking >= 0.9.8
+BuildPrereq: aqbanking-devel
 
 %description hbci
 This package adds HBCI file import support to the base
Index: README
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/rpm/README,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lrpm/README -Lrpm/README -u -r1.4 -r1.5
--- rpm/README
+++ rpm/README
@@ -1,12 +1,32 @@
 This directory contains spec files for building an RPM
 
+
+  WATCH OUT: These spec file(s) might be heavily out of date and/or
+  absolutely NOT SUITED to your distribution! They are particularly
+  matched for the RedHat-8 distribution, but DO NOT USE THEM if you
+  don't have exactly that distribution! Your own distribution probably
+  has its own source RPM of gnucash, and this source RPM includes a
+  spec file that is much better suited to your distribution.
+
+  I repeat: DO NOT USE THIS SPEC file unless you either have Red Hat 8
+  or you really know how you can modify it to suit your distribution.
+
+  For German-speaking users, there are German build instructions for
+  RPMs on http://linuxwiki.de/GnuCash/RpmInstallieren . 
+
+------------------------------
+Original file content:
+
+
 Short instructions:
 
 > I've never built an rpm; given a spec file, how do I do this?
 > I understand the theory, just not clear on what to type up.
 
-You'll need to be root.  (It is possible to avoid this requirement,
-but I haven't done the work to the RPM.)
+You'll need to be root in many distributions.  (It is possible to
+avoid this requirement, but I haven't done the work to the RPM.) 
+However, in some distributions (e.g. SuSE) these instructions will
+work even as a normal user.
 
 cd /usr/src/redhat/SOURCES
 tar -zxvf xacc-1.x.tar.gz


More information about the gnucash-changes mailing list