/[packages]/cauldron/gnucash/current/SPECS/gnucash.spec
ViewVC logotype

Contents of /cauldron/gnucash/current/SPECS/gnucash.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 864206 - (show annotations) (download)
Thu Aug 13 09:12:22 2015 UTC (9 years, 2 months ago) by fwang
File size: 7415 byte(s)
2.6.7
1 %define _disable_ld_no_undefined 1
2 # fwang: we need to push *.so into main package, because they will be dlopened at runtime, see mga#4882 & mga#14996
3 %global __requires_exclude devel\\(lib(gnc|cairo|gdk|glib|gmodule|gobject|gtk|guile|m|pango|xml2|z)(.*)\\)|libgncmod-
4 %global __provides_exclude devel\\(libgnc(.*)\\)
5
6 %define lib_major 0
7 %define libname %mklibname %{name} %{lib_major}
8 %define libnamedev %mklibname -d %{name}
9
10 %define doc_version 2.6.7
11 Name: gnucash
12 Summary: Application to keep track of your finances
13 Version: 2.6.7
14 Release: %mkrel 1
15 License: GPLv2+
16 Group: Office/Finance
17 Source0: http://downloads.sourceforge.net/gnucash/%{name}-%{version}.tar.bz2
18 Source1: http://downloads.sourceforge.net/gnucash/%{name}-docs-%{doc_version}.tar.gz
19 Source5: engine-common.i
20 URL: http://www.gnucash.org/
21 Requires: guile
22 Requires: guile-runtime
23 Requires: slib
24 Requires: yelp
25 Requires: dconf
26 Recommends: perl-Finance-Quote
27 # remove for mageia 3
28 Provides: gnucash-sql
29 Obsoletes: gnucash-sql <= 2.2.9
30 BuildRequires: pkgconfig(aqbanking) >= 4.0.0
31 BuildRequires: pkgconfig(gdk-pixbuf-2.0)
32 BuildRequires: pkgconfig(glib-2.0) >= 2.28.0
33 BuildRequires: pkgconfig(gmodule-2.0)
34 BuildRequires: pkgconfig(gnome-keyring-1) >= 0.6
35 BuildRequires: pkgconfig(gobject-2.0)
36 BuildRequires: pkgconfig(gthread-2.0)
37 BuildRequires: pkgconfig(gtk+-2.0) >= 2.24.0
38 BuildRequires: pkgconfig(gtkmm-2.4) >= 2.24
39 BuildRequires: pkgconfig(guile-2.0) >= 2.0.0
40 BuildRequires: pkgconfig(gwengui-gtk2)
41 BuildRequires: pkgconfig(gwenhywfar)
42 BuildRequires: pkgconfig(libgnomecanvas-2.0)
43 BuildRequires: pkgconfig(libgoffice-0.8) >= 0.7.0
44 BuildRequires: pkgconfig(libofx)
45 BuildRequires: pkgconfig(libxml-2.0) >= 2.5.10
46 BuildRequires: pkgconfig(webkit-1.0) >= 1.0
47 BuildRequires: guile
48 BuildRequires: guile-runtime
49 BuildRequires: pkgconfig(dbi)
50 BuildRequires: libdbi-drivers-dbd-sqlite3
51 Requires: libdbi-drivers-dbd-sqlite3
52 BuildRequires: pkgconfig(ktoblzcheck)
53 BuildRequires: pkgconfig(python)
54 BuildRequires: intltool
55 BuildRequires: scrollkeeper
56 BuildRequires: xsltproc
57 BuildRequires: slib
58 BuildRequires: gettext-devel
59 BuildRequires: swig
60 BuildRequires: locales-en
61 BuildRequires: locales-fr
62
63 %description
64 GnuCash is a personal finance manager. A check-book like
65 register GUI allows you to enter and track bank accounts,
66 stocks, income and even currency trades. The interface is
67 designed to be simple and easy to use, but is backed with
68 double-entry accounting principles to ensure balanced books.
69
70 %package ofx
71 Summary: Enables OFX importing in GnuCash
72 Group: Office/Finance
73 Requires: gnucash = %{version}-%{release}
74
75 %description ofx
76 This package adds OFX file import support to the base
77 GnuCash package. Install this package if you want to
78 import OFX files.
79
80 %package hbci
81 Summary: Enables HBCI importing in GnuCash
82 Group: Office/Finance
83 Requires: gnucash = %{version}-%{release}
84 # only require the wizard, it will pull aqhbci package too
85 #gw it really required qt3-wizard which wasn't included in aqbanking for a while
86 Requires: aqhbci
87
88 %description hbci
89 This package adds HBCI file import support to the base
90 GnuCash package. Install this package if you want to
91 import HBCI files.
92
93 %package -n %{libnamedev}
94 Group: Development/C
95 Summary: Libraries needed to develop for gnucash
96 Requires: %{libname} = %{version}-%{release}
97 Provides: %{name}-devel = %{version}-%{release}
98 Provides: lib%{name}-devel = %{version}-%{release}
99 Obsoletes: %{name}-devel < %{version}-%{release}
100 Obsoletes: %{mklibname -d %name 0}
101 Conflicts: %{mklibname gnucash 0} < 2.6.4-4
102
103 %description -n %{libnamedev}
104 Libraries needed to develop for gnucash.
105
106 %package -n %{libname}
107 Summary: Libraries for gnucash
108 Group: System/Libraries
109 Conflicts: %{libnamedev} < 2.4.10-3
110
111 %description -n %{libname}
112 This package provides libraries to use gnucash.
113
114 %package -n python-gnucash
115 Summary: Python module for gnucash
116 Group: System/Libraries
117 Requires: ipython
118 Requires: python-gtk
119 Requires: python-matplotlib
120
121 %description -n python-gnucash
122 This package provides python bindings to interact with gnucash.
123
124 %prep
125 %setup -q -a 1
126
127 %build
128 %configure2_5x --disable-schemas-compile --disable-dependency-tracking \
129 --enable-aqbanking --enable-python
130 %make
131
132 pushd gnucash-docs-%{doc_version}
133 %configure2_5x --localstatedir=/var/lib
134 popd
135
136 %install
137 %makeinstall_std
138 %makeinstall_std -C gnucash-docs-%{doc_version}
139
140 %find_lang %name --with-gnome
141 find %{buildroot} -name '*.la' -delete
142 rm -fr %{buildroot}%{_libexecdir}/gnucash/src/libqof/qof/test
143
144 %check
145 #make check
146
147 %files -n %{libnamedev}
148 %{_bindir}/gnucash-make-guids
149 %{_bindir}/gnucash-valgrind
150 %{_includedir}/gnucash
151
152 %files -n %{libname}
153 %_libdir/*.so.*
154 %{_libdir}/*.so
155
156 %files -f %{name}.lang
157 %config(noreplace) %{_sysconfdir}/%{name}
158 %{_bindir}/gnucash
159 %{_bindir}/gnucash-env
160 %{_bindir}/gnc-fq-check
161 %{_bindir}/gnc-fq-dump
162 %{_bindir}/gnc-fq-helper
163 %{_bindir}/gnc-fq-update
164 %_datadir/applications/%name.desktop
165 %dir %{_libdir}/gnucash
166 %{_libdir}/gnucash/*.so*
167 %{_libexecdir}/gnucash/overrides
168 %{_datadir}/glib-2.0/schemas/org.gnucash.dialogs.business.gschema.xml
169 %{_datadir}/glib-2.0/schemas/org.gnucash.dialogs.checkprinting.gschema.xml
170 %{_datadir}/glib-2.0/schemas/org.gnucash.dialogs.commodities.gschema.xml
171 %{_datadir}/glib-2.0/schemas/org.gnucash.dialogs.export.csv.gschema.xml
172 %{_datadir}/glib-2.0/schemas/org.gnucash.dialogs.gschema.xml
173 %{_datadir}/glib-2.0/schemas/org.gnucash.dialogs.import.csv.gschema.xml
174 %{_datadir}/glib-2.0/schemas/org.gnucash.dialogs.import.generic.gschema.xml
175 %{_datadir}/glib-2.0/schemas/org.gnucash.dialogs.import.qif.gschema.xml
176 %{_datadir}/glib-2.0/schemas/org.gnucash.dialogs.reconcile.gschema.xml
177 %{_datadir}/glib-2.0/schemas/org.gnucash.dialogs.sxs.gschema.xml
178 %{_datadir}/glib-2.0/schemas/org.gnucash.dialogs.totd.gschema.xml
179 %{_datadir}/glib-2.0/schemas/org.gnucash.gschema.xml
180 %{_datadir}/glib-2.0/schemas/org.gnucash.history.gschema.xml
181 %{_datadir}/glib-2.0/schemas/org.gnucash.warnings.gschema.xml
182 %{_datadir}/glib-2.0/schemas/org.gnucash.window.pages.account.tree.gschema.xml
183 %{_datadir}/glib-2.0/schemas/org.gnucash.window.pages.gschema.xml
184 %dir %{_datadir}/%{name}
185 %{_datadir}/%{name}/accounts
186 %{_datadir}/%{name}/checks
187 %{_datadir}/%{name}/gtkbuilder
188 %{_datadir}/%{name}/jqplot
189 %{_datadir}/%{name}/pixmaps
190 %{_datadir}/%{name}/ui
191 %{_datadir}/%{name}/gnome
192 %{_datadir}/%{name}/tip_of_the_day.list
193 %{_datadir}/%{name}/make-prefs-migration-script.xsl
194 %{_datadir}/%{name}/migratable-prefs.xml
195 %_datadir/icons/hicolor/*/apps/gnucash*
196 %{_datadir}/%{name}/scm
197 %{_datadir}/appdata/gnucash.appdata.xml
198 %{_mandir}/*/*
199 %doc %{_datadir}/gnome/help/gnucash-guide
200 %doc %{_datadir}/gnome/help/gnucash-help
201 %doc AUTHORS COPYING HACKING NEWS README*
202 %doc doc/README.german doc/README.francais doc/guile-hackers.txt
203 %exclude %{_libdir}/gnucash/libgncmod-ofx*
204 %exclude %{_libdir}/gnucash/libgncmod-aqbanking*
205 %exclude %{_datadir}/gnucash/ui/gnc-plugin-aqbanking-ui.xml
206 %exclude %{_datadir}/gnucash/ui/gnc-plugin-ofx-ui.xml
207
208 %files ofx
209 %doc doc/README.OFX
210 %{_datadir}/glib-2.0/schemas/org.gnucash.dialogs.import.ofx.gschema.xml
211 %{_libdir}/gnucash/libgncmod-ofx*
212 %{_datadir}/gnucash/ui/gnc-plugin-ofx-ui.xml
213
214 %files hbci
215 %doc doc/README.HBCI
216 %{_datadir}/glib-2.0/schemas/org.gnucash.dialogs.import.hbci.gschema.xml
217 %{_libdir}/gnucash/libgncmod-aqbanking*
218 %{_datadir}/gnucash/ui/gnc-plugin-aqbanking-ui.xml
219
220 %files -n python-gnucash
221 %python_sitearch/%name
222 %{_datadir}/%{name}/python

  ViewVC Help
Powered by ViewVC 1.1.30