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). +