gnucash/gnucash.spec

317 lines
11 KiB
RPMSpec
Raw Normal View History

### AUTOUPDATE-OFF: 2
Name: gnucash
Version: 4.6
Release: 1mamba
Summary: A personal and small business finance application
Group: Graphical Desktop/Applications/Office
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.gnucash.org
Source: http://downloads.sourceforge.net/project/gnucash/gnucash%20%28stable%29/%{version}/gnucash-%{version}.tar.bz2
Source1: gnucash-desktop
Patch0: gnucash-2.11-guile-2.0.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libaqbanking-devel
BuildRequires: libatk-devel
BuildRequires: libboost-devel
BuildRequires: libcairo-devel
BuildRequires: libdbi-devel
BuildRequires: libgc-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk3-devel
BuildRequires: libguile-devel
BuildRequires: libgwenhywfar-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libicu-devel
BuildRequires: liblzma-devel
BuildRequires: libofx-devel
BuildRequires: libpango-devel
BuildRequires: libsecret-devel
BuildRequires: libsoup-devel
BuildRequires: libstdc++6-devel
BuildRequires: libwebkit2gtk-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: libz-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: libofx-devel >= 0.9.9-1mamba
BuildRequires: libdbi-drivers-sqlite
BuildRequires: libdbi-drivers-mysql
BuildRequires: libdbi-drivers-pgsql
BuildRequires: slib >= 3b4-3mamba
BuildRequires: libguile1-devel
BuildRequires: gwenhywfar-devel
BuildRequires: libaqbanking-devel
Requires(post):%{__install_info}
%description
A personal and small business finance application. It is designed to be easy to use, yet powerful and flexible.
GnuCash allows you to track your income and expenses, reconcile bank accounts, monitor stock portfolios and manage your small business finances.
It is based on professional accounting principles to ensure balanced books and accurate reports.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
software for manage your personal or business finances
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q
#%patch0 -p1
%build
#sed -i "s|\"guile-config\"|\"guile-config1\"|" configure
#% configure \
# --disable-error-on-warning \
# GUILE=guile1
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall -C build
%{find_lang} %{name}
#install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/gnucash.desktop
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post
if [ $1 -ge 1 ]; then
# install gconf schema files
for ff in %{_sysconfdir}/gconf/schemas/*gnucash* ; do
gconftool-2 --config-source=xml::%{_sysconfdir}/gconf/gconf.xml.defaults \
--install-schema-file $ff &>/dev/null
done
fi
exit 0
%post devel
%install_info %{name}-design.info
%preun devel
%uninstall_info %{name}-design.info
%files -f %{name}.lang
%defattr(-,root,root)
#%config(noreplace) %{_sysconfdir}/gnucash/config
%config(noreplace) %{_sysconfdir}/gnucash/environment
%{_bindir}/gnc-fq-check
%{_bindir}/gnc-fq-dump
%{_bindir}/gnc-fq-helper
%{_bindir}/gnc-fq-update
%{_bindir}/gnucash
%{_bindir}/gnucash-cli
%{_bindir}/gnucash-valgrind
%dir %{_libdir}/gnucash
%{_libdir}/gnucash/*
#%{_libdir}/*.so.*
%{_libdir}/*.so
#%dir %{_libexecdir}/gnucash
#%{_libexecdir}/gnucash/*
%dir %{_datadir}/gnucash
%{_datadir}/gnucash/*
%{_datadir}/glib-2.0/schemas/org.gnucash.*gschema.xml
%{_datadir}/glib-2.0/schemas/gschemas.compiled
%dir %{_libdir}/guile/3.0/site-ccache/gnucash
%{_libdir}/guile/3.0/site-ccache/gnucash/*
#%{_libdir}/guile/3.0/site-ccache/tests/*
%dir %{_datadir}/guile/site/3.0/gnucash
%{_datadir}/guile/site/3.0/gnucash/*
#%{_datadir}/guile/site/3.0/tests/*
%{_datadir}/applications/gnucash.desktop
%{_datadir}/metainfo/gnucash.appdata.xml
%{_datadir}/icons/hicolor/*/apps/gnucash-icon.png
%{_datadir}/icons/hicolor/scalable/apps/gnucash-icon.svg
%dir %dir %{_docdir}/gnucash
%{_docdir}/gnucash/*
%{_mandir}/man1/*
%doc AUTHORS LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/gnucash
%{_includedir}/gnucash/*
#%doc ChangeLog INSTALL NEWS README TODO
%changelog
* Wed Jul 21 2021 Automatic Build System <autodist@mambasoft.it> 4.6-1mamba
- automatic version update by autodist
* Sun Mar 28 2021 Automatic Build System <autodist@mambasoft.it> 4.5-1mamba
- automatic version update by autodist
* Sat Jan 16 2021 Automatic Build System <autodist@mambasoft.it> 4.4-1mamba
- automatic version update by autodist
* Wed Sep 30 2020 Automatic Build System <autodist@mambasoft.it> 4.2-1mamba
- automatic version update by autodist
* Mon Sep 07 2020 Automatic Build System <autodist@mambasoft.it> 4.1-1mamba
- automatic version update by autodist
* Wed Jun 29 2016 Automatic Build System <autodist@mambasoft.it> 2.6.13-1mamba
- automatic version update by autodist
* Wed Mar 30 2016 Automatic Build System <autodist@mambasoft.it> 2.6.12-1mamba
- automatic version update by autodist
* Tue Jan 12 2016 Automatic Build System <autodist@mambasoft.it> 2.6.11-1mamba
- automatic version update by autodist
* Mon Dec 21 2015 Automatic Build System <autodist@mambasoft.it> 2.6.10-1mamba
- automatic version update by autodist
* Wed Oct 07 2015 Automatic Build System <autodist@mambasoft.it> 2.6.9-1mamba
- automatic version update by autodist
* Mon Sep 28 2015 Automatic Build System <autodist@mambasoft.it> 2.6.8-1mamba
- automatic version update by autodist
* Mon Jun 29 2015 Automatic Build System <autodist@mambasoft.it> 2.6.7-1mamba
- automatic version update by autodist
* Thu Apr 02 2015 Automatic Build System <autodist@mambasoft.it> 2.6.6-1mamba
- automatic version update by autodist
* Fri Dec 19 2014 Automatic Build System <autodist@mambasoft.it> 2.6.5-1mamba
- automatic version update by autodist
* Sun Sep 28 2014 Automatic Build System <autodist@mambasoft.it> 2.6.4-1mamba
- automatic version update by autodist
* Tue Jul 08 2014 Automatic Build System <autodist@mambasoft.it> 2.6.3-2mamba
- rebuilt by autoport with build requirements: libofx-devel>=0.9.9-1mamba
* Sun Mar 30 2014 Automatic Build System <autodist@mambasoft.it> 2.6.3-1mamba
- automatic version update by autodist
* Mon Mar 03 2014 Automatic Build System <autodist@mambasoft.it> 2.6.2-1mamba
- automatic version update by autodist
* Sun Jan 26 2014 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
- automatic version update by autodist
* Sun Jan 19 2014 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
- automatic version update by autodist
* Wed Oct 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.13-2mamba
- rebuilt against libguile1 until someone can make it work with guile 2
* Mon Apr 22 2013 Automatic Build System <autodist@mambasoft.it> 2.4.13-1mamba
- update to 2.4.13
* Sun Mar 31 2013 Automatic Build System <autodist@mambasoft.it> 2.4.12-1mamba
- automatic version update by autodist
* Mon Dec 10 2012 Automatic Build System <autodist@mambasoft.it> 2.4.11-3mamba
- rebuilt with libofx 0.9.5
* Sat Aug 04 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.11-2mamba
- added a patch to work with guile 2.0
* Sat Aug 04 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.11-1mamba
- update to 2.4.11
* Mon Jul 09 2012 Automatic Build System <autodist@mambasoft.it> 2.4.10-1mamba
- automatic version update by autodist
* Wed Jan 25 2012 Automatic Build System <autodist@mambasoft.it> 2.4.9-1mamba
- automatic version update by autodist
* Fri Oct 21 2011 Automatic Build System <autodist@mambasoft.it> 2.4.8-1mamba
- automatic version update by autodist
* Sun Jul 03 2011 Automatic Build System <autodist@mambasoft.it> 2.4.7-1mamba
- automatic update by autodist
* Sat May 28 2011 Automatic Build System <autodist@mambasoft.it> 2.4.6-1mamba
- automatic update by autodist
* Mon Apr 11 2011 Automatic Build System <autodist@mambasoft.it> 2.4.5-1mamba
- automatic update by autodist
* Tue Mar 15 2011 Automatic Build System <autodist@mambasoft.it> 2.4.4-1mamba
- automatic update by autodist
* Mon Feb 28 2011 Automatic Build System <autodist@mambasoft.it> 2.4.3-1mamba
- automatic update by autodist
* Sat Feb 12 2011 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
- automatic update by autodist
* Fri Dec 31 2010 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
- automatic update by autodist
* Thu Jul 15 2010 Automatic Build System <autodist@mambasoft.it> 2.3.4-2mamba
- automatic rebuild by autodist
* Wed Aug 19 2009 Automatic Build System <autodist@mambasoft.it> 2.3.4-1mamba
- automatic update by autodist
* Tue Jul 14 2009 Automatic Build System <autodist@mambasoft.it> 2.3.2-1mamba
- automatic update by autodist
* Mon May 18 2009 Automatic Build System <autodist@mambasoft.it> 2.2.9-2mamba
- automatic rebuild by autodist
* Tue Feb 24 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.9-1mamba
- automatic update to 2.2.9 by autodist
* Sun Dec 14 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.8-1mamba
- automatic update to 2.2.8 by autodist
* Fri Oct 31 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.7-2mamba
- automatic rebuild by autodist
* Sat Sep 27 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.7-1mamba
- automatic update to 2.2.7 by autodist
* Sun Aug 31 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.6-1mamba
- update to 2.2.6
* Mon Apr 28 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.5-1mamba
- update to 2.2.5
* Wed Dec 19 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.2-1mamba
- update to 2.2.2
* Tue Nov 06 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-4mamba
- fixed a redirection error in post script
* Tue Nov 06 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-3mamba
- override installed desktop file to fix icon and support GenericName
* Tue Nov 06 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-2mamba
- install gconf schemas in post script
* Sun Sep 16 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-1mamba
- update to 2.2.1
* Wed May 24 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.12-1qilnx
- update to version 1.8.12 by autospec
* Thu May 12 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.11-2qilnx
- fixed info script installation error, moved gnucash-design.info to devel
- fixed menu entry
* Wed May 11 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.11-1qilnx
- update to version 1.8.11 by autospec
* Tue Dec 14 2004 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.8.10-1qilnx
- package created by autospec