aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-09-26 20:51:45 +0900
committerMartin Schanzenbach <schanzen@gnunet.org>2022-09-26 20:51:45 +0900
commitaa06afaf0e235c7ff6a42f1693de753120bbc56c (patch)
tree10053d74db398472519bac98413fe78affd52b74
parenta3d2c43fbac6be0848e9388ccc96a27076a7b0ed (diff)
downloadgnunet-rpm-aa06afaf0e235c7ff6a42f1693de753120bbc56c.tar.gz
gnunet-rpm-aa06afaf0e235c7ff6a42f1693de753120bbc56c.zip
v0.17.6
-rw-r--r--rpmbuild/SPECS/gnunet.spec17
1 files changed, 8 insertions, 9 deletions
diff --git a/rpmbuild/SPECS/gnunet.spec b/rpmbuild/SPECS/gnunet.spec
index f7ddc63..f3dbbdf 100644
--- a/rpmbuild/SPECS/gnunet.spec
+++ b/rpmbuild/SPECS/gnunet.spec
@@ -3,8 +3,8 @@
3%global debug_package %{nil} 3%global debug_package %{nil}
4 4
5Name: gnunet 5Name: gnunet
6Version: 0.17.5 6Version: 0.17.6
7Release: 2%{?dist} 7Release: 1%{?dist}
8Summary: Framework for secure peer-to-peer networking 8Summary: Framework for secure peer-to-peer networking
9License: AGPLv3 9License: AGPLv3
10Group: Productivity/Networking/File-Sharing 10Group: Productivity/Networking/File-Sharing
@@ -13,7 +13,7 @@ URL: https://%{name}.org
13Source0: https://ftpmirror.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz 13Source0: https://ftpmirror.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
14Source1: https://ftpmirror.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig 14Source1: https://ftpmirror.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig
15Source2: https://www.gnunet.org/~schanzen/schanzen.asc 15Source2: https://www.gnunet.org/~schanzen/schanzen.asc
16%define SHA512SUM0 02c6deac7d5008df4a6b2783a954cf7cd2432669ca2d5c872421cb9ee52ebffc3f8302f68535dcb13745751b5f68277a438e4710bd5ac8709ef933d75b2ed70c 16%define SHA512SUM0 1cd1793d1e6c689131ef8ada4e41fe6b559c43170ee32fada381c3358c7c815e7837881f546bbd18bee6e7635a34ff1702cd7c59c74e986d154712cc705edbc4
17BuildRequires: libtool 17BuildRequires: libtool
18BuildRequires: libtool-ltdl 18BuildRequires: libtool-ltdl
19BuildRequires: libtool-ltdl-devel 19BuildRequires: libtool-ltdl-devel
@@ -191,16 +191,13 @@ getent group %{name}dns >/dev/null || /usr/sbin/groupadd -r %{name}dns
191getent passwd %{name} >/dev/null || useradd -r -g %{name} -G %{name}dns -m -d %{gnunethome} %{gnunetuser} -c "GNUnet system account" 191getent passwd %{name} >/dev/null || useradd -r -g %{name} -G %{name}dns -m -d %{gnunethome} %{gnunetuser} -c "GNUnet system account"
192exit 0 192exit 0
193 193
194# The sed replacements can be removed for 0.17.6
195%install 194%install
196make install DESTDIR=%{buildroot} 195make install DESTDIR=%{buildroot}
197sed -i 's/\/usr\/lib/\/usr\/lib64/' "contrib/services/systemd/%{name}.service"
198sed -i 's/SYSTEM_ONLY/START_SYSTEM_SERVICE/' "contrib/conf/gnunet/gnunet-system.conf"
199sed -i 's/USER_ONLY/START_USER_SERVICE/' "contrib/conf/gnunet/gnunet-system.conf"
200install -Dm644 "contrib/services/systemd/%{name}.service" "%{buildroot}/%{_unitdir}/%{name}.service" 196install -Dm644 "contrib/services/systemd/%{name}.service" "%{buildroot}/%{_unitdir}/%{name}.service"
201sed -i 's/\/usr\/lib/\/usr\/lib64/' "contrib/services/systemd/%{name}-user.service"
202install -Dm644 "contrib/services/systemd/%{name}-user.service" "%{buildroot}/%{_userunitdir}/%{name}-user.service" 197install -Dm644 "contrib/services/systemd/%{name}-user.service" "%{buildroot}/%{_userunitdir}/%{name}-user.service"
203install -Dm644 "contrib/conf/gnunet/gnunet-system.conf" %{buildroot}/%{_sysconfdir}/gnunet.conf 198install -Dm644 "contrib/conf/gnunet/gnunet-system.conf" %{buildroot}/%{_sysconfdir}/gnunet.conf
199# Remove the dir file like, e.g., bash.
200rm -f %{buildroot}%{_infodir}/dir
204 201
205%check 202%check
206#make check 203#make check
@@ -349,7 +346,6 @@ touch ~/.config/gnunet.conf
349%{_usr}/%{_lib}/%{name}/libgnunet_plugin_gnsrecord_gns.so 346%{_usr}/%{_lib}/%{name}/libgnunet_plugin_gnsrecord_gns.so
350%{_usr}/%{_lib}/%{name}/libgnunet_plugin_gnsrecord_reclaim.so 347%{_usr}/%{_lib}/%{name}/libgnunet_plugin_gnsrecord_reclaim.so
351%{_usr}/%{_lib}/%{name}/libgnunet_plugin_namecache_sqlite.so 348%{_usr}/%{_lib}/%{name}/libgnunet_plugin_namecache_sqlite.so
352%{_usr}/%{_lib}/%{name}/libgnunet_plugin_namestore_flat.so
353%{_usr}/%{_lib}/%{name}/libgnunet_plugin_namestore_sqlite.so 349%{_usr}/%{_lib}/%{name}/libgnunet_plugin_namestore_sqlite.so
354%{_usr}/%{_lib}/%{name}/libgnunet_plugin_peerstore_sqlite.so 350%{_usr}/%{_lib}/%{name}/libgnunet_plugin_peerstore_sqlite.so
355%{_usr}/%{_lib}/%{name}/libgnunet_plugin_reclaim_attribute_basic.so 351%{_usr}/%{_lib}/%{name}/libgnunet_plugin_reclaim_attribute_basic.so
@@ -846,6 +842,7 @@ touch ~/.config/gnunet.conf
846 842
847%files doc 843%files doc
848%{_defaultdocdir}/%{name}/html 844%{_defaultdocdir}/%{name}/html
845%{_infodir}/gnunet.info.gz
849 846
850%files -n libgnunet-devel 847%files -n libgnunet-devel
851%{_libdir}/libgnunetsq.so 848%{_libdir}/libgnunetsq.so
@@ -925,6 +922,8 @@ touch ~/.config/gnunet.conf
925%{_mandir}/man1/gnunet-ecc.1.gz 922%{_mandir}/man1/gnunet-ecc.1.gz
926 923
927%changelog 924%changelog
925* Fri Sep 26 2022 Martin Schanzenbach <schanzen@gnunet.org> - 0.17.6
926- Version bump
928* Fri Sep 09 2022 Martin Schanzenbach <schanzen@gnunet.org> - 0.17.5 927* Fri Sep 09 2022 Martin Schanzenbach <schanzen@gnunet.org> - 0.17.5
929- Add systemd scripts 928- Add systemd scripts
930* Sun Sep 04 2022 Martin Schanzenbach <schanzen@gnunet.org> - 0.17.5 929* Sun Sep 04 2022 Martin Schanzenbach <schanzen@gnunet.org> - 0.17.5