Name: snoopy Version: 2.4.14 Release: 1%{?dist} Summary: A preload library to send shell commands to syslog License: GPLv2+ URL: https://github.com/a2o/snoopy Source0: %{url}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz # Upstream patches (0001~0500) # Proposed upstream patches (0501~1000) # Fedora-only patches (1001+) Patch1001: 1001-Add-exceptions-for-Fedora-and-RHEL-to-fix-filter-tests.patch BuildRequires: automake BuildRequires: libtool BuildRequires: gcc BuildRequires: make # For tests BuildRequires: %{_bindir}/hostname BuildRequires: %{_bindir}/socat BuildRequires: %{_bindir}/ps %description Snoopy is designed to aid a sysadmin by providing a log of commands executed. Snoopy is completely transparent to the user and applications. It is linked into programs to provide a wrapper around calls to execve(). Logging is done via syslog. %prep %autosetup -p1 %build %configure %make_build %install %make_install # Get rid of libtool archive file rm %{buildroot}%{_libdir}/libsnoopy.la %check %make_build check %files %doc COPYING README.md ChangeLog %license COPYING # Note, the plain .so file needs to be here since it's a preload library %{_libdir}/libsnoopy.so* %{_sbindir}/snoopy-enable %{_sbindir}/snoopy-disable %config(noreplace) %{_sysconfdir}/snoopy.ini %changelog * Wed Jul 28 2021 Neal Gompa - 2.4.14-1 - Rebase to 2.4.14 - Modernize packaging to current packaging guidelines - Drop unsupported devel content - Run test suite * Fri Jul 26 2019 Fedora Release Engineering - 2.2.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 03 2019 Fedora Release Engineering - 2.2.6-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 2.2.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 2.2.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 2.2.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.2.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.2.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 05 2016 Fedora Release Engineering - 2.2.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 2.2.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Mar 22 2015 Mosaab Alzoubi - 2.2.6-1 - Update to 2.2.6 - Clean spec up - Add -devel package - Use Github source guidline - Remove old guideline tags - Remove la lib - Remove old %%clean way - Remove README.Fedora due to its included in tools - Add %%license macro - Fix BRs - Support new automake building - Use %%make_install - Right way for ldconfig - Right way for lib macro - Fix lines length of %%descriotion - Use snoopy.ini * Mon Aug 18 2014 Fedora Release Engineering - 1.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 1.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Sep 19 2013 Steve Traylen 1.9.0-1A - New upstream version, also upstream moved to github. * Sun Aug 04 2013 Fedora Release Engineering - 1.8.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Feb 15 2013 Fedora Release Engineering - 1.8.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 1.8.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Apr 26 2012 Steve Traylen - 1.8.0-3 - Correct previous wrong date in changelog. * Sat Jan 14 2012 Fedora Release Engineering - 1.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon May 2 2011 Steve Traylen - 1.8.0-1 - New upstream 1.8.0 - Use make install - Clarify README.Fedora to use $LIB for configuration. rhbz#701241. * Wed Feb 09 2011 Fedora Release Engineering - 1.7.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jan 14 2011 Steve Traylen - 1.7.10-1 - New upstream 1.7.10 * Mon Jan 10 2011 Steve Traylen - 1.7.9-1 - New upstream 1.7.9 * Mon Nov 1 2010 Steve Traylen - 1.7.6-1 - New upstream 1.7.6 * Fri Aug 6 2010 Steve Traylen - 1.7.1-2 - Move lib from /usr/lib64 to /lib64 since a preload over glibc. * Fri Aug 6 2010 Steve Traylen - 1.7.1-1 - New upstream 1.7.1-1 * Wed Aug 4 2010 Steve Traylen - 1.6.1-3 - Don't edit /etc/ld.so.preload, instead provide README.Fedora * Tue Aug 3 2010 Steve Traylen - 1.6.1-2 - Call ldconfig in post and preun * Tue Aug 3 2010 Steve Traylen - 1.6.1-1 - Initial packaging.