/[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 1662473 - (show annotations) (download)
Mon Dec 21 06:59:13 2020 UTC (9 months ago) by kekepower
File size: 9617 byte(s)
- Update to version 5.1.1

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.1
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_servicetypes}/*.desktop
130 %{_kf5_datadir}/mime/packages/*.xml
131 %{_kf5_mandir}/man1/kmymoney.1*
132
133 #-----------------------------------------------------------------------------
134
135 %package -n %{libkmm_csvimportercore}
136 Summary: KMyMoney library
137 Group: System/Libraries
138 Requires: %{libkmm_mymoney} = %{version}
139
140 %description -n %{libkmm_csvimportercore}
141 KMyMoney library.
142
143 %files -n %{libkmm_csvimportercore}
144 %{_kf5_libdir}/libkmm_csvimportercore.so.%{kmm_csvimportercore_major}{,.*}
145
146 #-----------------------------------------------------------------------------
147
148 %package -n %{libkmm_mymoney}
149 Summary: KMyMoney library
150 Group: System/Libraries
151 Requires: %{libkmm_icons} = %{version}
152 Requires: %{libkmm_plugin} = %{version}
153 Requires: %{libkmm_payeeidentifier} = %{version}
154
155 %description -n %{libkmm_mymoney}
156 KMyMoney library.
157
158 %files -n %{libkmm_mymoney}
159 %{_kf5_libdir}/libkmm_mymoney.so.%{kmm_mymoney_major}{,.*}
160
161 #-----------------------------------------------------------------------------
162
163 %package -n %{libkmm_icons}
164 Summary: KMyMoney library
165 Group: System/Libraries
166
167 %description -n %{libkmm_icons}
168 KMyMoney library.
169
170 %files -n %{libkmm_icons}
171 %{_kf5_libdir}/libkmm_icons.so.%{kmm_icons_major}{,.*}
172
173 #-----------------------------------------------------------------------------
174
175 %package -n %{libkmm_plugin}
176 Summary: KMyMoney library
177 Group: System/Libraries
178
179 %description -n %{libkmm_plugin}
180 KMyMoney library.
181
182 %files -n %{libkmm_plugin}
183 %{_kf5_libdir}/libkmm_plugin.so.%{kmm_plugin_major}{,.*}
184
185 #-----------------------------------------------------------------------------
186
187 %if %{with weboob}
188 %package -n %{name}-plugin-weboob
189 Summary: KMyMoney Weboob plugin
190 Group: System/Libraries
191 Requires: weboob
192
193 %description -n %{name}-plugin-weboob
194 KMyMoney plugin to access bank website through Weboob.
195
196 %files -n %{name}-plugin-weboob
197 %dir %{_kf5_datadir}/%{name}/weboob
198 %{_kf5_datadir}/%{name}/weboob/*weboob.py*
199 %{_qt5_plugindir}/kmymoney/weboob.so
200 %{_kf5_datadir}/kxmlgui5/weboob/
201 %endif
202
203 #-----------------------------------------------------------------------------
204
205 %package -n %{libkmm_widgets}
206 Summary: KMyMoney library
207 Group: System/Libraries
208 Requires: %{libkmm_mymoney} = %{version}
209 Requires: %{libkmm_icons} = %{version}
210 Requires: %{libkmm_models} = %{version}
211 Requires: %{libkmm_payeeidentifier} = %{version}
212 Requires: %{libkmm_plugin} = %{version}
213 Requires: %{libkmm_settings} = %{version}
214
215 %description -n %{libkmm_widgets}
216 KMyMoney library.
217
218 %files -n %{libkmm_widgets}
219 %{_kf5_libdir}/libkmm_widgets.so.%{kmm_widgets_major}{,.*}
220
221 #-----------------------------------------------------------------------------
222
223 %package -n %{libkmm_payeeidentifier}
224 Summary: KMyMoney library
225 Group: System/Libraries
226
227 %description -n %{libkmm_payeeidentifier}
228 KMyMoney library.
229
230 %files -n %{libkmm_payeeidentifier}
231 %{_kf5_libdir}/libkmm_payeeidentifier.so.%{kmm_payeeidentifier_major}{,.*}
232
233 #-----------------------------------------------------------------------------
234
235 %package -n %{libkmm_menus}
236 Summary: KMyMoney library
237 Group: System/Libraries
238
239 %description -n %{libkmm_menus}
240 KMyMoney library.
241
242 %files -n %{libkmm_menus}
243 %{_kf5_libdir}/libkmm_menus.so.%{kmm_menus_major}{,.*}
244
245 #-----------------------------------------------------------------------------
246
247 %package -n %{libkmm_models}
248 Summary: KMyMoney library
249 Group: System/Libraries
250 Requires: %{libkmm_mymoney} = %{version}
251 Requires: %{libkmm_icons} = %{version}
252 Requires: %{libkmm_payeeidentifier} = %{version}
253 Requires: %{libkmm_settings} = %{version}
254
255 %description -n %{libkmm_models}
256 KMyMoney library.
257
258 %files -n %{libkmm_models}
259 %{_kf5_libdir}/libkmm_models.so.%{kmm_models_major}{,.*}
260
261 #-----------------------------------------------------------------------------
262
263 %package -n %{libkmm_settings}
264 Summary: KMyMoney library
265 Group: System/Libraries
266
267 %description -n %{libkmm_settings}
268 KMyMoney library.
269
270 %files -n %{libkmm_settings}
271 %{_kf5_libdir}/libkmm_settings.so.%{kmm_settings_major}{,.*}
272
273 #-----------------------------------------------------------------------------
274
275 %package -n %{libkmm_printer}
276 Summary: KMyMoney library
277 Group: System/Libraries
278
279 %description -n %{libkmm_printer}
280 KMyMoney library.
281
282 %files -n %{libkmm_printer}
283 %{_kf5_libdir}/libkmm_printer.so.%{kmm_printer_major}{,.*}
284
285 #-----------------------------------------------------------------------------
286
287 %package devel
288 Summary: KMyMoney Development library
289 Group: Development/KDE and Qt
290 Requires: %{libkmm_csvimportercore} = %{version}
291 Requires: %{libkmm_mymoney} = %{version}
292 Requires: %{libkmm_icons} = %{version}
293 Requires: %{libkmm_plugin} = %{version}
294 Requires: %{libkmm_widgets} = %{version}
295 Requires: %{libkmm_payeeidentifier} = %{version}
296 Requires: %{libkmm_menus} = %{version}
297 Requires: %{libkmm_models} = %{version}
298 Requires: %{libkmm_settings} = %{version}
299 Requires: %{libkmm_printer} = %{version}
300
301 %description devel
302 KMyMoney development files.
303
304 %files devel
305 %{_kf5_libdir}/libkmm_csvimportercore.so
306 %{_kf5_libdir}/libkmm_mymoney.so
307 %{_kf5_libdir}/libkmm_icons.so
308 %{_kf5_libdir}/libkmm_plugin.so
309 %{_kf5_libdir}/libkmm_widgets.so
310 %{_kf5_libdir}/libkmm_payeeidentifier.so
311 %{_kf5_libdir}/libkmm_menus.so
312 %{_kf5_libdir}/libkmm_models.so
313 %{_kf5_libdir}/libkmm_settings.so
314 %{_kf5_libdir}/libkmm_printer.so
315 %{_includedir}/%{name}/
316
317 #-----------------------------------------------------------------------------
318
319 %prep
320 %autosetup -p1
321
322 %build
323 %cmake_kf5
324 %cmake_build
325
326 %install
327 %cmake_install
328
329 %find_lang %name --with-html --with-man

  ViewVC Help
Powered by ViewVC 1.1.28