mirror of https://github.com/Gnucash/gnucash
on Postgres however it will build two RPMS: gnucash and gnucash-postgres. The former does NOT depend on postgres and should be installable on systems without it * src/optional/Makefile.am: backport a change to allow 'make dist" to work * src/optional/swig/makefile.am: don't require swig for "make dist" git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/1.6@7190 57a11ea4-9604-0410-9ed3-97b8803252fdzzzoldreleases/1.6
parent
a6aae44d5e
commit
0f40a963e8
@ -1,79 +0,0 @@
|
||||
Name: gnucash
|
||||
Summary: GnuCash is an application to keep track of your finances.
|
||||
Version: @-VERSION-@
|
||||
Release: 1
|
||||
Copyright: Free Software Foundation
|
||||
Group: Applications/Productivity
|
||||
Source: http://www.gnucash.org/pub/gnucash/sources/stable/gnucash-%{PACKAGE_VERSION}.tar.gz
|
||||
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.1.11, umb-scheme >= 3.2, gal >= 0.8
|
||||
BuildPrereq: g-wrap-devel >= 1.1.11, gtkhtml-devel >= 0.8,
|
||||
BuildPrereq: Guppi-devel, postgresql-devel, gal-devel, libxml-devel
|
||||
BuildPrereq: libglade-devel, libghttp-devel, python-devel, libtermcap-devel
|
||||
BuildPrereq: readline-devel
|
||||
Prereq: /sbin/ldconfig /sbin/install-info
|
||||
|
||||
%description
|
||||
GnuCash is a personal finance manager. A check-book like
|
||||
register GUI allows you to enter and track bank accounts,
|
||||
stocks, income and even currency trades. The interface is
|
||||
designed to be simple and easy to use, but is backed with
|
||||
double-entry accounting principles to ensure balanced books.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
autoconf
|
||||
./configure --enable-sql --prefix=%{_prefix} --sysconfdir=%{_sysconfdir} \
|
||||
--infodir=%{_infodir} --mandir=%{_mandir}
|
||||
make || :
|
||||
cd src/engine
|
||||
make libgncengine.la
|
||||
cd ../..
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make prefix=$RPM_BUILD_ROOT/%{_prefix} sysconfdir=$RPM_BUILD_ROOT/%{_sysconfdir} \
|
||||
infodir=$RPM_BUILD_ROOT/%{_infodir} mandir=$RPM_BUILD_ROOT/%{_mandir} install
|
||||
%find_lang %name
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
/sbin/install-info %{_infodir}/gnucash-design.info.gz %{_infodir}/dir
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/gnucash-design.info.gz
|
||||
%{_infodir}/dir
|
||||
fi
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(444,root,root,755)
|
||||
%attr(555,root,root) %{_bindir}/*
|
||||
%attr(555,root,root) %{_datadir}/gnucash/finance-quote-helper
|
||||
%{_mandir}/man*/*
|
||||
%{_infodir}/*.gz
|
||||
%{_libdir}/*
|
||||
%dir %{_datadir}/gnucash
|
||||
%{_datadir}/gnucash/accounts
|
||||
%{_datadir}/gnucash/doc
|
||||
%{_datadir}/gnucash/guile-modules
|
||||
%{_datadir}/gnucash/html
|
||||
%{_datadir}/gnucash/scm
|
||||
%{_datadir}/gnome/help/gnucash
|
||||
%{_datadir}/gnome/apps/Applications/*
|
||||
%{_datadir}/pixmaps/gnucash
|
||||
%{_datadir}/mime-info/gnucash.*
|
||||
%config %{_sysconfdir}/gnucash
|
||||
%doc AUTHORS COPYING ChangeLog ChangeLog.1 HACKING NEWS README README.patches
|
||||
%doc doc/README.german doc/README.francais doc/guile-hackers.txt
|
||||
Loading…
Reference in new issue