7 |
%define libname %mklibname %{name} %{lib_major} |
%define libname %mklibname %{name} %{lib_major} |
8 |
%define libnamedev %mklibname %{name} -d |
%define libnamedev %mklibname %{name} -d |
9 |
|
|
10 |
%define doc_version 2.6.12 |
%define doc_version 2.6.13 |
11 |
|
|
12 |
Name: gnucash |
Name: gnucash |
13 |
Version: 2.6.12 |
Version: 2.6.13 |
14 |
Release: %mkrel 2 |
Release: %mkrel 1 |
15 |
Summary: Application to keep track of your finances |
Summary: Application to keep track of your finances |
16 |
License: GPLv2+ |
License: GPLv2+ |
17 |
Group: Office/Finance |
Group: Office/Finance |
58 |
Requires: yelp |
Requires: yelp |
59 |
Requires: dconf |
Requires: dconf |
60 |
Recommends: perl-Finance-Quote |
Recommends: perl-Finance-Quote |
|
# remove for mageia 3 |
|
|
Provides: gnucash-sql |
|
|
Obsoletes: gnucash-sql <= 2.2.9 |
|
61 |
|
|
62 |
%description |
%description |
63 |
GnuCash is a personal finance manager. A check-book like |
GnuCash is a personal finance manager. A check-book like |
96 |
Provides: %{name}-devel = %{version}-%{release} |
Provides: %{name}-devel = %{version}-%{release} |
97 |
Provides: lib%{name}-devel = %{version}-%{release} |
Provides: lib%{name}-devel = %{version}-%{release} |
98 |
Obsoletes: %{name}-devel < %{version}-%{release} |
Obsoletes: %{name}-devel < %{version}-%{release} |
|
Obsoletes: %{mklibname -d %name 0} |
|
|
Conflicts: %{mklibname gnucash 0} < 2.6.4-4 |
|
99 |
|
|
100 |
%description -n %{libnamedev} |
%description -n %{libnamedev} |
101 |
Libraries needed to develop for gnucash. |
Libraries needed to develop for gnucash. |
103 |
%package -n %{libname} |
%package -n %{libname} |
104 |
Summary: Libraries for gnucash |
Summary: Libraries for gnucash |
105 |
Group: System/Libraries |
Group: System/Libraries |
|
Conflicts: %{libnamedev} < 2.4.10-3 |
|
106 |
|
|
107 |
%description -n %{libname} |
%description -n %{libname} |
108 |
This package provides libraries to use gnucash. |
This package provides libraries to use gnucash. |
110 |
%package -n python-gnucash |
%package -n python-gnucash |
111 |
Summary: Python module for gnucash |
Summary: Python module for gnucash |
112 |
Group: System/Libraries |
Group: System/Libraries |
113 |
Requires: ipython |
Requires: pythonegg(2)(ipython) |
114 |
Requires: python-gtk |
Requires: pythonegg(2)(pygtk) |
115 |
Requires: python-matplotlib |
Requires: pythonegg(2)(matplotlib) |
116 |
|
|
117 |
%description -n python-gnucash |
%description -n python-gnucash |
118 |
This package provides python bindings to interact with gnucash. |
This package provides python bindings to interact with gnucash. |
126 |
--disable-dependency-tracking \ |
--disable-dependency-tracking \ |
127 |
--enable-aqbanking \ |
--enable-aqbanking \ |
128 |
--enable-python |
--enable-python |
129 |
%make |
%make_build |
130 |
|
|
131 |
pushd gnucash-docs-%{doc_version} |
pushd gnucash-docs-%{doc_version} |
132 |
%configure2_5x --localstatedir=/var/lib |
%configure2_5x --localstatedir=/var/lib |
163 |
%{_datadir}/applications/%{name}.desktop |
%{_datadir}/applications/%{name}.desktop |
164 |
%dir %{_libdir}/gnucash |
%dir %{_libdir}/gnucash |
165 |
%{_libdir}/gnucash/*.so* |
%{_libdir}/gnucash/*.so* |
166 |
%{_libdir}/gnucash/scm/ccache/2.0/* |
%dir %{_libdir}/gnucash/scm |
167 |
|
%{_libdir}/gnucash/scm/ccache/ |
168 |
%{_libexecdir}/gnucash/overrides |
%{_libexecdir}/gnucash/overrides |
169 |
%{_datadir}/glib-2.0/schemas/org.gnucash.dialogs.business.gschema.xml |
%{_datadir}/glib-2.0/schemas/org.gnucash.dialogs.business.gschema.xml |
170 |
%{_datadir}/glib-2.0/schemas/org.gnucash.dialogs.checkprinting.gschema.xml |
%{_datadir}/glib-2.0/schemas/org.gnucash.dialogs.checkprinting.gschema.xml |
199 |
%{_mandir}/*/* |
%{_mandir}/*/* |
200 |
%doc %{_datadir}/gnome/help/gnucash-guide |
%doc %{_datadir}/gnome/help/gnucash-guide |
201 |
%doc %{_datadir}/gnome/help/gnucash-help |
%doc %{_datadir}/gnome/help/gnucash-help |
202 |
%doc AUTHORS COPYING HACKING NEWS README* |
%doc %{_datadir}/doc/%{name}/ |
|
%doc doc/README.german doc/README.francais doc/guile-hackers.txt |
|
|
%doc %{_datadir}/doc/%{name}/* |
|
203 |
%exclude %{_libdir}/gnucash/libgncmod-ofx* |
%exclude %{_libdir}/gnucash/libgncmod-ofx* |
204 |
%exclude %{_libdir}/gnucash/libgncmod-aqbanking* |
%exclude %{_libdir}/gnucash/libgncmod-aqbanking* |
205 |
%exclude %{_datadir}/gnucash/ui/gnc-plugin-aqbanking-ui.xml |
%exclude %{_datadir}/gnucash/ui/gnc-plugin-aqbanking-ui.xml |