|
|
@ -19,7 +19,7 @@
|
|
|
|
%{!?make_build:%global make_build %{__make} %{?_smp_mflags}}
|
|
|
|
%{!?make_build:%global make_build %{__make} %{?_smp_mflags}}
|
|
|
|
|
|
|
|
|
|
|
|
Name: tlog
|
|
|
|
Name: tlog
|
|
|
|
Version: 13
|
|
|
|
Version: 14
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Terminal I/O logger
|
|
|
|
Summary: Terminal I/O logger
|
|
|
|
|
|
|
|
|
|
|
@ -34,7 +34,8 @@ License: GPLv2+
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
URL: https://github.com/Scribery/%{name}
|
|
|
|
URL: https://github.com/Scribery/%{name}
|
|
|
|
Source: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
Source1: tlog.sysusers
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: automake
|
|
|
@ -57,6 +58,7 @@ Requires: systemd-sysv
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(post): systemd
|
|
|
|
Requires(post): systemd
|
|
|
|
Requires(postun): systemd
|
|
|
|
Requires(postun): systemd
|
|
|
|
|
|
|
|
%{?sysusers_requires_compat}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%else
|
|
|
|
%else
|
|
|
@ -111,6 +113,7 @@ rm -r %{buildroot}/usr/include/%{name}
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/run
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/run
|
|
|
|
install -d -m 0755 %{buildroot}%{_localstatedir}/run/%{name}
|
|
|
|
install -d -m 0755 %{buildroot}%{_localstatedir}/run/%{name}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
install -p -D -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/%{name}.conf
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%{!?_licensedir:%global license %doc}
|
|
|
|
%{!?_licensedir:%global license %doc}
|
|
|
@ -133,13 +136,10 @@ rm -r %{buildroot}/usr/include/%{name}
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/%{name}-rec.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/%{name}-rec.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/%{name}-rec-session.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/%{name}-rec-session.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/%{name}-play.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/%{name}-play.conf
|
|
|
|
|
|
|
|
%{_sysusersdir}/%{name}.conf
|
|
|
|
|
|
|
|
|
|
|
|
%pre
|
|
|
|
%pre
|
|
|
|
getent group %{name} >/dev/null ||
|
|
|
|
%sysusers_create_compat %{SOURCE1}
|
|
|
|
groupadd -r %{name}
|
|
|
|
|
|
|
|
getent passwd %{name} >/dev/null ||
|
|
|
|
|
|
|
|
useradd -r -g %{name} -d %{_localstatedir}/run/%{name} -s /sbin/nologin \
|
|
|
|
|
|
|
|
-c "Tlog terminal I/O logger" %{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
/sbin/ldconfig
|
|
|
@ -156,6 +156,17 @@ systemd-tmpfiles --create %{name}.conf >/dev/null 2>&1 || :
|
|
|
|
/sbin/ldconfig
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Feb 07 2024 Justin Stephenson <jstephen@redhat.com> - 14-1
|
|
|
|
|
|
|
|
- Release v14
|
|
|
|
|
|
|
|
- configure: correctly handle systemd versions before 245
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Sep 22 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 13-2
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 9.3 beta
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 14 2023 Justin Stephenson <jstephen@redhat.com> - 13-2
|
|
|
|
|
|
|
|
- Provide a sysusers.d file to get user() and group() provides
|
|
|
|
|
|
|
|
(see https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format).
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Apr 17 2023 Justin Stephenson <jstephen@redhat.com> - 13-1
|
|
|
|
* Mon Apr 17 2023 Justin Stephenson <jstephen@redhat.com> - 13-1
|
|
|
|
- Update the Fedora license
|
|
|
|
- Update the Fedora license
|
|
|
|
- MAN: Add missing comma in tlog-rec-session.conf
|
|
|
|
- MAN: Add missing comma in tlog-rec-session.conf
|
|
|
|