diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-09-26 20:51:45 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-09-26 20:51:45 +0900 |
commit | aa06afaf0e235c7ff6a42f1693de753120bbc56c (patch) | |
tree | 10053d74db398472519bac98413fe78affd52b74 | |
parent | a3d2c43fbac6be0848e9388ccc96a27076a7b0ed (diff) | |
download | gnunet-rpm-aa06afaf0e235c7ff6a42f1693de753120bbc56c.tar.gz gnunet-rpm-aa06afaf0e235c7ff6a42f1693de753120bbc56c.zip |
v0.17.6
-rw-r--r-- | rpmbuild/SPECS/gnunet.spec | 17 |
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 | ||
5 | Name: gnunet | 5 | Name: gnunet |
6 | Version: 0.17.5 | 6 | Version: 0.17.6 |
7 | Release: 2%{?dist} | 7 | Release: 1%{?dist} |
8 | Summary: Framework for secure peer-to-peer networking | 8 | Summary: Framework for secure peer-to-peer networking |
9 | License: AGPLv3 | 9 | License: AGPLv3 |
10 | Group: Productivity/Networking/File-Sharing | 10 | Group: Productivity/Networking/File-Sharing |
@@ -13,7 +13,7 @@ URL: https://%{name}.org | |||
13 | Source0: https://ftpmirror.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz | 13 | Source0: https://ftpmirror.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz |
14 | Source1: https://ftpmirror.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig | 14 | Source1: https://ftpmirror.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig |
15 | Source2: https://www.gnunet.org/~schanzen/schanzen.asc | 15 | Source2: https://www.gnunet.org/~schanzen/schanzen.asc |
16 | %define SHA512SUM0 02c6deac7d5008df4a6b2783a954cf7cd2432669ca2d5c872421cb9ee52ebffc3f8302f68535dcb13745751b5f68277a438e4710bd5ac8709ef933d75b2ed70c | 16 | %define SHA512SUM0 1cd1793d1e6c689131ef8ada4e41fe6b559c43170ee32fada381c3358c7c815e7837881f546bbd18bee6e7635a34ff1702cd7c59c74e986d154712cc705edbc4 |
17 | BuildRequires: libtool | 17 | BuildRequires: libtool |
18 | BuildRequires: libtool-ltdl | 18 | BuildRequires: libtool-ltdl |
19 | BuildRequires: libtool-ltdl-devel | 19 | BuildRequires: libtool-ltdl-devel |
@@ -191,16 +191,13 @@ getent group %{name}dns >/dev/null || /usr/sbin/groupadd -r %{name}dns | |||
191 | getent passwd %{name} >/dev/null || useradd -r -g %{name} -G %{name}dns -m -d %{gnunethome} %{gnunetuser} -c "GNUnet system account" | 191 | getent passwd %{name} >/dev/null || useradd -r -g %{name} -G %{name}dns -m -d %{gnunethome} %{gnunetuser} -c "GNUnet system account" |
192 | exit 0 | 192 | exit 0 |
193 | 193 | ||
194 | # The sed replacements can be removed for 0.17.6 | ||
195 | %install | 194 | %install |
196 | make install DESTDIR=%{buildroot} | 195 | make install DESTDIR=%{buildroot} |
197 | sed -i 's/\/usr\/lib/\/usr\/lib64/' "contrib/services/systemd/%{name}.service" | ||
198 | sed -i 's/SYSTEM_ONLY/START_SYSTEM_SERVICE/' "contrib/conf/gnunet/gnunet-system.conf" | ||
199 | sed -i 's/USER_ONLY/START_USER_SERVICE/' "contrib/conf/gnunet/gnunet-system.conf" | ||
200 | install -Dm644 "contrib/services/systemd/%{name}.service" "%{buildroot}/%{_unitdir}/%{name}.service" | 196 | install -Dm644 "contrib/services/systemd/%{name}.service" "%{buildroot}/%{_unitdir}/%{name}.service" |
201 | sed -i 's/\/usr\/lib/\/usr\/lib64/' "contrib/services/systemd/%{name}-user.service" | ||
202 | install -Dm644 "contrib/services/systemd/%{name}-user.service" "%{buildroot}/%{_userunitdir}/%{name}-user.service" | 197 | install -Dm644 "contrib/services/systemd/%{name}-user.service" "%{buildroot}/%{_userunitdir}/%{name}-user.service" |
203 | install -Dm644 "contrib/conf/gnunet/gnunet-system.conf" %{buildroot}/%{_sysconfdir}/gnunet.conf | 198 | install -Dm644 "contrib/conf/gnunet/gnunet-system.conf" %{buildroot}/%{_sysconfdir}/gnunet.conf |
199 | # Remove the dir file like, e.g., bash. | ||
200 | rm -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 |