From 3c898f89dd9d8a3c54de30859b55af76d0e1eacb Mon Sep 17 00:00:00 2001 From: Daniel Steiner Date: Thu, 9 Apr 2020 10:40:55 +0200 Subject: [PATCH] New sockstat package added --- centos/SPECS/sockstat.spec | 39 +++++++++++++++++++++++++++++++++++++ fedora/SPECS/sockstat.spec | 40 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 centos/SPECS/sockstat.spec create mode 100644 fedora/SPECS/sockstat.spec diff --git a/centos/SPECS/sockstat.spec b/centos/SPECS/sockstat.spec new file mode 100644 index 0000000..03bcd45 --- /dev/null +++ b/centos/SPECS/sockstat.spec @@ -0,0 +1,39 @@ +Name: sockstat +Version: 0.4.1 +Release: 1%{?dist} +Summary: View detailed information about open connections + +License: BSD-3 +URL: https://github.com/alteholz/sockstat/ +Source0: %{name}-%{version}.tar.gz + +# disable debug: +%global debug_package %{nil} + + +%description +View detailed information about open connections + + +%prep +%setup -q + + +%build +make %{?_smp_mflags} + + +%install +%{__install} -D %{name} %{buildroot}%{_bindir}/%{name} +%{__install} -D %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 + +%files +%doc LICENSE +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1.gz + + +%changelog +* Thu Apr 9 2020 Daniel Steiner +- Initial version for CentOS 8 (0.4.1). + diff --git a/fedora/SPECS/sockstat.spec b/fedora/SPECS/sockstat.spec new file mode 100644 index 0000000..6c44549 --- /dev/null +++ b/fedora/SPECS/sockstat.spec @@ -0,0 +1,40 @@ +Name: sockstat +Version: 0.4.1 +Release: 1%{?dist} +Summary: View detailed information about open connections + +License: BSD-3 +URL: https://github.com/alteholz/sockstat/ +Source0: %{name}-%{version}.tar.gz + +# disable debug: +%global debug_package %{nil} + + +%description +View detailed information about open connections + + +%prep +%setup -q + + +%build +make %{?_smp_mflags} + + +%install +%{__install} -D %{name} %{buildroot}%{_bindir}/%{name} +%{__install} -D %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 + +%files +%doc LICENSE +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1.gz + + + +%changelog +* Thu Apr 9 2020 Daniel Steiner +- Initial version for CentOS 8 (0.4.1). +