mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
f594de0657
commit
011b54d5ed
@ -1,34 +1,35 @@
|
||||
Name: gnucash
|
||||
Summary: GnuCash is an application to keep track of your finances.
|
||||
Version: 1.1.21
|
||||
Release: 4
|
||||
Version: 1.3.0
|
||||
Release: 1
|
||||
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)
|
||||
Source: http://www.gnucash.org/pub/gnucash/sources/stable/gnucash-%{PACKAGE_VERSION}.tar.gz
|
||||
Packager: Dave Peticolas <peticola@cs.ucdavis.edu>
|
||||
BuildRoot: /var/tmp/gnucash-%version
|
||||
|
||||
BuildRoot: /tmp/gnucash-%version
|
||||
|
||||
%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,
|
||||
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
|
||||
double-entry accounting principles to ensure balanced books.
|
||||
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
X_LIBS=-lXp ./configure --prefix=/usr --sysconfdir=/etc
|
||||
make motif
|
||||
./configure --prefix=/usr --sysconfdir=/etc
|
||||
make gnome
|
||||
|
||||
|
||||
%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
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make prefix=$RPM_BUILD_ROOT/usr sysconfdir=$RPM_BUILD_ROOT/etc install
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -36,10 +37,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(444,root,root,755)
|
||||
%attr(555,-,-) /usr/bin/gnucash.motif
|
||||
%attr(555,-,-) /usr/bin/gnucash.gnome
|
||||
/usr/bin/gnucash
|
||||
/usr/doc/gnucash
|
||||
/etc
|
||||
/usr/bin/gnc-prices
|
||||
/usr/lib/gnucash
|
||||
/usr/share/gnucash
|
||||
|
||||
%doc README CHANGES TODO
|
||||
/usr/share/gnome/apps/Applications/gnucash.desktop
|
||||
%doc /usr/doc/gnucash
|
||||
|
Loading…
Reference in New Issue
Block a user