61a223e
%global _firewalld_dir %{_prefix}/lib/firewalld
61a223e
61a223e
Name:           et
aca47bc
Version:        5.1.10
aca47bc
Release:        1%{?dist}
61a223e
Summary:        Remote shell that survives IP roaming and disconnect
61a223e
61a223e
License:        ASL 2.0
61a223e
URL:            https://mistertea.github.io/EternalTerminal/
61a223e
Source0:        https://github.com/MisterTea/EternalTerminal/archive/et-v%{version}.tar.gz
61a223e
Source1:        et.xml
61a223e
61a223e
BuildRequires:  boost-devel
bb6d7c0
BuildRequires:  cmake3
61a223e
BuildRequires:  firewalld-filesystem
61a223e
BuildRequires:  gcc-c++
61a223e
BuildRequires:  gflags-devel
61a223e
BuildRequires:  libsodium-devel
61a223e
BuildRequires:  libutempter-devel
61a223e
BuildRequires:  ncurses-devel
61a223e
BuildRequires:  protobuf-compiler
61a223e
BuildRequires:  protobuf-devel
61a223e
BuildRequires:  systemd
61a223e
61a223e
%{?systemd_requires}
61a223e
61a223e
%description
61a223e
Eternal Terminal (ET) is a remote shell that automatically reconnects without
61a223e
interrupting the session.
61a223e
61a223e
61a223e
%prep
61a223e
%autosetup -n EternalTerminal-et-v%{version}
61a223e
61a223e
61a223e
%build
bb6d7c0
%cmake3 .
61a223e
%make_build
61a223e
61a223e
61a223e
%install
61a223e
%make_install
61a223e
mkdir -p \
61a223e
  %{buildroot}%{_unitdir} \
61a223e
  %{buildroot}%{_sysconfdir} \
61a223e
  %{buildroot}%{_firewalld_dir}/services
2fc149f
install -m 0644 -p systemctl/et.service %{buildroot}%{_unitdir}/et.service
61a223e
install -m 0644 -p etc/et.cfg %{buildroot}%{_sysconfdir}/et.cfg
61a223e
install -m 0644 %{SOURCE1} %{buildroot}%{_firewalld_dir}/services/et.xml
61a223e
61a223e
61a223e
%check
bb6d7c0
ctest3 -V %{?_smp_mflags}
61a223e
61a223e
61a223e
%post
61a223e
%systemd_post et.service
61a223e
%firewalld_reload
61a223e
61a223e
%preun
61a223e
%systemd_preun et.service
61a223e
61a223e
%postun
61a223e
%systemd_postun_with_restart et.service
61a223e
%firewalld_reload
61a223e
61a223e
61a223e
%files
61a223e
%license LICENSE
61a223e
%doc README.md
61a223e
%{_bindir}/et
61a223e
%{_bindir}/etserver
07875f0
%{_bindir}/etterminal
61a223e
%{_bindir}/htm
61a223e
%{_bindir}/htmd
61a223e
%dir %{_firewalld_dir}
61a223e
%dir %{_firewalld_dir}/services
61a223e
%{_firewalld_dir}/services/et.xml
61a223e
%config(noreplace) %{_sysconfdir}/et.cfg
61a223e
%{_unitdir}/et.service
61a223e
61a223e
61a223e
%changelog
aca47bc
* Mon May 27 2019 Michel Alexandre Salim <salimma@fedoraproject.org> - 5.1.10-1
aca47bc
- Update to 5.1.10
aca47bc
0b39ac2
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.9-2
0b39ac2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
0b39ac2
f6a23f2
* Wed Jan 16 2019 Jason Gauci <jgmath2000@gmail.com> - 5.1.9-1
f6a23f2
- https://github.com/MisterTea/EternalTerminal/releases/tag/et-v5.1.9
f6a23f2
53816dd
* Wed Nov 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5.1.8-3
53816dd
- Rebuild for protobuf 3.6
53816dd
bb6d7c0
* Wed Oct 31 2018 Sérgio Basto <sergio@serjux.com> - 5.1.8-2
bb6d7c0
- Make it possible build it on EPEL 7
bb6d7c0
20ba14d
* Mon Oct 29 2018 Michel Alexandre Salim <salimma@fedoraproject.org> - 5.1.8-1
20ba14d
- https://github.com/MisterTea/EternalTerminal/releases/tag/et-v5.1.8
20ba14d
ee1b7a6
* Wed Oct 17 2018 Michel Alexandre Salim <salimma@fedoraproject.org> - 5.1.7-1%{?dist}
ee1b7a6
- https://github.com/MisterTea/EternalTerminal/releases/tag/et-v5.1.7
ee1b7a6
- https://github.com/MisterTea/EternalTerminal/releases/tag/et-v5.1.6
ee1b7a6
ee1b7a6
* Tue Oct  9 2018 Jason Gauci <jgmath2000@gmail.com> - 5.1.5-2%{?dist}
dd86a51
- https://github.com/MisterTea/EternalTerminal/releases/tag/et-v5.1.5
dd86a51
- https://github.com/MisterTea/EternalTerminal/releases/tag/et-v5.1.4
2fc149f
- https://github.com/MisterTea/EternalTerminal/releases/tag/et-v5.1.3
2fc149f
- https://github.com/MisterTea/EternalTerminal/releases/tag/et-v5.1.2
2fc149f
- https://github.com/MisterTea/EternalTerminal/releases/tag/et-v5.1.1
2fc149f
218ed65
* Fri Aug 24 2018 Michel Alexandre Salim <salimma@fedoraproject.org> - 5.1.0-1%{?dist}
218ed65
- Update to 5.1.0
218ed65
61a223e
* Tue Aug 14 2018 Michel Alexandre Salim <salimma@fedoraproject.org> - 5.0.7-2%{?dist}
61a223e
- add BR on gcc-c++
61a223e
61a223e
* Thu Aug  9 2018 Michel Alexandre Salim <salimma@fedoraproject.org> - 5.0.7-1%{?dist}
61a223e
- Initial package