mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
now works building 1.7.x
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7419 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
e47ebf50d4
commit
b3ee152e2a
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
* NEWS: update for new release
|
* NEWS: update for new release
|
||||||
* configure.in: update to new version 1.7.2
|
* configure.in: update to new version 1.7.2
|
||||||
|
* rpm/gnucash.spec.in: now works building 1.7.x
|
||||||
|
|
||||||
2002-10-28 Chris Lyttle <chris@wilddev.net>
|
2002-10-28 Chris Lyttle <chris@wilddev.net>
|
||||||
|
|
||||||
|
@ -9,16 +9,17 @@
|
|||||||
%define _with_postgres 0
|
%define _with_postgres 0
|
||||||
%define sql_config --disable-sql
|
%define sql_config --disable-sql
|
||||||
%endif
|
%endif
|
||||||
|
%define version @VERSION@
|
||||||
|
|
||||||
Name: gnucash
|
Name: gnucash
|
||||||
Summary: GnuCash is an application to keep track of your finances.
|
Summary: GnuCash is an application to keep track of your finances.
|
||||||
Version: @-VERSION-@
|
Version: %{version}
|
||||||
Release: 1
|
Release: 1
|
||||||
Copyright: Free Software Foundation
|
Copyright: Free Software Foundation
|
||||||
Group: Applications/Finance
|
Group: Applications/Finance
|
||||||
URL: http://www.gnucash.org
|
URL: http://www.gnucash.org
|
||||||
Source: http://www.gnucash.org/pub/gnucash/sources/stable/gnucash-%{PACKAGE_VERSION}.tar.gz
|
Source: http://www.gnucash.org/pub/gnucash/sources/stable/gnucash-%{version}.tar.gz
|
||||||
BuildRoot: /var/tmp/gnucash-%version
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
Requires: gnome-libs >= 1.2.0, gdk-pixbuf >= 0.2.5, gnome-print >= 0.21
|
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: guile >= 1.3.4, gtkhtml >= 0.8, Guppi >= 0.35.3
|
||||||
Requires: g-wrap >= 1.3.2, umb-scheme >= 3.2, gal >= 0.8
|
Requires: g-wrap >= 1.3.2, umb-scheme >= 3.2, gal >= 0.8
|
||||||
@ -40,7 +41,7 @@ double-entry accounting principles to ensure balanced books.
|
|||||||
%package backend-postgres
|
%package backend-postgres
|
||||||
Summary: Backend for storing GnuCash data in a PostgreSQL database.
|
Summary: Backend for storing GnuCash data in a PostgreSQL database.
|
||||||
Group: Applications/Finance
|
Group: Applications/Finance
|
||||||
Requires: gnucash = %{PACKAGE_VERSION}
|
Requires: gnucash = %{version}
|
||||||
Requires: postgres >= 7.1.3
|
Requires: postgres >= 7.1.3
|
||||||
|
|
||||||
%description backend-postgres
|
%description backend-postgres
|
||||||
@ -55,7 +56,7 @@ want to keep your financial data in a database instead of a flat file
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Header files for GnuCash development.
|
Summary: Header files for GnuCash development.
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: gnucash = %{PACKAGE_VERSION}
|
Requires: gnucash = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains header files for GnuCash development.
|
This package contains header files for GnuCash development.
|
||||||
@ -66,12 +67,24 @@ in C programs.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure %{sql_config}
|
autoconf
|
||||||
make
|
|
||||||
|
./configure --prefix=%{_prefix} --infodir=%{_infodir} \
|
||||||
|
--libdir=%{_libdir} --datadir=%{_datadir} \
|
||||||
|
--includedir=%{_includedir} %{sql_config}
|
||||||
|
|
||||||
|
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
|
||||||
|
|
||||||
cp -p src/backend/postgres/README README.postgres
|
cp -p src/backend/postgres/README README.postgres
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} make prefix=$RPM_BUILD_ROOT%{_prefix} \
|
||||||
|
libdir=$RPM_BUILD_ROOT%{_libdir} \
|
||||||
|
datadir=$RPM_BUILD_ROOT%{_datadir} \
|
||||||
|
includedir=$RPM_BUILD_ROOT%{_includedir} install
|
||||||
|
|
||||||
%{makeinstall}
|
%{makeinstall}
|
||||||
%find_lang %name
|
%find_lang %name
|
||||||
|
|
||||||
@ -107,7 +120,6 @@ fi
|
|||||||
%{_datadir}/gnucash/doc
|
%{_datadir}/gnucash/doc
|
||||||
%{_datadir}/gnucash/glade
|
%{_datadir}/gnucash/glade
|
||||||
%{_datadir}/gnucash/guile-modules
|
%{_datadir}/gnucash/guile-modules
|
||||||
%{_datadir}/gnucash/html
|
|
||||||
%{_datadir}/gnucash/scm
|
%{_datadir}/gnucash/scm
|
||||||
%{_datadir}/gnome/help/gnucash
|
%{_datadir}/gnome/help/gnucash
|
||||||
%{_datadir}/gnome/apps/Applications/*
|
%{_datadir}/gnome/apps/Applications/*
|
||||||
|
Loading…
Reference in New Issue
Block a user