mirror of https://github.com/Gnucash/gnucash
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1371 57a11ea4-9604-0410-9ed3-97b8803252fdzzzoldfeatures/xacc-12-patch
parent
24cf8f5142
commit
989159b894
@ -1,49 +1,45 @@
|
||||
Name: gnucash
|
||||
Summary: GnuCash is an application to keep track of your finances.
|
||||
Version: 1.1.20
|
||||
Release: 1
|
||||
Copyright: Free Software Foundation
|
||||
Group: Applications/Finance
|
||||
Source: ftp://ftp.gnucash.org/pub/gnucash/gnucash-1.1.20.tar.gz
|
||||
Patch0: configure.in.patch
|
||||
Packager: Eugene Kanter (eugene@bgs.com)
|
||||
|
||||
BuildRoot: /tmp/gnucash-build
|
||||
|
||||
|
||||
%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
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
mkdir -p share
|
||||
autoconf
|
||||
X_LIBS=-lXp ./configure --prefix=/usr
|
||||
make motif
|
||||
|
||||
|
||||
%install
|
||||
make prefix=$RPM_BUILD_ROOT/usr install
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(444,root,root,755)
|
||||
%attr(555,-,-) /usr/bin/gnucash.motif
|
||||
/usr/bin/gnucash
|
||||
/usr/doc/gnucash
|
||||
/usr/etc
|
||||
/usr/share/gnucash
|
||||
|
||||
%doc README CHANGES TODO
|
||||
Name: gnucash
|
||||
Summary: GnuCash is an application to keep track of your finances.
|
||||
Version: 1.1.21
|
||||
Release: 4
|
||||
Copyright: Free Software Foundation
|
||||
Group: Applications/Finance
|
||||
Source: ftp://ftp.gnucash.org/pub/gnucash/gnucash-1.1.21.tar.gz
|
||||
Packager: Eugene Kanter (eugene@bgs.com)
|
||||
|
||||
BuildRoot: /tmp/gnucash-%version
|
||||
|
||||
%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
|
||||
|
||||
%build
|
||||
X_LIBS=-lXp ./configure --prefix=/usr --sysconfdir=/etc
|
||||
make motif
|
||||
|
||||
|
||||
%install
|
||||
make prefix=$RPM_BUILD_ROOT/usr sysconfdir=$RPM_BUILD_ROOT/etc GNC_CONFIGDIR=$RPM_BUILD_ROOT/etc/gnucash install
|
||||
#make prefix=$RPM_BUILD_ROOT/usr sysconfdir=$RPM_BUILD_ROOT/etc GNC_BINDIR=$RPM_BUILD_ROOT/usr/bin GNC_CONFIGDIR=$RPM_BUILD_ROOT/etc/gnucash GNC_DOCDIR=$RPM_BUILD_ROOT/usr/doc/gnucash install
|
||||
#rm -rf $RPM_BUILD_ROOT/usr/doc/gnucash
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(444,root,root,755)
|
||||
%attr(555,-,-) /usr/bin/gnucash.motif
|
||||
/usr/bin/gnucash
|
||||
/usr/doc/gnucash
|
||||
/etc
|
||||
/usr/share/gnucash
|
||||
|
||||
%doc README CHANGES TODO
|
||||
|
||||
Loading…
Reference in new issue