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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1732079 - (show annotations) (download)
Thu Jun 24 05:13:40 2021 UTC (5 weeks, 2 days ago) by kekepower
File size: 9586 byte(s)
- Update to version 5.1.2

1 %define kmm_widgets_major 5
2 %define libkmm_widgets %mklibname kmm_widgets %{kmm_widgets_major}
3
4 %define kmm_csvimportercore_major 5
5 %define libkmm_csvimportercore %mklibname kmm_csvimportercore %{kmm_csvimportercore_major}
6
7 %define kmm_mymoney_major 5
8 %define libkmm_mymoney %mklibname kmm_mymoney %{kmm_mymoney_major}
9
10 %define kmm_icons_major 5
11 %define libkmm_icons %mklibname kmm_icons %{kmm_icons_major}
12
13 %define kmm_plugin_major 5
14 %define libkmm_plugin %mklibname kmm_plugin %{kmm_plugin_major}
15
16 %define kmm_payeeidentifier_major 5
17 %define libkmm_payeeidentifier %mklibname kmm_payeeidentifier %{kmm_payeeidentifier_major}
18
19 %define kmm_menus_major 5
20 %define libkmm_menus %mklibname kmm_menus %{kmm_menus_major}
21
22 %define kmm_models_major 5
23 %define libkmm_models %mklibname kmm_models %{kmm_models_major}
24
25 %define kmm_settings_major 5
26 %define libkmm_settings %mklibname kmm_settings %{kmm_settings_major}
27
28 %define kmm_printer_major 5
29 %define libkmm_printer %mklibname kmm_printer %{kmm_printer_major}
30
31 # re-enable once an upstream python 3 port
32 # https://bugs.kde.org/show_bug.cgi?id=405383
33 %bcond_with weboob
34
35 Summary: The Personal Finances Manager
36 Name: kmymoney
37 Version: 5.1.2
38 Release: %mkrel 1
39 License: GPLv2+
40 Group: Office/Finance
41 Url: https://kmymoney.org/
42 Source0: http://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz
43
44 BuildRequires: boost-devel
45 BuildRequires: kf5-macros
46 BuildRequires: cmake(KChart)
47 BuildRequires: cmake(KF5Activities)
48 BuildRequires: cmake(KF5DocTools)
49 BuildRequires: cmake(KF5Contacts)
50 BuildRequires: cmake(KF5Akonadi)
51 BuildRequires: cmake(KF5KCMUtils)
52 BuildRequires: cmake(KF5Holidays)
53 BuildRequires: cmake(KF5IdentityManagement)
54 BuildRequires: cmake(KF5Kross)
55 BuildRequires: cmake(KF5Notifications)
56 BuildRequires: cmake(KF5Wallet)
57 BuildRequires: cmake(KF5WebKit)
58 BuildRequires: cmake(KF5AkonadiContact)
59 BuildRequires: cmake(KF5CoreAddons)
60 BuildRequires: cmake(KF5KIO)
61 BuildRequires: cmake(KF5Archive)
62 BuildRequires: cmake(KF5Config)
63 BuildRequires: cmake(KF5ConfigWidgets)
64 BuildRequires: cmake(KF5I18n)
65 BuildRequires: cmake(KF5Completion)
66 BuildRequires: cmake(KF5ItemModels)
67 BuildRequires: cmake(KF5ItemViews)
68 BuildRequires: cmake(KF5Service)
69 BuildRequires: cmake(KF5IconThemes)
70 BuildRequires: cmake(KF5XmlGui)
71 BuildRequires: cmake(KF5TextWidgets)
72 BuildRequires: cmake(LibIcal)
73 BuildRequires: cmake(Qt5Core)
74 BuildRequires: cmake(Qt5DBus)
75 BuildRequires: cmake(Qt5Gui)
76 BuildRequires: cmake(Qt5Concurrent)
77 BuildRequires: cmake(Qt5PrintSupport)
78 BuildRequires: cmake(Qt5Sql)
79 BuildRequires: cmake(Qt5Svg)
80 BuildRequires: cmake(Qt5Test)
81 BuildRequires: cmake(Qt5Widgets)
82 BuildRequires: cmake(Qt5Xml)
83 BuildRequires: gpgme-devel
84 BuildRequires: pkgconfig(libofx)
85 BuildRequires: pkgconfig(aqbanking)
86 BuildRequires: pkgconfig(libalkimia5)
87 BuildRequires: pkgconfig(libxml++-2.6)
88 BuildRequires: pkgconfig(gwenhywfar)
89 BuildRequires: pkgconfig(gwengui-qt5)
90 BuildRequires: pkgconfig(ktoblzcheck)
91 BuildRequires: pkgconfig(sqlcipher)
92 BuildRequires: doxygen
93 BuildRequires: perl(Finance::Quote)
94 %if %{with weboob}
95 BuildRequires: weboob
96 %endif
97
98 Requires: %{libkmm_widgets} = %{version}
99 Requires: %{libkmm_mymoney} = %{version}
100 Requires: perl-Finance-Quote
101
102 %if %{with weboob}
103 Recommends: %{name}-plugin-weboob
104 %endif
105
106 %description
107 KMyMoney Personal Finance Manager.
108
109 %files -f %name.lang
110 %{_kf5_bindir}/kmymoney
111 %{_qt5_plugindir}/kmymoney/
112 %if %{with weboob}
113 %exclude %{_qt5_plugindir}/kmymoney/weboob.so
114 %exclude %{_kf5_datadir}/%{name}/weboob
115 %exclude %{_kf5_datadir}/kxmlgui5/weboob
116 %endif
117 %{_qt5_plugindir}/sqldrivers/qsqlcipher.so
118 %{_kf5_datadir}/config.kcfg/kmymoney.kcfg
119 %{_kf5_datadir}/config.kcfg/kbanking.kcfg
120 %{_kf5_datadir}/checkprinting/
121 %{_kf5_datadir}/kbanking/
122 %{_kf5_datadir}/kmymoney/
123 %{_kf5_datadir}/kxmlgui5/*
124 %{_kf5_metainfodir}/org.kde.kmymoney.appdata.xml
125 %{_kf5_datadir}/kconf_update/kmymoney.upd
126 %{_kf5_applicationdir}/org.kde.kmymoney.desktop
127 %{_kf5_iconsdir}/*/*/*/*
128 %{_kf5_services}/*.desktop
129 %{_kf5_datadir}/mime/packages/*.xml
130 %{_kf5_mandir}/man1/kmymoney.1*
131
132 #-----------------------------------------------------------------------------
133
134 %package -n %{libkmm_csvimportercore}
135 Summary: KMyMoney library
136 Group: System/Libraries
137 Requires: %{libkmm_mymoney} = %{version}
138
139 %description -n %{libkmm_csvimportercore}
140 KMyMoney library.
141
142 %files -n %{libkmm_csvimportercore}
143 %{_kf5_libdir}/libkmm_csvimportercore.so.%{kmm_csvimportercore_major}{,.*}
144
145 #-----------------------------------------------------------------------------
146
147 %package -n %{libkmm_mymoney}
148 Summary: KMyMoney library
149 Group: System/Libraries
150 Requires: %{libkmm_icons} = %{version}
151 Requires: %{libkmm_plugin} = %{version}
152 Requires: %{libkmm_payeeidentifier} = %{version}
153
154 %description -n %{libkmm_mymoney}
155 KMyMoney library.
156
157 %files -n %{libkmm_mymoney}
158 %{_kf5_libdir}/libkmm_mymoney.so.%{kmm_mymoney_major}{,.*}
159
160 #-----------------------------------------------------------------------------
161
162 %package -n %{libkmm_icons}
163 Summary: KMyMoney library
164 Group: System/Libraries
165
166 %description -n %{libkmm_icons}
167 KMyMoney library.
168
169 %files -n %{libkmm_icons}
170 %{_kf5_libdir}/libkmm_icons.so.%{kmm_icons_major}{,.*}
171
172 #-----------------------------------------------------------------------------
173
174 %package -n %{libkmm_plugin}
175 Summary: KMyMoney library
176 Group: System/Libraries
177
178 %description -n %{libkmm_plugin}
179 KMyMoney library.
180
181 %files -n %{libkmm_plugin}
182 %{_kf5_libdir}/libkmm_plugin.so.%{kmm_plugin_major}{,.*}
183
184 #-----------------------------------------------------------------------------
185
186 %if %{with weboob}
187 %package -n %{name}-plugin-weboob
188 Summary: KMyMoney Weboob plugin
189 Group: System/Libraries
190 Requires: weboob
191
192 %description -n %{name}-plugin-weboob
193 KMyMoney plugin to access bank website through Weboob.
194
195 %files -n %{name}-plugin-weboob
196 %dir %{_kf5_datadir}/%{name}/weboob
197 %{_kf5_datadir}/%{name}/weboob/*weboob.py*
198 %{_qt5_plugindir}/kmymoney/weboob.so
199 %{_kf5_datadir}/kxmlgui5/weboob/
200 %endif
201
202 #-----------------------------------------------------------------------------
203
204 %package -n %{libkmm_widgets}
205 Summary: KMyMoney library
206 Group: System/Libraries
207 Requires: %{libkmm_mymoney} = %{version}
208 Requires: %{libkmm_icons} = %{version}
209 Requires: %{libkmm_models} = %{version}
210 Requires: %{libkmm_payeeidentifier} = %{version}
211 Requires: %{libkmm_plugin} = %{version}
212 Requires: %{libkmm_settings} = %{version}
213
214 %description -n %{libkmm_widgets}
215 KMyMoney library.
216
217 %files -n %{libkmm_widgets}
218 %{_kf5_libdir}/libkmm_widgets.so.%{kmm_widgets_major}{,.*}
219
220 #-----------------------------------------------------------------------------
221
222 %package -n %{libkmm_payeeidentifier}
223 Summary: KMyMoney library
224 Group: System/Libraries
225
226 %description -n %{libkmm_payeeidentifier}
227 KMyMoney library.
228
229 %files -n %{libkmm_payeeidentifier}
230 %{_kf5_libdir}/libkmm_payeeidentifier.so.%{kmm_payeeidentifier_major}{,.*}
231
232 #-----------------------------------------------------------------------------
233
234 %package -n %{libkmm_menus}
235 Summary: KMyMoney library
236 Group: System/Libraries
237
238 %description -n %{libkmm_menus}
239 KMyMoney library.
240
241 %files -n %{libkmm_menus}
242 %{_kf5_libdir}/libkmm_menus.so.%{kmm_menus_major}{,.*}
243
244 #-----------------------------------------------------------------------------
245
246 %package -n %{libkmm_models}
247 Summary: KMyMoney library
248 Group: System/Libraries
249 Requires: %{libkmm_mymoney} = %{version}
250 Requires: %{libkmm_icons} = %{version}
251 Requires: %{libkmm_payeeidentifier} = %{version}
252 Requires: %{libkmm_settings} = %{version}
253
254 %description -n %{libkmm_models}
255 KMyMoney library.
256
257 %files -n %{libkmm_models}
258 %{_kf5_libdir}/libkmm_models.so.%{kmm_models_major}{,.*}
259
260 #-----------------------------------------------------------------------------
261
262 %package -n %{libkmm_settings}
263 Summary: KMyMoney library
264 Group: System/Libraries
265
266 %description -n %{libkmm_settings}
267 KMyMoney library.
268
269 %files -n %{libkmm_settings}
270 %{_kf5_libdir}/libkmm_settings.so.%{kmm_settings_major}{,.*}
271
272 #-----------------------------------------------------------------------------
273
274 %package -n %{libkmm_printer}
275 Summary: KMyMoney library
276 Group: System/Libraries
277
278 %description -n %{libkmm_printer}
279 KMyMoney library.
280
281 %files -n %{libkmm_printer}
282 %{_kf5_libdir}/libkmm_printer.so.%{kmm_printer_major}{,.*}
283
284 #-----------------------------------------------------------------------------
285
286 %package devel
287 Summary: KMyMoney Development library
288 Group: Development/KDE and Qt
289 Requires: %{libkmm_csvimportercore} = %{version}
290 Requires: %{libkmm_mymoney} = %{version}
291 Requires: %{libkmm_icons} = %{version}
292 Requires: %{libkmm_plugin} = %{version}
293 Requires: %{libkmm_widgets} = %{version}
294 Requires: %{libkmm_payeeidentifier} = %{version}
295 Requires: %{libkmm_menus} = %{version}
296 Requires: %{libkmm_models} = %{version}
297 Requires: %{libkmm_settings} = %{version}
298 Requires: %{libkmm_printer} = %{version}
299
300 %description devel
301 KMyMoney development files.
302
303 %files devel
304 %{_kf5_libdir}/libkmm_csvimportercore.so
305 %{_kf5_libdir}/libkmm_mymoney.so
306 %{_kf5_libdir}/libkmm_icons.so
307 %{_kf5_libdir}/libkmm_plugin.so
308 %{_kf5_libdir}/libkmm_widgets.so
309 %{_kf5_libdir}/libkmm_payeeidentifier.so
310 %{_kf5_libdir}/libkmm_menus.so
311 %{_kf5_libdir}/libkmm_models.so
312 %{_kf5_libdir}/libkmm_settings.so
313 %{_kf5_libdir}/libkmm_printer.so
314 %{_includedir}/%{name}/
315
316 #-----------------------------------------------------------------------------
317
318 %prep
319 %autosetup -p1
320
321 %build
322 %cmake_kf5
323 %cmake_build
324
325 %install
326 %cmake_install
327
328 %find_lang %name --with-html --with-man

  ViewVC Help
Powered by ViewVC 1.1.28