aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-05-19 08:06:40 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2023-05-19 08:06:40 +0200
commit2e096aa76d57b7dedb5619dea76369cf10b62795 (patch)
tree6aeddfe8a43287bfded6aed85351124f96646cc4
parent6d97a6b1f2b2c5f5823a851502d97dfc325e6e45 (diff)
downloadgnunet-rpm-2e096aa76d57b7dedb5619dea76369cf10b62795.tar.gz
gnunet-rpm-2e096aa76d57b7dedb5619dea76369cf10b62795.zip
initial merchant spec fin
-rw-r--r--rpmbuild/SPECS/taler-merchant.spec53
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 @@
1Name: taler-merchant 1Name: taler-merchant
2Version: 0.9.2 2Version: 0.9.2
3Release: 1%{?dist} 3Release: 1%{?dist}
4Summary: The Taler merchant service. 4Summary: GNU's payment system merchant backend.
5License: AGPL-3.0-or-later 5License: AGPL-3.0-or-later
6URL: https://taler.net 6URL: https://taler.net
7%global _disable_source_fetch 0 7%global _disable_source_fetch 0
@@ -28,17 +28,34 @@ BuildRequires: qrencode-devel
28Recommends: postgresql-server 28Recommends: postgresql-server
29BuildRequires: libmicrohttpd-devel 29BuildRequires: libmicrohttpd-devel
30BuildRequires: libgnunetpq-devel 30BuildRequires: libgnunetpq-devel
31BuildRequires: libtalerexchange-devel
31BuildRequires: python3-jinja2 32BuildRequires: python3-jinja2
32 33
33%description 34%description
34GNU 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). 35GNU's payment system merchant backend.
36The GNU Taler merchant backend provides e-commerce
37applications with a simple RESTful API to integrate
38payments using GNU Taler. This package provides the
39merchant backend.
35 40
36GNU 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
42Summary: Libraries to talk to a GNU Taler merchant.
43%description -n libtalermerchant
44This package contains the development files for libtalermerchant.
45Libraries to talk to a GNU Taler merchant.
46The GNU Taler merchant backend provides e-commerce
47applications with a simple RESTful API to integrate
48payments using GNU Taler. This C library implements
49a client-side version of that REST API. Please note
50that the core API is pretty simple, so applications
51may legitimately choose to implement the API directly
52instead of using this wrapper.
37 53
38%package devel 54%package -n libtalermerchant-devel
39Summary: Taler merchant development headers 55Requires: libtalermerchant%{?_isa} = %{version}-%{release}
40%description devel 56Summary: Libraries to talk to a GNU Taler merchant (development).
41Files needed to develop Taler merchant applications and services. 57%description -n libtalermerchant-devel
58This package contains the development files for libtalermerchant.
42 59
43%prep 60%prep
44echo "%SHA512SUM0 %SOURCE0" | sha512sum -c - 61echo "%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
54make install DESTDIR=%{buildroot} 71make 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
75rm -f %{buildroot}%{_infodir}/dir
59 76
60%check 77%check
61make 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