0dcea38
Name:           homebank
965f652
Version:        5.7.4
32ee4a7
Release:        %{autorelease}
0dcea38
Summary:        Free easy personal accounting for all  
0dcea38
0dcea38
License:        GPLv2+
0dcea38
URL:            http://homebank.free.fr
0dcea38
Source0:        http://homebank.free.fr/public/%{name}-%{version}.tar.gz
e9201df
BuildRequires:  gcc
e404449
BuildRequires:  atk-devel cairo-devel desktop-file-utils gettext gtk3-devel
e404449
BuildRequires:  intltool libappstream-glib libofx-devel perl(XML::Parser)
965f652
BuildRequires:  libsoup3-devel
32c2e1a
BuildRequires:  make
0dcea38
0dcea38
%description
0dcea38
HomeBank is the free software you have always wanted to manage your personal
0dcea38
accounts at home. The main concept is to be light, simple and very easy to use.
0dcea38
It brings you many features that allows you to analyze your finances in a
0dcea38
detailed way instantly and dynamically with powerful report tools based on
0dcea38
filtering and graphical charts.
0dcea38
0dcea38
%package doc
0dcea38
Summary: Documentation files for homebank
cd902d9
BuildArch: noarch
0dcea38
Requires: %{name} = %{version}-%{release}
0dcea38
%description doc
0dcea38
Documentation files for homebank
0dcea38
0dcea38
0dcea38
%prep
e9201df
%autosetup
d0c5bea
chmod -x NEWS
d0c5bea
chmod -x ChangeLog
d0c5bea
chmod -x README
d0c5bea
chmod -x AUTHORS
d0c5bea
chmod -x COPYING
d0c5bea
chmod -x doc/TODO
d0c5bea
chmod -x src/*.*
0dcea38
0dcea38
%build
0dcea38
%configure
e9201df
%make_build
0dcea38
0dcea38
%install
63c95cb
make install DESTDIR=%{buildroot} INSTALL='install -p'
63c95cb
mkdir -p %{buildroot}%{_datadir}/pixmaps
63c95cb
mkdir -p %{buildroot}%{_datadir}/applications
0dcea38
desktop-file-install                                    \
0dcea38
        --delete-original                               \
63c95cb
        --dir %{buildroot}%{_datadir}/applications   \
0dcea38
        --mode 0644                                     \
63c95cb
        %{buildroot}%{_datadir}/applications/%{name}.desktop
e642ef6
0dcea38
%find_lang %{name}
e642ef6
e642ef6
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/%{name}.appdata.xml
0dcea38
036683e
%ldconfig_scriptlets
0dcea38
0dcea38
%files -f %{name}.lang
e9201df
%doc AUTHORS ChangeLog NEWS README
e9201df
%license COPYING
0dcea38
%{_bindir}/%{name}
0dcea38
%dir %{_datadir}/%{name}/
0dcea38
%{_datadir}/%{name}/images
42ec3e6
%{_datadir}/%{name}/icons
41974ff
%{_datadir}/%{name}/datas
0dcea38
%{_datadir}/applications/*%{name}.desktop
ef5c2c0
%{_datadir}/icons/hicolor/*/apps/%{name}.png
0dcea38
%{_datadir}/mime-info/%{name}.*
0dcea38
%{_datadir}/mime/packages/%{name}.xml
0dcea38
%{_datadir}/application-registry/%{name}.applications
e642ef6
%{_datadir}/metainfo/%{name}.appdata.xml
0dcea38
0dcea38
%files doc
0dcea38
%doc doc/TODO
0dcea38
%{_datadir}/%{name}/help
0dcea38
0dcea38
%changelog
32ee4a7
%autochangelog