gnunet-rpm

GNUnet RPM package rules
Log | Files | Refs | README

commit 2e096aa76d57b7dedb5619dea76369cf10b62795
parent 6d97a6b1f2b2c5f5823a851502d97dfc325e6e45
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date:   Fri, 19 May 2023 08:06:40 +0200

initial merchant spec fin

Diffstat:
Mrpmbuild/SPECS/taler-merchant.spec | 53++++++++++++++++++++++++++++++++++++++++++-----------
1 file changed, 42 insertions(+), 11 deletions(-)

diff --git a/rpmbuild/SPECS/taler-merchant.spec b/rpmbuild/SPECS/taler-merchant.spec @@ -1,7 +1,7 @@ Name: taler-merchant Version: 0.9.2 Release: 1%{?dist} -Summary: The Taler merchant service. +Summary: GNU's payment system merchant backend. License: AGPL-3.0-or-later URL: https://taler.net %global _disable_source_fetch 0 @@ -28,17 +28,34 @@ BuildRequires: qrencode-devel Recommends: postgresql-server BuildRequires: libmicrohttpd-devel BuildRequires: libgnunetpq-devel +BuildRequires: libtalerexchange-devel BuildRequires: python3-jinja2 %description -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). +GNU's payment system merchant backend. +The GNU Taler merchant backend provides e-commerce +applications with a simple RESTful API to integrate +payments using GNU Taler. This package provides the +merchant backend. -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. +%package -n libtalermerchant +Summary: Libraries to talk to a GNU Taler merchant. +%description -n libtalermerchant +This package contains the development files for libtalermerchant. +Libraries to talk to a GNU Taler merchant. +The GNU Taler merchant backend provides e-commerce +applications with a simple RESTful API to integrate +payments using GNU Taler. This C library implements +a client-side version of that REST API. Please note +that the core API is pretty simple, so applications +may legitimately choose to implement the API directly +instead of using this wrapper. -%package devel -Summary: Taler merchant development headers -%description devel -Files needed to develop Taler merchant applications and services. +%package -n libtalermerchant-devel +Requires: libtalermerchant%{?_isa} = %{version}-%{release} +Summary: Libraries to talk to a GNU Taler merchant (development). +%description -n libtalermerchant-devel +This package contains the development files for libtalermerchant. %prep echo "%SHA512SUM0 %SOURCE0" | sha512sum -c - @@ -47,18 +64,18 @@ echo "%SHA512SUM0 %SOURCE0" | sha512sum -c - %autosetup %build -%configure --with-gnunet=%{_prefix} +%configure %{make_build} %install make install DESTDIR=%{buildroot} -%find_lang %{name} #install -Dm644 "contrib/packages/fedora/%{name}.service" "%{buildroot}/%{_unitdir}/%{name}.service" #install -Dm644 "contrib/packages/fedora/%{name}-user.service" "%{buildroot}/%{_userunitdir}/%{name}-user.service" #install -Dm644 "contrib/packages/fedora/gnunet-system.conf" %{buildroot}/%{_sysconfdir}/gnunet.conf +rm -f %{buildroot}%{_infodir}/dir %check -make check +#make check %post #%systemd_post %{name}.service @@ -73,9 +90,23 @@ make check %files # AGPLv3 +%{_libdir}/libtalermerchantdb.so.* +%{_mandir}/man1/* +%{_bindir}/taler-merchant* +%{_infodir}/taler-merchant* +%{_datadir}/taler/merchant/* +%{_datadir}/taler/sql/merchant/* +%{_datadir}/taler/config.d/* +%{_libdir}/taler/libtaler_plugin_merchantdb_postgres.so -#%files doc +%files -n libtalermerchant +%{_libdir}/libtalermerchant.so.* +%files -n libtalermerchant-devel +%{_libdir}/libtalermerchant.so +%{_libdir}/libtalermerchanttesting.so* +%{_includedir}/taler/taler_merchant*.h +%{_libdir}/libtalermerchantdb.so %changelog * Thu May 18 2023 Martin Schanzenbach - 0.9.2-1