]>
Commit | Line | Data |
---|---|---|
a2da3cea | 1 | Summary: A library for online banking functions and financial data import/export |
b5aeef67 | 2 | Summary(pl.UTF-8): Biblioteka do funkcji bankowych online oraz importu/eksportu danych finansowych |
a2da3cea | 3 | Name: aqbanking |
44e5d7c2 | 4 | Version: 5.0.14 |
e781afa4 | 5 | Release: 2 |
033528e2 | 6 | License: GPL v2+ |
a2da3cea | 7 | Group: Libraries |
11c19eff AF |
8 | # http://www2.aquamaniac.de/sites/download/packages.php |
9 | Source0: %{name}-%{version}.tar.gz | |
44e5d7c2 | 10 | # Source0-md5: c489bc8a8621d77653f09cae1ceb06e8 |
a2da3cea JB |
11 | URL: http://www.aquamaniac.de/aqbanking/ |
12 | BuildRequires: autoconf >= 2.56 | |
13 | BuildRequires: automake | |
14 | BuildRequires: gettext-devel | |
11c19eff | 15 | BuildRequires: gmp-devel |
033528e2 | 16 | BuildRequires: gwenhywfar-devel >= 4.0.4 |
11c19eff | 17 | BuildRequires: ktoblzcheck-devel >= 1.10 |
a2da3cea | 18 | BuildRequires: libtool >= 2:1.5 |
b81d0431 | 19 | BuildRequires: pkgconfig |
8f44b7fc | 20 | BuildRequires: which |
d0bd29fe JB |
21 | Requires: gwenhywfar >= 4.0.4 |
22 | Requires: ktoblzcheck >= 1.10 | |
11c19eff AF |
23 | Obsoletes: aqbanking-backend-aqdtaus |
24 | Obsoletes: aqbanking-backend-aqdtaus-devel | |
25 | Obsoletes: aqbanking-backend-aqdtaus-static | |
26 | Obsoletes: aqbanking-backend-aqgeldkarte | |
27 | Obsoletes: aqbanking-backend-aqgeldkarte-devel | |
28 | Obsoletes: aqbanking-backend-aqgeldkarte-static | |
29 | Obsoletes: aqbanking-backend-aqyellownet | |
30 | Obsoletes: aqbanking-backend-aqyellownet-devel | |
31 | Obsoletes: aqbanking-backend-aqyellownet-static | |
8f44b7fc | 32 | Obsoletes: aqbanking-frontend-cbanking |
33 | Obsoletes: aqbanking-frontend-cbanking-devel | |
34 | Obsoletes: aqbanking-frontend-cbanking-static | |
35 | Obsoletes: aqbanking-frontend-fbanking | |
36 | Obsoletes: aqbanking-frontend-fbanking-devel | |
37 | Obsoletes: aqbanking-frontend-fbanking-static | |
38 | Obsoletes: aqbanking-frontend-g2banking | |
39 | Obsoletes: aqbanking-frontend-g2banking-devel | |
40 | Obsoletes: aqbanking-frontend-g2banking-static | |
41 | Obsoletes: aqbanking-frontend-kbanking | |
42 | Obsoletes: aqbanking-frontend-kbanking-devel | |
43 | Obsoletes: aqbanking-frontend-kbanking-static | |
b924054a | 44 | Obsoletes: aqbanking-frontend-qbanking |
45 | Obsoletes: aqbanking-frontend-qbanking-devel | |
46 | Obsoletes: aqbanking-frontend-qbanking-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). | |
033528e2 | 63 | Pierwszy, już obsługiwany backend to AqHBCI - biblioteka |
64 | implementująca klienta niemieckiego protokołu HBCI (Home Baking | |
65 | Computer Interface). Ponadto Aqbanking dostarcza różne wtyczki | |
66 | upraszczające importowanie i eksportowanie danych finansowych. | |
67 | Aktualnie istnieją wtyczki do importu następujących formatów: DTAUS | |
68 | (niemiecki format finansowy), SWIFT (MT940 oraz MT942). | |
a2da3cea JB |
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} | |
fff019fd | 75 | Requires: gwenhywfar-devel >= 4.0.4 |
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 | ||
833832ad JB |
95 | %package c++ |
96 | Summary: C++ interface for AqBanking library | |
97 | Summary(pl.UTF-8): Interfejs C++ do biblioteki AqBanking | |
98 | Group: Libraries | |
99 | Requires: %{name} = %{version}-%{release} | |
100 | ||
101 | %description c++ | |
102 | C++ interface for AqBanking library. | |
103 | ||
104 | %description c++ -l pl.UTF-8 | |
105 | Interfejs C++ do biblioteki AqBanking. | |
106 | ||
107 | %package c++-devel | |
108 | Summary: Header files for aqbankingpp library | |
109 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki aqbankingpp | |
110 | Group: Development/Libraries | |
111 | Requires: %{name}-c++ = %{version}-%{release} | |
112 | Requires: %{name}-devel = %{version}-%{release} | |
113 | Requires: libstdc++-devel | |
114 | ||
115 | %description c++-devel | |
116 | Header files for aqbankingpp library. | |
117 | ||
118 | %description c++-devel -l pl.UTF-8 | |
119 | Pliki nagłówkowe biblioteki aqbankingpp. | |
120 | ||
121 | %package c++-static | |
122 | Summary: Static aqbankingpp library | |
123 | Summary(pl.UTF-8): Statyczna biblioteka aqbankingpp | |
124 | Group: Development/Libraries | |
125 | Requires: %{name}-c++-devel = %{version}-%{release} | |
126 | ||
127 | %description c++-static | |
128 | Static aqbankingpp library. | |
129 | ||
130 | %description c++-static -l pl.UTF-8 | |
131 | Statyczna biblioteka aqbankingpp. | |
132 | ||
12082d70 JB |
133 | %package backend-aqhbci |
134 | Summary: AqHBCI backend for AqBanking library | |
b5aeef67 | 135 | Summary(pl.UTF-8): Backend AqHBCI dla biblioteki AqBanking |
12082d70 JB |
136 | Group: Libraries |
137 | Requires: %{name} = %{version}-%{release} | |
cd91c8b4 AF |
138 | Obsoletes: aqbanking-backend-aqhbci-devel |
139 | Obsoletes: aqbanking-backend-aqhbci-static | |
12082d70 JB |
140 | |
141 | %description backend-aqhbci | |
142 | AqHBCI backend for AqBanking library. | |
143 | ||
684f7fee | 144 | %description backend-aqhbci -l pl.UTF-8 |
12082d70 JB |
145 | Backend AqHBCI dla biblioteki AqBanking. |
146 | ||
b81d0431 JB |
147 | %package backend-aqnone |
148 | Summary: Aqnone backend for AqBanking library | |
149 | Summary(pl.UTF-8): Backend Aqnone dla biblioteki AqBanking | |
150 | Group: Libraries | |
151 | Requires: %{name} = %{version}-%{release} | |
cd91c8b4 AF |
152 | Obsoletes: aqbanking-backend-aqnone-devel |
153 | Obsoletes: aqbanking-backend-aqnone-static | |
b81d0431 JB |
154 | |
155 | %description backend-aqnone | |
156 | Aqnone backend for AqBanking library. | |
157 | ||
158 | %description backend-aqnone -l pl.UTF-8 | |
159 | Backend Aqnone dla biblioteki AqBanking. | |
160 | ||
12082d70 JB |
161 | %package backend-aqofxconnect |
162 | Summary: AqOFXConnect backend for AqBanking library | |
b5aeef67 | 163 | Summary(pl.UTF-8): Backend AqOFXConnect dla biblioteki AqBanking |
12082d70 JB |
164 | Group: Libraries |
165 | Requires: %{name} = %{version}-%{release} | |
cd91c8b4 AF |
166 | Obsoletes: aqbanking-backend-aqofxconnect-devel |
167 | Obsoletes: aqbanking-backend-aqofxconnect-static | |
12082d70 JB |
168 | |
169 | %description backend-aqofxconnect | |
170 | AqOFXConnect backend for AqBanking library. | |
171 | ||
684f7fee | 172 | %description backend-aqofxconnect -l pl.UTF-8 |
12082d70 JB |
173 | Backend AqOFXConnect dla biblioteki AqBanking. |
174 | ||
d0bd29fe JB |
175 | %package backend-aqpaypal |
176 | Summary: AqPayPal backend for AqBanking library | |
177 | Summary(pl.UTF-8): Backend AqPayPal dla biblioteki AqBanking | |
178 | License: GPL v2+ when used in particular applications | |
179 | Group: Libraries | |
180 | Requires: %{name} = %{version}-%{release} | |
181 | ||
182 | %description backend-aqpaypal | |
183 | AqPayPal backend for AqBanking library. | |
184 | ||
185 | %description backend-aqpaypal -l pl.UTF-8 | |
186 | Backend AqPayPal dla biblioteki AqBanking. | |
187 | ||
a2da3cea JB |
188 | %prep |
189 | %setup -q | |
a2da3cea JB |
190 | |
191 | %build | |
192 | %{__libtoolize} | |
193 | %{__aclocal} -I m4 | |
194 | %{__autoconf} | |
195 | %{__autoheader} | |
196 | %{__automake} | |
197 | %configure \ | |
12082d70 | 198 | --enable-static \ |
d0bd29fe | 199 | --with-backends="aqhbci aqnone aqofxconnect aqpaypal" |
a2da3cea | 200 | |
41d66290 | 201 | %{__make} -j1 |
a2da3cea JB |
202 | |
203 | %install | |
204 | rm -rf $RPM_BUILD_ROOT | |
205 | ||
41d66290 | 206 | %{__make} install -j1 \ |
a2da3cea JB |
207 | DESTDIR=$RPM_BUILD_ROOT |
208 | ||
cd91c8b4 AF |
209 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/aqbanking/plugins/*/*/*.{la,a} \ |
210 | $RPM_BUILD_ROOT%{_libdir}/gwenhywfar/plugins/*/*/*.{la,a} \ | |
211 | $RPM_BUILD_ROOT%{_libdir}/*.la \ | |
d0bd29fe | 212 | $RPM_BUILD_ROOT%{_libdir}/libaq{hbci,none,ofxconnect,paypal}.{a,so} |
b81d0431 | 213 | |
a2da3cea JB |
214 | %find_lang %{name} |
215 | ||
216 | %clean | |
217 | rm -rf $RPM_BUILD_ROOT | |
218 | ||
219 | %post -p /sbin/ldconfig | |
220 | %postun -p /sbin/ldconfig | |
221 | ||
833832ad JB |
222 | %post c++ -p /sbin/ldconfig |
223 | %postun c++ -p /sbin/ldconfig | |
224 | ||
12082d70 JB |
225 | %post backend-aqhbci -p /sbin/ldconfig |
226 | %postun backend-aqhbci -p /sbin/ldconfig | |
227 | ||
b81d0431 JB |
228 | %post backend-aqnone -p /sbin/ldconfig |
229 | %postun backend-aqnone -p /sbin/ldconfig | |
230 | ||
12082d70 JB |
231 | %post backend-aqofxconnect -p /sbin/ldconfig |
232 | %postun backend-aqofxconnect -p /sbin/ldconfig | |
233 | ||
d0bd29fe JB |
234 | %post backend-aqpaypal -p /sbin/ldconfig |
235 | %postun backend-aqpaypal -p /sbin/ldconfig | |
236 | ||
a2da3cea JB |
237 | %files -f %{name}.lang |
238 | %defattr(644,root,root,755) | |
87384056 | 239 | %doc ChangeLog README TODO |
73ccb4d4 | 240 | %attr(755,root,root) %{_bindir}/aqbanking-cli |
a2da3cea | 241 | %attr(755,root,root) %{_libdir}/libaqbanking.so.*.*.* |
fc748982 | 242 | %attr(755,root,root) %ghost %{_libdir}/libaqbanking.so.33 |
a2da3cea JB |
243 | %dir %{_libdir}/aqbanking |
244 | %dir %{_libdir}/aqbanking/plugins | |
245 | %dir %{_libdir}/aqbanking/plugins/* | |
246 | %dir %{_libdir}/aqbanking/plugins/*/bankinfo | |
12082d70 JB |
247 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/bankinfo/*.so* |
248 | %{_libdir}/aqbanking/plugins/*/bankinfo/*.xml | |
a2da3cea | 249 | %dir %{_libdir}/aqbanking/plugins/*/imexporters |
12082d70 JB |
250 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/imexporters/*.so* |
251 | %{_libdir}/aqbanking/plugins/*/imexporters/*.xml | |
252 | %dir %{_libdir}/aqbanking/plugins/*/providers | |
a2da3cea JB |
253 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/dbio/*.so* |
254 | %{_libdir}/gwenhywfar/plugins/*/dbio/*.xml | |
9742c77b | 255 | %dir %{_datadir}/aqbanking |
cd91c8b4 | 256 | %dir %{_datadir}/aqbanking/backends |
1632b737 | 257 | %dir %{_datadir}/aqbanking/aqbanking |
cd91c8b4 | 258 | %{_datadir}/aqbanking/aqbanking/typemaker2 |
9742c77b | 259 | %{_datadir}/aqbanking/bankinfo |
cd91c8b4 | 260 | %{_datadir}/aqbanking/dialogs |
9742c77b | 261 | %{_datadir}/aqbanking/imexporters |
cd91c8b4 | 262 | %{_datadir}/aqbanking/typemaker2 |
a2da3cea JB |
263 | |
264 | %files devel | |
265 | %defattr(644,root,root,755) | |
266 | %attr(755,root,root) %{_bindir}/aqbanking-config | |
267 | %attr(755,root,root) %{_libdir}/libaqbanking.so | |
833832ad JB |
268 | %dir %{_includedir}/aqbanking5 |
269 | %{_includedir}/aqbanking5/aqbanking | |
270 | %{_includedir}/aqbanking5/aqhbci | |
271 | %{_includedir}/aqbanking5/aqofxconnect | |
d0bd29fe | 272 | %{_includedir}/aqpaypal |
a2da3cea | 273 | %{_aclocaldir}/aqbanking.m4 |
12082d70 | 274 | %{_pkgconfigdir}/aqbanking.pc |
a2da3cea JB |
275 | |
276 | %files static | |
277 | %defattr(644,root,root,755) | |
278 | %{_libdir}/libaqbanking.a | |
41d66290 | 279 | |
833832ad JB |
280 | %files c++ |
281 | %defattr(644,root,root,755) | |
282 | %attr(755,root,root) %{_libdir}/libaqbankingpp.so.*.*.* | |
283 | %attr(755,root,root) %ghost %{_libdir}/libaqbankingpp.so.0 | |
284 | ||
285 | %files c++-devel | |
286 | %defattr(644,root,root,755) | |
287 | %attr(755,root,root) %{_libdir}/libaqbankingpp.so | |
288 | %{_includedir}/aqbanking5/aqbankingpp | |
289 | ||
290 | %files c++-static | |
291 | %defattr(644,root,root,755) | |
292 | %{_libdir}/libaqbankingpp.a | |
293 | ||
12082d70 JB |
294 | %files backend-aqhbci |
295 | %defattr(644,root,root,755) | |
73ccb4d4 | 296 | %attr(755,root,root) %{_bindir}/aqhbci-tool4 |
9742c77b | 297 | %attr(755,root,root) %{_bindir}/hbcixml3 |
12082d70 | 298 | %attr(755,root,root) %{_libdir}/libaqhbci.so.*.*.* |
44e5d7c2 | 299 | %attr(755,root,root) %ghost %{_libdir}/libaqhbci.so.20 |
d0bd29fe | 300 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqhbci.so |
12082d70 | 301 | %{_libdir}/aqbanking/plugins/*/providers/aqhbci.xml |
868b632d | 302 | %dir %{_datadir}/aqbanking/backends |
9742c77b | 303 | %{_datadir}/aqbanking/backends/aqhbci |
12082d70 | 304 | |
b81d0431 JB |
305 | %files backend-aqnone |
306 | %defattr(644,root,root,755) | |
307 | %attr(755,root,root) %{_libdir}/libaqnone.so.*.*.* | |
fc748982 | 308 | %attr(755,root,root) %ghost %{_libdir}/libaqnone.so.33 |
d0bd29fe | 309 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqnone.so |
b81d0431 JB |
310 | %{_libdir}/aqbanking/plugins/*/providers/aqnone.xml |
311 | ||
12082d70 JB |
312 | %files backend-aqofxconnect |
313 | %defattr(644,root,root,755) | |
314 | %attr(755,root,root) %{_libdir}/libaqofxconnect.so.*.*.* | |
fc748982 | 315 | %attr(755,root,root) %ghost %{_libdir}/libaqofxconnect.so.7 |
d0bd29fe | 316 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqofxconnect.so |
12082d70 | 317 | %{_libdir}/aqbanking/plugins/*/providers/aqofxconnect.xml |
cd91c8b4 | 318 | %{_datadir}/aqbanking/backends/aqofxconnect |
d0bd29fe JB |
319 | |
320 | %files backend-aqpaypal | |
321 | %defattr(644,root,root,755) | |
322 | %doc src/plugins/backends/aqpaypal/COPYING | |
323 | %attr(755,root,root) %{_bindir}/aqpaypal-tool | |
324 | %attr(755,root,root) %{_libdir}/libaqpaypal.so.*.*.* | |
325 | %attr(755,root,root) %ghost %{_libdir}/libaqpaypal.so.0 | |
326 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqpaypal.so | |
327 | %{_libdir}/aqbanking/plugins/*/providers/aqpaypal.xml | |
328 | %{_datadir}/aqbanking/backends/aqpaypal |