/[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 1045759 - (show annotations) (download)
Thu Aug 11 17:31:29 2016 UTC (8 years, 1 month ago) by daviddavid
File size: 7579 byte(s)
- new version: 2.6.13
- fix python2 dependencies for python-gnucash sub-package
- fix doc files listed twice
- fix owner of doc dir
- remove old Obsoletes/Provides/Conflicts (SILENT)

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

  ViewVC Help
Powered by ViewVC 1.1.30