diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-05-18 19:51:19 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-05-18 19:51:19 +0200 |
commit | 52c92f7c478baebd4b89f5aeb0ba8c1d2cca0b9a (patch) | |
tree | 5e2f7397f32e1d5e1d95e9ce158d83e7ae1e03ea | |
parent | 7803233c8d7f823753d48c068ac865a32b0d0261 (diff) | |
download | gnunet-rpm-52c92f7c478baebd4b89f5aeb0ba8c1d2cca0b9a.tar.gz gnunet-rpm-52c92f7c478baebd4b89f5aeb0ba8c1d2cca0b9a.zip |
exchange spec
-rw-r--r-- | rpmbuild/SPECS/taler-exchange.spec | 40 |
1 files changed, 19 insertions, 21 deletions
diff --git a/rpmbuild/SPECS/taler-exchange.spec b/rpmbuild/SPECS/taler-exchange.spec index ea1add0..119de15 100644 --- a/rpmbuild/SPECS/taler-exchange.spec +++ b/rpmbuild/SPECS/taler-exchange.spec | |||
@@ -110,16 +110,19 @@ echo "%SHA512SUM0 %SOURCE0" | sha512sum -c - | |||
110 | 110 | ||
111 | %install | 111 | %install |
112 | make install DESTDIR=%{buildroot} | 112 | make install DESTDIR=%{buildroot} |
113 | %find_lang %{name} | 113 | #%find_lang %{name} |
114 | install debian/etc-libtalerexchange/* etc/ | 114 | # FIXME: Installing default configs. Those must be shipped in the tarball. |
115 | install debian/etc-taler-auditor/* etc/ | 115 | #install debian/etc-libtalerexchange/* etc/ |
116 | install debian/etc-taler-exchange/* etc/ | 116 | #install debian/etc-taler-auditor/* etc/ |
117 | #install debian/etc-taler-exchange/* etc/ | ||
117 | #install -Dm644 "contrib/packages/fedora/%{name}.service" "%{buildroot}/%{_unitdir}/%{name}.service" | 118 | #install -Dm644 "contrib/packages/fedora/%{name}.service" "%{buildroot}/%{_unitdir}/%{name}.service" |
118 | #install -Dm644 "contrib/packages/fedora/%{name}-user.service" "%{buildroot}/%{_userunitdir}/%{name}-user.service" | 119 | #install -Dm644 "contrib/packages/fedora/%{name}-user.service" "%{buildroot}/%{_userunitdir}/%{name}-user.service" |
119 | #install -Dm644 "contrib/packages/fedora/gnunet-system.conf" %{buildroot}/%{_sysconfdir}/gnunet.conf | 120 | #install -Dm644 "contrib/packages/fedora/gnunet-system.conf" %{buildroot}/%{_sysconfdir}/gnunet.conf |
121 | rm -f %{buildroot}%{_infodir}/dir | ||
120 | 122 | ||
121 | %check | 123 | %check |
122 | make check | 124 | # FIXME test builds require installed libtalerexchange. May be upstream bug. |
125 | #make check | ||
123 | 126 | ||
124 | %post | 127 | %post |
125 | #%systemd_post %{name}.service | 128 | #%systemd_post %{name}.service |
@@ -147,11 +150,10 @@ make check | |||
147 | %{_bindir}/taler-exchange-transfer | 150 | %{_bindir}/taler-exchange-transfer |
148 | %{_bindir}/taler-exchange-wirewatch | 151 | %{_bindir}/taler-exchange-wirewatch |
149 | %{_bindir}/taler-exchange-wire-gateway-client | 152 | %{_bindir}/taler-exchange-wire-gateway-client |
150 | %{_libdir}/*/taler/libtaler_plugin_kyclogic_*.so | 153 | %{_libdir}/taler/libtaler_plugin_kyclogic_*.so |
151 | %{_libdir}/*/taler/libtaler_extension_*.so | 154 | %{_libdir}/taler/libtaler_extension_*.so |
152 | %{_mandir}/man1/taler-exchange-aggregator* | 155 | %{_mandir}/man1/taler-exchange-aggregator* |
153 | %{_mandir}/man1/taler-exchange-closer* | 156 | %{_mandir}/man1/taler-exchange-closer* |
154 | %{_mandir}/man1/taler-exchange-dbinit* | ||
155 | %{_mandir}/man1/taler-exchange-drain* | 157 | %{_mandir}/man1/taler-exchange-drain* |
156 | %{_mandir}/man1/taler-exchange-expire* | 158 | %{_mandir}/man1/taler-exchange-expire* |
157 | %{_mandir}/man1/taler-exchange-httpd* | 159 | %{_mandir}/man1/taler-exchange-httpd* |
@@ -179,8 +181,9 @@ make check | |||
179 | %{_datadir}/taler/config.d/paths.conf | 181 | %{_datadir}/taler/config.d/paths.conf |
180 | %{_datadir}/taler/config.d/taler.conf | 182 | %{_datadir}/taler/config.d/taler.conf |
181 | %{_bindir}/taler-config | 183 | %{_bindir}/taler-config |
182 | %{_mandir}/man5/taler.conf.5 | ||
183 | %{_mandir}/man1/taler-config* | 184 | %{_mandir}/man1/taler-config* |
185 | %{_mandir}/man5/taler.conf.5.gz | ||
186 | %{_libdir}/libtaler*.so.* | ||
184 | 187 | ||
185 | %files -n libtalerexchange-devel | 188 | %files -n libtalerexchange-devel |
186 | # Benchmarks, only install them for the dev package. | 189 | # Benchmarks, only install them for the dev package. |
@@ -198,12 +201,7 @@ make check | |||
198 | # Headers | 201 | # Headers |
199 | %{_includedir}/taler/* | 202 | %{_includedir}/taler/* |
200 | # Plain .so symlinks | 203 | # Plain .so symlinks |
201 | %{_libdir}/*/libtaler*.so | 204 | %{_libdir}/libtaler*.so |
202 | # Testing libraries | ||
203 | %{_libdir}/*/libtalertesting.so.* | ||
204 | %{_libdir}/*/libtalerfakebank.so.* | ||
205 | %{_libdir}/*/libtalertesting.so | ||
206 | %{_libdir}/*/libtalerfakebank.so | ||
207 | # Documentation | 205 | # Documentation |
208 | %{_mandir}/man1/taler-exchange-benchmark* | 206 | %{_mandir}/man1/taler-exchange-benchmark* |
209 | %{_infodir}/taler-developer-manual* | 207 | %{_infodir}/taler-developer-manual* |
@@ -216,9 +214,9 @@ make check | |||
216 | %{_bindir}/taler-auditor-offline | 214 | %{_bindir}/taler-auditor-offline |
217 | %{_bindir}/taler-auditor-sync | 215 | %{_bindir}/taler-auditor-sync |
218 | %{_bindir}/taler-helper-auditor-* | 216 | %{_bindir}/taler-helper-auditor-* |
219 | %{_bindir}/*/taler/libtaler_plugin_auditor*.so | 217 | %{_libdir}/taler/libtaler_plugin_auditor*.so |
220 | %{_bindir}/*/libauditor* | 218 | %{_libdir}/libauditor* |
221 | %{_bindir}/*/libtalerauditordb* | 219 | %{_libdir}/libtalerauditordb* |
222 | %{_mandir}/man1/taler-auditor* | 220 | %{_mandir}/man1/taler-auditor* |
223 | %{_mandir}/man1/taler-helper-auditor* | 221 | %{_mandir}/man1/taler-helper-auditor* |
224 | %{_infodir}/taler-auditor* | 222 | %{_infodir}/taler-auditor* |
@@ -229,15 +227,15 @@ make check | |||
229 | 227 | ||
230 | %files database | 228 | %files database |
231 | %{_bindir}/taler-exchange-dbinit | 229 | %{_bindir}/taler-exchange-dbinit |
232 | %{_libdir}/*/taler/libtaler_plugin_exchange*.so | 230 | %{_libdir}/taler/libtaler_plugin_exchange*.so |
233 | %{_mandir}/man1/taler-exchange-dbinit.1 | ||
234 | %{_datadir}/taler/sql/exchange/* | 231 | %{_datadir}/taler/sql/exchange/* |
235 | %{_datadir}/taler/config.d/exchangedb.conf | 232 | %{_datadir}/taler/config.d/exchangedb.conf |
236 | %{_datadir}/taler/config.d/exchangedb-postgres.conf | 233 | %{_datadir}/taler/config.d/exchangedb-postgres.conf |
234 | %{_mandir}/man1/taler-exchange-dbinit.1.gz | ||
237 | 235 | ||
238 | %files offline | 236 | %files offline |
239 | %{_bindir}/taler-exchange-offline | 237 | %{_bindir}/taler-exchange-offline |
240 | %{_mandir}/man1/taler-exchange-offline* | 238 | %{_mandir}/*/taler-exchange-offline* |
241 | 239 | ||
242 | #%files doc | 240 | #%files doc |
243 | 241 | ||