gnunet-rpm

GNUnet RPM package rules
Log | Files | Refs | README

commit 1305552a3048b1b6e089615c27a913a2431e96c0
parent b57728214db762dcd51946fb19b85f9b93f4de4d
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date:   Thu, 18 May 2023 13:44:58 +0200

add taler specs

Diffstat:
Arpmbuild/SPECS/taler-exchange.spec | 81+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Arpmbuild/SPECS/taler-merchant.spec | 82+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 163 insertions(+), 0 deletions(-)

diff --git a/rpmbuild/SPECS/taler-exchange.spec b/rpmbuild/SPECS/taler-exchange.spec @@ -0,0 +1,81 @@ +Name: taler-exchange +Version: 0.9.2 +Release: 1%{?dist} +Summary: The Taler exchange service. +License: AGPL-3.0-or-later +URL: https://taler.net +%global _disable_source_fetch 0 +Source0: https://ftpmirror.gnu.org/gnu/taler/%{name}-%{version}.tar.gz +Source1: https://ftpmirror.gnu.org/gnu/taler/%{name}-%{version}.tar.gz.sig +Source2: https://grothoff.org/christian/grothoff.asc +%global SHA512SUM0 3a7cb12aaa4229f0dd36e2015123757df14d7e7a30bdb0a9c23aa4ca562ca83966e3522d02b65d40092b051955bf2380a01f321d1acf283f6a55e5b609121122 +BuildRequires: libtool +BuildRequires: libtool-ltdl +BuildRequires: libtool-ltdl-devel +BuildRequires: autoconf +BuildRequires: make +BuildRequires: gettext +BuildRequires: gcc +BuildRequires: sqlite-devel +BuildRequires: libunistring-devel +BuildRequires: libcurl-devel +BuildRequires: libgcrypt-devel +BuildRequires: libsodium-devel +BuildRequires: libargon2-devel +BuildRequires: jansson-devel +BuildRequires: libpq-devel +Recommends: postgresql-server +BuildRequires: libmicrohttpd-devel +BuildRequires: libgnunetpq-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 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 devel +Summary: Taler exchange development headers +%description devel +Files needed to develop Taler exchange applications and services. + +%prep +echo "%SHA512SUM0 %SOURCE0" | sha512sum -c - +%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' + +%autosetup + +%build +%configure --with-gnunet=%{_prefix} +%{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 + +%check +make check + +%post +#%systemd_post %{name}.service +#%systemd_user_post %{name}-user.service + +%preun +#%systemd_preun %{name}.service + +%postun +#%systemd_postun_with_restart %{name}.service +#%systemd_user_post %{name}-user.service + +%files +# AGPLv3 + +#%files doc + + +%changelog +* Thu May 18 2023 Martin Schanzenbach - 0.9.2-1 +- Initial package diff --git a/rpmbuild/SPECS/taler-merchant.spec b/rpmbuild/SPECS/taler-merchant.spec @@ -0,0 +1,82 @@ +Name: taler-merchant +Version: 0.9.2 +Release: 1%{?dist} +Summary: The Taler merchant service. +License: AGPL-3.0-or-later +URL: https://taler.net +%global _disable_source_fetch 0 +Source0: https://ftpmirror.gnu.org/gnu/taler/%{name}-%{version}.tar.gz +Source1: https://ftpmirror.gnu.org/gnu/taler/%{name}-%{version}.tar.gz.sig +Source2: https://grothoff.org/christian/grothoff.asc +%global SHA512SUM0 478fa72e281369764b91dec02e70af70f8d8bc79b9501cee26e2187beac8ec253f0f6976ba570f944ce330196cef9c722c859c2a0d1848ccd2b4696a494bd9aa +BuildRequires: libtool +BuildRequires: libtool-ltdl +BuildRequires: libtool-ltdl-devel +BuildRequires: autoconf +BuildRequires: make +BuildRequires: gettext +BuildRequires: gcc +BuildRequires: sqlite-devel +BuildRequires: libunistring-devel +BuildRequires: libcurl-devel +BuildRequires: libgcrypt-devel +BuildRequires: libsodium-devel +BuildRequires: libargon2-devel +BuildRequires: jansson-devel +BuildRequires: libpq-devel +BuildRequires: qrencode-devel +Recommends: postgresql-server +BuildRequires: libmicrohttpd-devel +BuildRequires: libgnunetpq-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 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 devel +Summary: Taler merchant development headers +%description devel +Files needed to develop Taler merchant applications and services. + +%prep +echo "%SHA512SUM0 %SOURCE0" | sha512sum -c - +%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' + +%autosetup + +%build +%configure --with-gnunet=%{_prefix} +%{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 + +%check +make check + +%post +#%systemd_post %{name}.service +#%systemd_user_post %{name}-user.service + +%preun +#%systemd_preun %{name}.service + +%postun +#%systemd_postun_with_restart %{name}.service +#%systemd_user_post %{name}-user.service + +%files +# AGPLv3 + +#%files doc + + +%changelog +* Thu May 18 2023 Martin Schanzenbach - 0.9.2-1 +- Initial package