]>
Commit | Line | Data |
---|---|---|
fc748982 | 1 | # |
44365514 | 2 | # TODO: - unpackaged files |
fc748982 | 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 |
d0712ee4 | 7 | Version: 5.0.5 |
8 | Release: 1 | |
033528e2 | 9 | License: GPL v2+ |
a2da3cea | 10 | Group: Libraries |
11c19eff AF |
11 | # http://www2.aquamaniac.de/sites/download/packages.php |
12 | Source0: %{name}-%{version}.tar.gz | |
d0712ee4 | 13 | # Source0-md5: b50c28887fc9fd2fc9a4d9fc996497e6 |
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 |
033528e2 | 19 | BuildRequires: gwenhywfar-devel >= 4.0.4 |
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 | |
b924054a | 47 | Obsoletes: aqbanking-frontend-qbanking |
48 | Obsoletes: aqbanking-frontend-qbanking-devel | |
49 | Obsoletes: aqbanking-frontend-qbanking-static | |
73ccb4d4 | 50 | Obsoletes: python-aqbanking |
a2da3cea JB |
51 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
52 | ||
53 | %description | |
54 | The intention of AqBanking is to provide a middle layer between the | |
55 | program and the various Online Banking libraries (e.g. AqHBCI). The | |
56 | first backend which is already supported is AqHBCI, a library which | |
57 | implements a client for the German HBCI (Home Banking Computer | |
58 | Interface) protocol. Additionally, Aqbanking provides various plugins | |
59 | to simplify import and export of financial data. Currently there are | |
60 | import plugins for the following formats: DTAUS (German financial | |
61 | format), SWIFT (MT940 and MT942). | |
62 | ||
684f7fee JR |
63 | %description -l pl.UTF-8 |
64 | Celem projektu AqBanking jest dostarczenie warstwy pośredniej między | |
65 | programem a różnymi bibliotekami usług bankowych online (np. AqHBCI). | |
033528e2 | 66 | Pierwszy, już obsługiwany backend to AqHBCI - biblioteka |
67 | implementująca klienta niemieckiego protokołu HBCI (Home Baking | |
68 | Computer Interface). Ponadto Aqbanking dostarcza różne wtyczki | |
69 | upraszczające importowanie i eksportowanie danych finansowych. | |
70 | Aktualnie istnieją wtyczki do importu następujących formatów: DTAUS | |
71 | (niemiecki format finansowy), SWIFT (MT940 oraz MT942). | |
a2da3cea JB |
72 | |
73 | %package devel | |
74 | Summary: Header files for AqBanking library | |
b5aeef67 | 75 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki AqBanking |
a2da3cea JB |
76 | Group: Development/Libraries |
77 | Requires: %{name} = %{version}-%{release} | |
fff019fd | 78 | Requires: gwenhywfar-devel >= 4.0.4 |
a2da3cea JB |
79 | |
80 | %description devel | |
81 | Header files for AqBanking library. | |
82 | ||
684f7fee JR |
83 | %description devel -l pl.UTF-8 |
84 | Pliki nagłówkowe biblioteki AqBanking. | |
a2da3cea JB |
85 | |
86 | %package static | |
87 | Summary: Static AqBanking libraries | |
b5aeef67 | 88 | Summary(pl.UTF-8): Statyczne biblioteki AqBanking |
a2da3cea JB |
89 | Group: Development/Libraries |
90 | Requires: %{name}-devel = %{version}-%{release} | |
91 | ||
92 | %description static | |
93 | Static AqBanking libraries. | |
94 | ||
684f7fee | 95 | %description static -l pl.UTF-8 |
a2da3cea JB |
96 | Statyczne biblioteki AqBanking. |
97 | ||
12082d70 JB |
98 | %package backend-aqhbci |
99 | Summary: AqHBCI backend for AqBanking library | |
b5aeef67 | 100 | Summary(pl.UTF-8): Backend AqHBCI dla biblioteki AqBanking |
12082d70 JB |
101 | Group: Libraries |
102 | Requires: %{name} = %{version}-%{release} | |
cd91c8b4 AF |
103 | Obsoletes: aqbanking-backend-aqhbci-devel |
104 | Obsoletes: aqbanking-backend-aqhbci-static | |
12082d70 JB |
105 | |
106 | %description backend-aqhbci | |
107 | AqHBCI backend for AqBanking library. | |
108 | ||
684f7fee | 109 | %description backend-aqhbci -l pl.UTF-8 |
12082d70 JB |
110 | Backend AqHBCI dla biblioteki AqBanking. |
111 | ||
b81d0431 JB |
112 | %package backend-aqnone |
113 | Summary: Aqnone backend for AqBanking library | |
114 | Summary(pl.UTF-8): Backend Aqnone dla biblioteki AqBanking | |
115 | Group: Libraries | |
116 | Requires: %{name} = %{version}-%{release} | |
cd91c8b4 AF |
117 | Obsoletes: aqbanking-backend-aqnone-devel |
118 | Obsoletes: aqbanking-backend-aqnone-static | |
b81d0431 JB |
119 | |
120 | %description backend-aqnone | |
121 | Aqnone backend for AqBanking library. | |
122 | ||
123 | %description backend-aqnone -l pl.UTF-8 | |
124 | Backend Aqnone dla biblioteki AqBanking. | |
125 | ||
12082d70 JB |
126 | %package backend-aqofxconnect |
127 | Summary: AqOFXConnect backend for AqBanking library | |
b5aeef67 | 128 | Summary(pl.UTF-8): Backend AqOFXConnect dla biblioteki AqBanking |
12082d70 JB |
129 | Group: Libraries |
130 | Requires: %{name} = %{version}-%{release} | |
cd91c8b4 AF |
131 | Obsoletes: aqbanking-backend-aqofxconnect-devel |
132 | Obsoletes: aqbanking-backend-aqofxconnect-static | |
12082d70 JB |
133 | |
134 | %description backend-aqofxconnect | |
135 | AqOFXConnect backend for AqBanking library. | |
136 | ||
684f7fee | 137 | %description backend-aqofxconnect -l pl.UTF-8 |
12082d70 JB |
138 | Backend AqOFXConnect dla biblioteki AqBanking. |
139 | ||
a2da3cea JB |
140 | %prep |
141 | %setup -q | |
a2da3cea JB |
142 | |
143 | %build | |
144 | %{__libtoolize} | |
145 | %{__aclocal} -I m4 | |
146 | %{__autoconf} | |
147 | %{__autoheader} | |
148 | %{__automake} | |
149 | %configure \ | |
41d66290 | 150 | --with-qt3-libs=%{_libdir} \ |
a2da3cea | 151 | --enable-libofx \ |
12082d70 | 152 | --enable-static \ |
11c19eff | 153 | --with-backends="aqhbci aqofxconnect aqnone" \ |
73ccb4d4 | 154 | --with-frontends="qbanking" |
a2da3cea | 155 | |
41d66290 | 156 | %{__make} -j1 |
a2da3cea JB |
157 | |
158 | %install | |
159 | rm -rf $RPM_BUILD_ROOT | |
160 | ||
41d66290 | 161 | %{__make} install -j1 \ |
a2da3cea JB |
162 | DESTDIR=$RPM_BUILD_ROOT |
163 | ||
cd91c8b4 AF |
164 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/aqbanking/plugins/*/*/*.{la,a} \ |
165 | $RPM_BUILD_ROOT%{_libdir}/gwenhywfar/plugins/*/*/*.{la,a} \ | |
166 | $RPM_BUILD_ROOT%{_libdir}/*.la \ | |
167 | $RPM_BUILD_ROOT%{_libdir}/libaq{hbci,none,ofxconnect}.{a,so} | |
b81d0431 | 168 | |
a2da3cea JB |
169 | %find_lang %{name} |
170 | ||
171 | %clean | |
172 | rm -rf $RPM_BUILD_ROOT | |
173 | ||
174 | %post -p /sbin/ldconfig | |
175 | %postun -p /sbin/ldconfig | |
176 | ||
12082d70 JB |
177 | %post backend-aqhbci -p /sbin/ldconfig |
178 | %postun backend-aqhbci -p /sbin/ldconfig | |
179 | ||
b81d0431 JB |
180 | %post backend-aqnone -p /sbin/ldconfig |
181 | %postun backend-aqnone -p /sbin/ldconfig | |
182 | ||
12082d70 JB |
183 | %post backend-aqofxconnect -p /sbin/ldconfig |
184 | %postun backend-aqofxconnect -p /sbin/ldconfig | |
185 | ||
a2da3cea JB |
186 | %files -f %{name}.lang |
187 | %defattr(644,root,root,755) | |
87384056 | 188 | %doc ChangeLog README TODO |
73ccb4d4 | 189 | %attr(755,root,root) %{_bindir}/aqbanking-cli |
a2da3cea | 190 | %attr(755,root,root) %{_libdir}/libaqbanking.so.*.*.* |
fc748982 | 191 | %attr(755,root,root) %ghost %{_libdir}/libaqbanking.so.33 |
a2da3cea JB |
192 | %dir %{_libdir}/aqbanking |
193 | %dir %{_libdir}/aqbanking/plugins | |
194 | %dir %{_libdir}/aqbanking/plugins/* | |
195 | %dir %{_libdir}/aqbanking/plugins/*/bankinfo | |
12082d70 JB |
196 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/bankinfo/*.so* |
197 | %{_libdir}/aqbanking/plugins/*/bankinfo/*.xml | |
a2da3cea | 198 | %dir %{_libdir}/aqbanking/plugins/*/imexporters |
12082d70 JB |
199 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/imexporters/*.so* |
200 | %{_libdir}/aqbanking/plugins/*/imexporters/*.xml | |
201 | %dir %{_libdir}/aqbanking/plugins/*/providers | |
a2da3cea JB |
202 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/dbio/*.so* |
203 | %{_libdir}/gwenhywfar/plugins/*/dbio/*.xml | |
9742c77b | 204 | %dir %{_datadir}/aqbanking |
cd91c8b4 | 205 | %dir %{_datadir}/aqbanking/backends |
1632b737 | 206 | %dir %{_datadir}/aqbanking/aqbanking |
cd91c8b4 | 207 | %{_datadir}/aqbanking/aqbanking/typemaker2 |
9742c77b | 208 | %{_datadir}/aqbanking/bankinfo |
cd91c8b4 | 209 | %{_datadir}/aqbanking/dialogs |
9742c77b | 210 | %{_datadir}/aqbanking/imexporters |
cd91c8b4 | 211 | %{_datadir}/aqbanking/typemaker2 |
a2da3cea JB |
212 | |
213 | %files devel | |
214 | %defattr(644,root,root,755) | |
215 | %attr(755,root,root) %{_bindir}/aqbanking-config | |
216 | %attr(755,root,root) %{_libdir}/libaqbanking.so | |
fc748982 | 217 | %{_includedir}/aqbanking5 |
a2da3cea | 218 | %{_aclocaldir}/aqbanking.m4 |
12082d70 | 219 | %{_pkgconfigdir}/aqbanking.pc |
a2da3cea JB |
220 | |
221 | %files static | |
222 | %defattr(644,root,root,755) | |
223 | %{_libdir}/libaqbanking.a | |
41d66290 | 224 | |
12082d70 JB |
225 | %files backend-aqhbci |
226 | %defattr(644,root,root,755) | |
73ccb4d4 | 227 | %attr(755,root,root) %{_bindir}/aqhbci-tool4 |
9742c77b | 228 | %attr(755,root,root) %{_bindir}/hbcixml3 |
12082d70 | 229 | %attr(755,root,root) %{_libdir}/libaqhbci.so.*.*.* |
fc748982 | 230 | %attr(755,root,root) %ghost %{_libdir}/libaqhbci.so.19 |
12082d70 JB |
231 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqhbci.so* |
232 | %{_libdir}/aqbanking/plugins/*/providers/aqhbci.xml | |
868b632d | 233 | %dir %{_datadir}/aqbanking/backends |
9742c77b | 234 | %{_datadir}/aqbanking/backends/aqhbci |
12082d70 | 235 | |
b81d0431 JB |
236 | %files backend-aqnone |
237 | %defattr(644,root,root,755) | |
238 | %attr(755,root,root) %{_libdir}/libaqnone.so.*.*.* | |
fc748982 | 239 | %attr(755,root,root) %ghost %{_libdir}/libaqnone.so.33 |
b81d0431 JB |
240 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqnone.so* |
241 | %{_libdir}/aqbanking/plugins/*/providers/aqnone.xml | |
242 | ||
12082d70 JB |
243 | %files backend-aqofxconnect |
244 | %defattr(644,root,root,755) | |
245 | %attr(755,root,root) %{_libdir}/libaqofxconnect.so.*.*.* | |
fc748982 | 246 | %attr(755,root,root) %ghost %{_libdir}/libaqofxconnect.so.7 |
12082d70 JB |
247 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqofxconnect.so* |
248 | %{_libdir}/aqbanking/plugins/*/providers/aqofxconnect.xml | |
cd91c8b4 | 249 | %{_datadir}/aqbanking/backends/aqofxconnect |