Summary: Home finances modeling program Name: expendable Version: 0.0.2 Release: 2 License: GPLv2+ Group: Applications/System URL: https://fedorahosted.org/expendable/ # Add "?format=raw" to the following URL to download file: Source0: https://fedorahosted.org/expendable/attachment/wiki/ProjectReleases/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python BuildRequires: desktop-file-utils >= 0.2.92 Requires: numpy %description This is a program for modelling home finances. In particular, it can be used to work how long it will take to pay back a mortgage if a linked "offset" facility is available. Offset accounts are like savings accounts, but instead of accruing interest they reduce the amount of interest charged for the mortgage by offsetting the loan amount. %prep %setup -q %build %configure make %check make check %install rm -rf %{buildroot} make DESTDIR=%{buildroot} install rm -f %{buildroot}%{_datadir}/applications/%{name}.desktop desktop-file-install \ --dir %{buildroot}%{_datadir}/applications \ --vendor fedora \ --add-category GTK \ --add-category Office \ --add-category Finance \ %{name}.desktop %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS README COPYING %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/applications/*.desktop %changelog * Sun Sep 28 2008 Tim Waugh 0.0.2-2 - Re-install desktop file with fedora as the vendor. * Fri Sep 26 2008 Tim Waugh 0.0.2-1 - Initial spec file.