diff --git a/rpm/gnucash.spec b/rpm/gnucash.spec new file mode 100644 index 0000000000..8112095a7b --- /dev/null +++ b/rpm/gnucash.spec @@ -0,0 +1,47 @@ +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 an application to keep track of your finances. It is similar in +concept to Quicken(TM). Although GnuCash still lacks the advanced +features of Quicken, it does have the basic functionality. + + +%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