]>
Commit | Line | Data |
---|---|---|
fc748982 | 1 | # |
2 | # TODO: unpackaged files | |
3 | # | |
a2da3cea | 4 | Summary: A library for online banking functions and financial data import/export |
b5aeef67 | 5 | Summary(pl.UTF-8): Biblioteka do funkcji bankowych online oraz importu/eksportu danych finansowych |
a2da3cea | 6 | Name: aqbanking |
fc748982 | 7 | Version: 5.0.1 |
8 | Release: 0.1 | |
a2da3cea JB |
9 | License: GPL v2 |
10 | Group: Libraries | |
11c19eff AF |
11 | # http://www2.aquamaniac.de/sites/download/packages.php |
12 | Source0: %{name}-%{version}.tar.gz | |
fc748982 | 13 | # Source0-md5: dc7dd799a4a50313b5f11b9a0861b72b |
a2da3cea JB |
14 | URL: http://www.aquamaniac.de/aqbanking/ |
15 | BuildRequires: autoconf >= 2.56 | |
16 | BuildRequires: automake | |
17 | BuildRequires: gettext-devel | |
11c19eff | 18 | BuildRequires: gmp-devel |
fc748982 | 19 | BuildRequires: gwenhywfar-devel >= 4.0.0 |
11c19eff | 20 | BuildRequires: ktoblzcheck-devel >= 1.10 |
12082d70 | 21 | BuildRequires: libofx-devel >= 0.8.0 |
a2da3cea | 22 | BuildRequires: libtool >= 2:1.5 |
b81d0431 | 23 | BuildRequires: pkgconfig |
b537037a | 24 | BuildRequires: qt-devel >= 1:3.0 |
8f44b7fc | 25 | BuildRequires: which |
11c19eff AF |
26 | Obsoletes: aqbanking-backend-aqdtaus |
27 | Obsoletes: aqbanking-backend-aqdtaus-devel | |
28 | Obsoletes: aqbanking-backend-aqdtaus-static | |
29 | Obsoletes: aqbanking-backend-aqgeldkarte | |
30 | Obsoletes: aqbanking-backend-aqgeldkarte-devel | |
31 | Obsoletes: aqbanking-backend-aqgeldkarte-static | |
32 | Obsoletes: aqbanking-backend-aqyellownet | |
33 | Obsoletes: aqbanking-backend-aqyellownet-devel | |
34 | Obsoletes: aqbanking-backend-aqyellownet-static | |
8f44b7fc | 35 | Obsoletes: aqbanking-frontend-cbanking |
36 | Obsoletes: aqbanking-frontend-cbanking-devel | |
37 | Obsoletes: aqbanking-frontend-cbanking-static | |
38 | Obsoletes: aqbanking-frontend-fbanking | |
39 | Obsoletes: aqbanking-frontend-fbanking-devel | |
40 | Obsoletes: aqbanking-frontend-fbanking-static | |
41 | Obsoletes: aqbanking-frontend-g2banking | |
42 | Obsoletes: aqbanking-frontend-g2banking-devel | |
43 | Obsoletes: aqbanking-frontend-g2banking-static | |
44 | Obsoletes: aqbanking-frontend-kbanking | |
45 | Obsoletes: aqbanking-frontend-kbanking-devel | |
46 | Obsoletes: aqbanking-frontend-kbanking-static | |
73ccb4d4 | 47 | Obsoletes: python-aqbanking |
a2da3cea JB |
48 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
49 | ||
50 | %description | |
51 | The intention of AqBanking is to provide a middle layer between the | |
52 | program and the various Online Banking libraries (e.g. AqHBCI). The | |
53 | first backend which is already supported is AqHBCI, a library which | |
54 | implements a client for the German HBCI (Home Banking Computer | |
55 | Interface) protocol. Additionally, Aqbanking provides various plugins | |
56 | to simplify import and export of financial data. Currently there are | |
57 | import plugins for the following formats: DTAUS (German financial | |
58 | format), SWIFT (MT940 and MT942). | |
59 | ||
684f7fee JR |
60 | %description -l pl.UTF-8 |
61 | Celem projektu AqBanking jest dostarczenie warstwy pośredniej między | |
62 | programem a różnymi bibliotekami usług bankowych online (np. AqHBCI). | |
63 | Pierwszy już obsługiwany backend to AqHBCI - biblioteka implementująca | |
64 | klienta niemieckiego protokołu HBCI (Home Baking Computer Interface). | |
65 | Ponadto Aqbanking dostarcza różne wtyczki upraszczające importowanie i | |
66 | eksportowanie danych finansowych. Aktualnie istnieją wtyczki do | |
67 | importu następujących formatów: DTAUS (niemiecki format finansowy), | |
a2da3cea JB |
68 | SWIFT (MT940 oraz MT942). |
69 | ||
70 | %package devel | |
71 | Summary: Header files for AqBanking library | |
b5aeef67 | 72 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki AqBanking |
a2da3cea JB |
73 | Group: Development/Libraries |
74 | Requires: %{name} = %{version}-%{release} | |
9742c77b | 75 | Requires: gwenhywfar-devel >= 3.0.0 |
a2da3cea JB |
76 | |
77 | %description devel | |
78 | Header files for AqBanking library. | |
79 | ||
684f7fee JR |
80 | %description devel -l pl.UTF-8 |
81 | Pliki nagłówkowe biblioteki AqBanking. | |
a2da3cea JB |
82 | |
83 | %package static | |
84 | Summary: Static AqBanking libraries | |
b5aeef67 | 85 | Summary(pl.UTF-8): Statyczne biblioteki AqBanking |
a2da3cea JB |
86 | Group: Development/Libraries |
87 | Requires: %{name}-devel = %{version}-%{release} | |
88 | ||
89 | %description static | |
90 | Static AqBanking libraries. | |
91 | ||
684f7fee | 92 | %description static -l pl.UTF-8 |
a2da3cea JB |
93 | Statyczne biblioteki AqBanking. |
94 | ||
12082d70 JB |
95 | %package backend-aqhbci |
96 | Summary: AqHBCI backend for AqBanking library | |
b5aeef67 | 97 | Summary(pl.UTF-8): Backend AqHBCI dla biblioteki AqBanking |
12082d70 JB |
98 | Group: Libraries |
99 | Requires: %{name} = %{version}-%{release} | |
100 | ||
101 | %description backend-aqhbci | |
102 | AqHBCI backend for AqBanking library. | |
103 | ||
684f7fee | 104 | %description backend-aqhbci -l pl.UTF-8 |
12082d70 JB |
105 | Backend AqHBCI dla biblioteki AqBanking. |
106 | ||
107 | %package backend-aqhbci-devel | |
108 | Summary: Header files for AqHBCI backend library | |
b5aeef67 | 109 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki backendu AqHBCI |
12082d70 JB |
110 | Group: Development/Libraries |
111 | Requires: %{name}-backend-aqhbci = %{version}-%{release} | |
112 | Requires: %{name}-devel = %{version}-%{release} | |
113 | ||
114 | %description backend-aqhbci-devel | |
115 | Header files for AqHBCI backend library. | |
116 | ||
684f7fee JR |
117 | %description backend-aqhbci-devel -l pl.UTF-8 |
118 | Pliki nagłówkowe biblioteki backendu AqHBCI. | |
12082d70 JB |
119 | |
120 | %package backend-aqhbci-static | |
121 | Summary: Static AqHBCI backend library | |
b5aeef67 | 122 | Summary(pl.UTF-8): Statyczna biblioteka backendu AqHBCI |
12082d70 JB |
123 | Group: Development/Libraries |
124 | Requires: %{name}-backend-aqhbci-devel = %{version}-%{release} | |
125 | ||
126 | %description backend-aqhbci-static | |
127 | Static AqHBCI backend library. | |
128 | ||
684f7fee | 129 | %description backend-aqhbci-static -l pl.UTF-8 |
12082d70 JB |
130 | Statyczna biblioteka backendu AqHBCI. |
131 | ||
b81d0431 JB |
132 | %package backend-aqnone |
133 | Summary: Aqnone backend for AqBanking library | |
134 | Summary(pl.UTF-8): Backend Aqnone dla biblioteki AqBanking | |
135 | Group: Libraries | |
136 | Requires: %{name} = %{version}-%{release} | |
137 | ||
138 | %description backend-aqnone | |
139 | Aqnone backend for AqBanking library. | |
140 | ||
141 | %description backend-aqnone -l pl.UTF-8 | |
142 | Backend Aqnone dla biblioteki AqBanking. | |
143 | ||
144 | %package backend-aqnone-devel | |
145 | Summary: Header files for Aqnone backend library | |
146 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki backendu Aqnone | |
147 | Group: Development/Libraries | |
148 | Requires: %{name}-backend-aqnone = %{version}-%{release} | |
149 | Requires: %{name}-devel = %{version}-%{release} | |
150 | ||
151 | %description backend-aqnone-devel | |
152 | Header files for Aqnone backend library. | |
153 | ||
154 | %description backend-aqnone-devel -l pl.UTF-8 | |
155 | Pliki nagłówkowe biblioteki backendu Aqnone. | |
156 | ||
157 | %package backend-aqnone-static | |
158 | Summary: Static Aqnone backend library | |
159 | Summary(pl.UTF-8): Statyczna biblioteka backendu Aqnone | |
160 | Group: Development/Libraries | |
161 | Requires: %{name}-backend-aqnone-devel = %{version}-%{release} | |
162 | ||
163 | %description backend-aqnone-static | |
164 | Static Aqnone backend library. | |
165 | ||
166 | %description backend-aqnone-static -l pl.UTF-8 | |
167 | Statyczna biblioteka backendu Aqnone. | |
168 | ||
12082d70 JB |
169 | %package backend-aqofxconnect |
170 | Summary: AqOFXConnect backend for AqBanking library | |
b5aeef67 | 171 | Summary(pl.UTF-8): Backend AqOFXConnect dla biblioteki AqBanking |
12082d70 JB |
172 | Group: Libraries |
173 | Requires: %{name} = %{version}-%{release} | |
174 | ||
175 | %description backend-aqofxconnect | |
176 | AqOFXConnect backend for AqBanking library. | |
177 | ||
684f7fee | 178 | %description backend-aqofxconnect -l pl.UTF-8 |
12082d70 JB |
179 | Backend AqOFXConnect dla biblioteki AqBanking. |
180 | ||
181 | %package backend-aqofxconnect-devel | |
182 | Summary: Header files for AqOFXConnect backend library | |
b5aeef67 | 183 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki backendu AqOFXConnect |
12082d70 JB |
184 | Group: Development/Libraries |
185 | Requires: %{name}-backend-aqofxconnect = %{version}-%{release} | |
186 | Requires: libofx-devel >= 0.8.0 | |
187 | ||
188 | %description backend-aqofxconnect-devel | |
189 | Header files for AqOFXConnect backend library. | |
190 | ||
684f7fee JR |
191 | %description backend-aqofxconnect-devel -l pl.UTF-8 |
192 | Pliki nagłówkowe biblioteki backendu AqOFXConnect. | |
12082d70 JB |
193 | |
194 | %package backend-aqofxconnect-static | |
195 | Summary: Static AqOFXConnect backend library | |
b5aeef67 | 196 | Summary(pl.UTF-8): Statyczna biblioteka backendu AqOFXConnect |
12082d70 JB |
197 | Group: Development/Libraries |
198 | Requires: %{name}-backend-aqofxconnect-devel = %{version}-%{release} | |
199 | ||
200 | %description backend-aqofxconnect-static | |
201 | Static AqOFXConnect backend library. | |
202 | ||
684f7fee | 203 | %description backend-aqofxconnect-static -l pl.UTF-8 |
12082d70 JB |
204 | Statyczna biblioteka backendu AqOFXConnect. |
205 | ||
a2da3cea JB |
206 | %prep |
207 | %setup -q | |
a2da3cea JB |
208 | |
209 | %build | |
210 | %{__libtoolize} | |
211 | %{__aclocal} -I m4 | |
212 | %{__autoconf} | |
213 | %{__autoheader} | |
214 | %{__automake} | |
215 | %configure \ | |
41d66290 | 216 | --with-qt3-libs=%{_libdir} \ |
a2da3cea | 217 | --enable-libofx \ |
12082d70 | 218 | --enable-static \ |
11c19eff | 219 | --with-backends="aqhbci aqofxconnect aqnone" \ |
73ccb4d4 | 220 | --with-frontends="qbanking" |
a2da3cea | 221 | |
41d66290 | 222 | %{__make} -j1 |
a2da3cea JB |
223 | |
224 | %install | |
225 | rm -rf $RPM_BUILD_ROOT | |
226 | ||
41d66290 | 227 | %{__make} install -j1 \ |
a2da3cea JB |
228 | DESTDIR=$RPM_BUILD_ROOT |
229 | ||
b81d0431 JB |
230 | rm -f $RPM_BUILD_ROOT%{_libdir}/aqbanking/plugins/*/*/*.{la,a} |
231 | rm -f $RPM_BUILD_ROOT%{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules/*.{la,a} | |
232 | rm -f $RPM_BUILD_ROOT%{_libdir}/gwenhywfar/plugins/*/*/*.{la,a} | |
a2da3cea JB |
233 | rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/aqbanking/*.py |
234 | ||
b81d0431 JB |
235 | %if %{with yellownet} |
236 | # soname is libaqyellownet.so.0 | |
237 | mv $RPM_BUILD_ROOT%{_libdir}/libaqyellownet.{so,so.0.0.0} | |
238 | ln -sf libaqyellownet.so.0.0.0 $RPM_BUILD_ROOT%{_libdir}/libaqyellownet.so | |
239 | %endif | |
240 | ||
a2da3cea JB |
241 | %find_lang %{name} |
242 | ||
243 | %clean | |
244 | rm -rf $RPM_BUILD_ROOT | |
245 | ||
246 | %post -p /sbin/ldconfig | |
247 | %postun -p /sbin/ldconfig | |
248 | ||
12082d70 JB |
249 | %post backend-aqhbci -p /sbin/ldconfig |
250 | %postun backend-aqhbci -p /sbin/ldconfig | |
251 | ||
b81d0431 JB |
252 | %post backend-aqnone -p /sbin/ldconfig |
253 | %postun backend-aqnone -p /sbin/ldconfig | |
254 | ||
12082d70 JB |
255 | %post backend-aqofxconnect -p /sbin/ldconfig |
256 | %postun backend-aqofxconnect -p /sbin/ldconfig | |
257 | ||
a2da3cea JB |
258 | %files -f %{name}.lang |
259 | %defattr(644,root,root,755) | |
87384056 | 260 | %doc ChangeLog README TODO |
73ccb4d4 | 261 | %attr(755,root,root) %{_bindir}/aqbanking-cli |
a2da3cea | 262 | %attr(755,root,root) %{_libdir}/libaqbanking.so.*.*.* |
fc748982 | 263 | %attr(755,root,root) %ghost %{_libdir}/libaqbanking.so.33 |
a2da3cea JB |
264 | %dir %{_libdir}/aqbanking |
265 | %dir %{_libdir}/aqbanking/plugins | |
266 | %dir %{_libdir}/aqbanking/plugins/* | |
267 | %dir %{_libdir}/aqbanking/plugins/*/bankinfo | |
12082d70 JB |
268 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/bankinfo/*.so* |
269 | %{_libdir}/aqbanking/plugins/*/bankinfo/*.xml | |
a2da3cea | 270 | %dir %{_libdir}/aqbanking/plugins/*/imexporters |
12082d70 JB |
271 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/imexporters/*.so* |
272 | %{_libdir}/aqbanking/plugins/*/imexporters/*.xml | |
273 | %dir %{_libdir}/aqbanking/plugins/*/providers | |
a2da3cea JB |
274 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/dbio/*.so* |
275 | %{_libdir}/gwenhywfar/plugins/*/dbio/*.xml | |
9742c77b | 276 | %dir %{_datadir}/aqbanking |
9742c77b | 277 | %{_datadir}/aqbanking/bankinfo |
9742c77b | 278 | %{_datadir}/aqbanking/imexporters |
a2da3cea JB |
279 | |
280 | %files devel | |
281 | %defattr(644,root,root,755) | |
282 | %attr(755,root,root) %{_bindir}/aqbanking-config | |
283 | %attr(755,root,root) %{_libdir}/libaqbanking.so | |
a2da3cea | 284 | %{_libdir}/libaqbanking.la |
fc748982 | 285 | %{_includedir}/aqbanking5 |
a2da3cea | 286 | %{_aclocaldir}/aqbanking.m4 |
12082d70 | 287 | %{_pkgconfigdir}/aqbanking.pc |
a2da3cea JB |
288 | |
289 | %files static | |
290 | %defattr(644,root,root,755) | |
291 | %{_libdir}/libaqbanking.a | |
41d66290 | 292 | |
12082d70 JB |
293 | %files backend-aqhbci |
294 | %defattr(644,root,root,755) | |
73ccb4d4 | 295 | %attr(755,root,root) %{_bindir}/aqhbci-tool4 |
9742c77b | 296 | %attr(755,root,root) %{_bindir}/hbcixml3 |
12082d70 | 297 | %attr(755,root,root) %{_libdir}/libaqhbci.so.*.*.* |
fc748982 | 298 | %attr(755,root,root) %ghost %{_libdir}/libaqhbci.so.19 |
12082d70 JB |
299 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqhbci.so* |
300 | %{_libdir}/aqbanking/plugins/*/providers/aqhbci.xml | |
868b632d | 301 | %dir %{_datadir}/aqbanking/backends |
9742c77b | 302 | %{_datadir}/aqbanking/backends/aqhbci |
12082d70 JB |
303 | |
304 | %files backend-aqhbci-devel | |
305 | %defattr(644,root,root,755) | |
12082d70 JB |
306 | %attr(755,root,root) %{_libdir}/libaqhbci.so |
307 | %{_libdir}/libaqhbci.la | |
12082d70 JB |
308 | |
309 | %files backend-aqhbci-static | |
310 | %defattr(644,root,root,755) | |
311 | %{_libdir}/libaqhbci.a | |
312 | ||
b81d0431 JB |
313 | %files backend-aqnone |
314 | %defattr(644,root,root,755) | |
315 | %attr(755,root,root) %{_libdir}/libaqnone.so.*.*.* | |
fc748982 | 316 | %attr(755,root,root) %ghost %{_libdir}/libaqnone.so.33 |
b81d0431 JB |
317 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqnone.so* |
318 | %{_libdir}/aqbanking/plugins/*/providers/aqnone.xml | |
319 | ||
320 | %files backend-aqnone-devel | |
321 | %defattr(644,root,root,755) | |
322 | %attr(755,root,root) %{_libdir}/libaqnone.so | |
323 | %{_libdir}/libaqnone.la | |
324 | ||
325 | %files backend-aqnone-static | |
326 | %defattr(644,root,root,755) | |
327 | %{_libdir}/libaqnone.a | |
328 | ||
12082d70 JB |
329 | %files backend-aqofxconnect |
330 | %defattr(644,root,root,755) | |
331 | %attr(755,root,root) %{_libdir}/libaqofxconnect.so.*.*.* | |
fc748982 | 332 | %attr(755,root,root) %ghost %{_libdir}/libaqofxconnect.so.7 |
12082d70 JB |
333 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqofxconnect.so* |
334 | %{_libdir}/aqbanking/plugins/*/providers/aqofxconnect.xml | |
12082d70 JB |
335 | |
336 | %files backend-aqofxconnect-devel | |
337 | %defattr(644,root,root,755) | |
12082d70 JB |
338 | %attr(755,root,root) %{_libdir}/libaqofxconnect.so |
339 | %{_libdir}/libaqofxconnect.la | |
12082d70 JB |
340 | |
341 | %files backend-aqofxconnect-static | |
342 | %defattr(644,root,root,755) | |
343 | %{_libdir}/libaqofxconnect.a |