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