new spec file

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2038 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2000-02-28 06:11:54 +00:00
parent f594de0657
commit 011b54d5ed

View File

@ -1,34 +1,35 @@
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: 1.1.21 Version: 1.3.0
Release: 4 Release: 1
Copyright: Free Software Foundation Copyright: Free Software Foundation
Group: Applications/Finance Group: Applications/Finance
Source: ftp://ftp.gnucash.org/pub/gnucash/gnucash-1.1.21.tar.gz Source: http://www.gnucash.org/pub/gnucash/sources/stable/gnucash-%{PACKAGE_VERSION}.tar.gz
Packager: Eugene Kanter (eugene@bgs.com) Packager: Dave Peticolas <peticola@cs.ucdavis.edu>
BuildRoot: /var/tmp/gnucash-%version
BuildRoot: /tmp/gnucash-%version
%description %description
GnuCash is a personal finance manager. A check-book like GnuCash is a personal finance manager. A check-book like
register GUI allows you to enter and track bank accounts, register GUI allows you to enter and track bank accounts,
stocks, income and even currency trades. The interface is stocks, income and even currency trades. The interface is
designed to be simple and easy to use, but is backed with designed to be simple and easy to use, but is backed with
double-entry accounting principles to ensure balanced books. double-entry accounting principles to ensure balanced books.
%prep %prep
%setup %setup -q
%build %build
X_LIBS=-lXp ./configure --prefix=/usr --sysconfdir=/etc ./configure --prefix=/usr --sysconfdir=/etc
make motif make gnome
%install %install
make prefix=$RPM_BUILD_ROOT/usr sysconfdir=$RPM_BUILD_ROOT/etc GNC_CONFIGDIR=$RPM_BUILD_ROOT/etc/gnucash install rm -rf $RPM_BUILD_ROOT
#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 make prefix=$RPM_BUILD_ROOT/usr sysconfdir=$RPM_BUILD_ROOT/etc install
#rm -rf $RPM_BUILD_ROOT/usr/doc/gnucash
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -36,10 +37,10 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(444,root,root,755) %defattr(444,root,root,755)
%attr(555,-,-) /usr/bin/gnucash.motif %attr(555,-,-) /usr/bin/gnucash.gnome
/usr/bin/gnucash /usr/bin/gnucash
/usr/doc/gnucash /usr/bin/gnc-prices
/etc /usr/lib/gnucash
/usr/share/gnucash /usr/share/gnucash
/usr/share/gnome/apps/Applications/gnucash.desktop
%doc README CHANGES TODO %doc /usr/doc/gnucash