|
|
|
@ -1,32 +1,32 @@
@@ -1,32 +1,32 @@
|
|
|
|
|
%define git_hash %(git rev-parse HEAD | cut -c -7) |
|
|
|
|
|
|
|
|
|
Name: i2pd-git |
|
|
|
|
Version: 2.32.0 |
|
|
|
|
Release: git%{git_hash}%{?dist} |
|
|
|
|
Summary: I2P router written in C++ |
|
|
|
|
Conflicts: i2pd |
|
|
|
|
Name: i2pd-git |
|
|
|
|
Version: 2.32.0 |
|
|
|
|
Release: git%{git_hash}%{?dist} |
|
|
|
|
Summary: I2P router written in C++ |
|
|
|
|
Conflicts: i2pd |
|
|
|
|
|
|
|
|
|
License: BSD |
|
|
|
|
URL: https://github.com/PurpleI2P/i2pd |
|
|
|
|
Source0: https://github.com/PurpleI2P/i2pd/archive/openssl/i2pd-openssl.tar.gz |
|
|
|
|
License: BSD |
|
|
|
|
URL: https://github.com/PurpleI2P/i2pd |
|
|
|
|
Source0: https://github.com/PurpleI2P/i2pd/archive/openssl/i2pd-openssl.tar.gz |
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} == 7 |
|
|
|
|
BuildRequires: cmake3 |
|
|
|
|
BuildRequires: cmake3 |
|
|
|
|
%else |
|
|
|
|
BuildRequires: cmake |
|
|
|
|
BuildRequires: cmake |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
BuildRequires: chrpath |
|
|
|
|
BuildRequires: gcc-c++ |
|
|
|
|
BuildRequires: zlib-devel |
|
|
|
|
BuildRequires: boost-devel |
|
|
|
|
BuildRequires: openssl-devel |
|
|
|
|
BuildRequires: miniupnpc-devel |
|
|
|
|
BuildRequires: systemd-units |
|
|
|
|
BuildRequires: chrpath |
|
|
|
|
BuildRequires: gcc-c++ |
|
|
|
|
BuildRequires: zlib-devel |
|
|
|
|
BuildRequires: boost-devel |
|
|
|
|
BuildRequires: openssl-devel |
|
|
|
|
BuildRequires: miniupnpc-devel |
|
|
|
|
BuildRequires: systemd-units |
|
|
|
|
|
|
|
|
|
Requires: logrotate |
|
|
|
|
Requires: systemd |
|
|
|
|
Requires(pre): %{_sbindir}/useradd %{_sbindir}/groupadd |
|
|
|
|
Requires: logrotate |
|
|
|
|
Requires: systemd |
|
|
|
|
Requires(pre): %{_sbindir}/useradd %{_sbindir}/groupadd |
|
|
|
|
|
|
|
|
|
%description |
|
|
|
|
C++ implementation of I2P. |
|
|
|
@ -112,15 +112,15 @@ getent passwd i2pd >/dev/null || \
@@ -112,15 +112,15 @@ getent passwd i2pd >/dev/null || \
|
|
|
|
|
%doc LICENSE README.md contrib/i2pd.conf contrib/subscriptions.txt contrib/tunnels.conf contrib/tunnels.d |
|
|
|
|
%{_sbindir}/i2pd |
|
|
|
|
%config(noreplace) %{_sysconfdir}/i2pd/*.conf |
|
|
|
|
%config(noreplace) %{_sysconfdir}/i2pd/tunnels.conf.d/* |
|
|
|
|
%{_sysconfdir}/i2pd/subscriptions.txt |
|
|
|
|
%config %{_sysconfdir}/i2pd/subscriptions.txt |
|
|
|
|
%doc %{_sysconfdir}/i2pd/tunnels.conf.d/README |
|
|
|
|
%{_sysconfdir}/logrotate.d/i2pd |
|
|
|
|
%{_unitdir}/i2pd.service |
|
|
|
|
%{_mandir}/man1/i2pd.1* |
|
|
|
|
%dir %attr(0700,i2pd,i2pd) %{_sharedstatedir}/i2pd |
|
|
|
|
%dir %attr(0700,i2pd,i2pd) %{_localstatedir}/log/i2pd |
|
|
|
|
%{_datadir}/i2pd/certificates |
|
|
|
|
%{_sharedstatedir}/i2pd/certificates |
|
|
|
|
%{_sysconfdir}/logrotate.d/i2pd |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
|