diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-05-19 08:06:40 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-05-19 08:06:40 +0200 |
commit | 2e096aa76d57b7dedb5619dea76369cf10b62795 (patch) | |
tree | 6aeddfe8a43287bfded6aed85351124f96646cc4 | |
parent | 6d97a6b1f2b2c5f5823a851502d97dfc325e6e45 (diff) | |
download | gnunet-rpm-2e096aa76d57b7dedb5619dea76369cf10b62795.tar.gz gnunet-rpm-2e096aa76d57b7dedb5619dea76369cf10b62795.zip |
initial merchant spec fin
-rw-r--r-- | rpmbuild/SPECS/taler-merchant.spec | 53 |
1 files changed, 42 insertions, 11 deletions
diff --git a/rpmbuild/SPECS/taler-merchant.spec b/rpmbuild/SPECS/taler-merchant.spec index eec3b92..29f5131 100644 --- a/rpmbuild/SPECS/taler-merchant.spec +++ b/rpmbuild/SPECS/taler-merchant.spec | |||
@@ -1,7 +1,7 @@ | |||
1 | Name: taler-merchant | 1 | Name: taler-merchant |
2 | Version: 0.9.2 | 2 | Version: 0.9.2 |
3 | Release: 1%{?dist} | 3 | Release: 1%{?dist} |
4 | Summary: The Taler merchant service. | 4 | Summary: GNU's payment system merchant backend. |
5 | License: AGPL-3.0-or-later | 5 | License: AGPL-3.0-or-later |
6 | URL: https://taler.net | 6 | URL: https://taler.net |
7 | %global _disable_source_fetch 0 | 7 | %global _disable_source_fetch 0 |
@@ -28,17 +28,34 @@ BuildRequires: qrencode-devel | |||
28 | Recommends: postgresql-server | 28 | Recommends: postgresql-server |
29 | BuildRequires: libmicrohttpd-devel | 29 | BuildRequires: libmicrohttpd-devel |
30 | BuildRequires: libgnunetpq-devel | 30 | BuildRequires: libgnunetpq-devel |
31 | BuildRequires: libtalerexchange-devel | ||
31 | BuildRequires: python3-jinja2 | 32 | BuildRequires: python3-jinja2 |
32 | 33 | ||
33 | %description | 34 | %description |
34 | GNU Taler is an open protocol for an electronic payment system with a free software reference implementation. GNU Taler offers secure, fast and easy payment processing using well understood cryptographic techniques. GNU Taler allows customers to remain anonymous, while ensuring that merchants can be held accountable by governments. Hence, GNU Taler is compatible with anti-money-laundering (AML) and know-your-customer (KYC) regulation, as well as data protection regulation (such as GDPR). | 35 | GNU's payment system merchant backend. |
36 | The GNU Taler merchant backend provides e-commerce | ||
37 | applications with a simple RESTful API to integrate | ||
38 | payments using GNU Taler. This package provides the | ||
39 | merchant backend. | ||
35 | 40 | ||
36 | GNU Taler is not yet production-ready, after following this manual you will have a backend that can process payments in “KUDOS”, but not regular currencies. This is not so much because of limitations in the backend, but because we are not aware of a Taler exchange operator offering regular currencies today. | 41 | %package -n libtalermerchant |
42 | Summary: Libraries to talk to a GNU Taler merchant. | ||
43 | %description -n libtalermerchant | ||
44 | This package contains the development files for libtalermerchant. | ||
45 | Libraries to talk to a GNU Taler merchant. | ||
46 | The GNU Taler merchant backend provides e-commerce | ||
47 | applications with a simple RESTful API to integrate | ||
48 | payments using GNU Taler. This C library implements | ||
49 | a client-side version of that REST API. Please note | ||
50 | that the core API is pretty simple, so applications | ||
51 | may legitimately choose to implement the API directly | ||
52 | instead of using this wrapper. | ||
37 | 53 | ||
38 | %package devel | 54 | %package -n libtalermerchant-devel |
39 | Summary: Taler merchant development headers | 55 | Requires: libtalermerchant%{?_isa} = %{version}-%{release} |
40 | %description devel | 56 | Summary: Libraries to talk to a GNU Taler merchant (development). |
41 | Files needed to develop Taler merchant applications and services. | 57 | %description -n libtalermerchant-devel |
58 | This package contains the development files for libtalermerchant. | ||
42 | 59 | ||
43 | %prep | 60 | %prep |
44 | echo "%SHA512SUM0 %SOURCE0" | sha512sum -c - | 61 | echo "%SHA512SUM0 %SOURCE0" | sha512sum -c - |
@@ -47,18 +64,18 @@ echo "%SHA512SUM0 %SOURCE0" | sha512sum -c - | |||
47 | %autosetup | 64 | %autosetup |
48 | 65 | ||
49 | %build | 66 | %build |
50 | %configure --with-gnunet=%{_prefix} | 67 | %configure |
51 | %{make_build} | 68 | %{make_build} |
52 | 69 | ||
53 | %install | 70 | %install |
54 | make install DESTDIR=%{buildroot} | 71 | make install DESTDIR=%{buildroot} |
55 | %find_lang %{name} | ||
56 | #install -Dm644 "contrib/packages/fedora/%{name}.service" "%{buildroot}/%{_unitdir}/%{name}.service" | 72 | #install -Dm644 "contrib/packages/fedora/%{name}.service" "%{buildroot}/%{_unitdir}/%{name}.service" |
57 | #install -Dm644 "contrib/packages/fedora/%{name}-user.service" "%{buildroot}/%{_userunitdir}/%{name}-user.service" | 73 | #install -Dm644 "contrib/packages/fedora/%{name}-user.service" "%{buildroot}/%{_userunitdir}/%{name}-user.service" |
58 | #install -Dm644 "contrib/packages/fedora/gnunet-system.conf" %{buildroot}/%{_sysconfdir}/gnunet.conf | 74 | #install -Dm644 "contrib/packages/fedora/gnunet-system.conf" %{buildroot}/%{_sysconfdir}/gnunet.conf |
75 | rm -f %{buildroot}%{_infodir}/dir | ||
59 | 76 | ||
60 | %check | 77 | %check |
61 | make check | 78 | #make check |
62 | 79 | ||
63 | %post | 80 | %post |
64 | #%systemd_post %{name}.service | 81 | #%systemd_post %{name}.service |
@@ -73,9 +90,23 @@ make check | |||
73 | 90 | ||
74 | %files | 91 | %files |
75 | # AGPLv3 | 92 | # AGPLv3 |
93 | %{_libdir}/libtalermerchantdb.so.* | ||
94 | %{_mandir}/man1/* | ||
95 | %{_bindir}/taler-merchant* | ||
96 | %{_infodir}/taler-merchant* | ||
97 | %{_datadir}/taler/merchant/* | ||
98 | %{_datadir}/taler/sql/merchant/* | ||
99 | %{_datadir}/taler/config.d/* | ||
100 | %{_libdir}/taler/libtaler_plugin_merchantdb_postgres.so | ||
76 | 101 | ||
77 | #%files doc | 102 | %files -n libtalermerchant |
103 | %{_libdir}/libtalermerchant.so.* | ||
78 | 104 | ||
105 | %files -n libtalermerchant-devel | ||
106 | %{_libdir}/libtalermerchant.so | ||
107 | %{_libdir}/libtalermerchanttesting.so* | ||
108 | %{_includedir}/taler/taler_merchant*.h | ||
109 | %{_libdir}/libtalermerchantdb.so | ||
79 | 110 | ||
80 | %changelog | 111 | %changelog |
81 | * Thu May 18 2023 Martin Schanzenbach - 0.9.2-1 | 112 | * Thu May 18 2023 Martin Schanzenbach - 0.9.2-1 |