gnucash/gnucash.spec

303 lines
9.8 KiB
RPMSpec

Name: gnucash
Version: 2.6.3
Release: 2mamba
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: http://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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
## AUTOBUILDREQ-BEGIN
BuildRequires: GConf-devel
BuildRequires: glibc-devel
BuildRequires: libart_lgpl-devel
BuildRequires: libatk-devel
BuildRequires: libbonobo-devel
BuildRequires: libbonoboui-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libdbi-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libelf-devel
BuildRequires: libenchant-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgc-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglade-devel
BuildRequires: libGL-devel
BuildRequires: libglib-devel
BuildRequires: libgnomecanvas-devel
BuildRequires: libgnome-devel
BuildRequires: libgnome-keyring-devel
BuildRequires: libgnomeui-devel
BuildRequires: libgnome-vfs-devel
BuildRequires: libgoffice-devel
BuildRequires: libgsf-devel
BuildRequires: libgtk2-devel
BuildRequires: libgtkhtml3-devel
BuildRequires: libguile1-devel
BuildRequires: libICE-devel
BuildRequires: libofx-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpixman-devel
BuildRequires: libpng14-devel
BuildRequires: libpopt-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libselinux-devel
BuildRequires: libSM-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libXdmcp-devel
BuildRequires: libxml2-devel
BuildRequires: libXrender-devel
BuildRequires: libz-devel
BuildRequires: ORBit2-devel
BuildRequires: perl-Date-Manip
BuildRequires: perl-devel
BuildRequires: udev-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
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.
%prep
%setup -q
#%patch0 -p1
%build
sed -i "s|\"guile-config\"|\"guile-config1\"|" configure
%configure \
--disable-error-on-warning \
GUILE=guile1
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
%{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
#%{_sysconfdir}/gconf/schemas/apps_gnucash*.schemas
#%{_sysconfdir}/gconf/gconf.xml.defaults/*
%{_bindir}/gnc-fq-check
%{_bindir}/gnc-fq-dump
%{_bindir}/gnc-fq-helper
%{_bindir}/gnc-fq-update
#%{_bindir}/gnc-test-env
%{_bindir}/gnucash
%{_bindir}/gnucash-env
#%{_bindir}/gnucash-gdb
%{_bindir}/gnucash-make-guids
#%{_bindir}/gnucash-bin
#%{_bindir}/gnucash-setup-env
%{_bindir}/gnucash-valgrind
#%{_bindir}/update-gnucash-gconf
%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}/xml/gnucash/xsl/README
#%{_datadir}/xml/gnucash/xsl/vcard-gnccustomer.pl
#%{_datadir}/xml/gnucash/xsl/*.xsl
%{_datadir}/appdata/gnucash.appdata.xml
%{_datadir}/applications/gnucash.desktop
%{_datadir}/icons/hicolor/*/apps/gnucash-icon.png
%{_datadir}/icons/hicolor/scalable/apps/gnucash-icon.svg
%dir %dir %{_docdir}/gnucash
%dir %{_docdir}/gnucash/*
%{_mandir}/man1/*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
#%{_bindir}/gnucash-config
%dir %{_includedir}/gnucash
%{_includedir}/gnucash/*
%{_libdir}/*.la
#%{_datadir}/aclocal/gnucash.m4
#%{_infodir}/*
%doc ChangeLog INSTALL NEWS README TODO
%changelog
* 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