[packages/cfg2html] Up to 7.3.1
arekm
arekm at pld-linux.org
Wed May 20 18:41:19 CEST 2026
commit 1f41d2a5d62e103bbc7dda19ffb86d9427be63d0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed May 20 18:41:03 2026 +0200
Up to 7.3.1
cfg2html.spec | 46 +++++++++++++++++++++++++---------------------
1 file changed, 25 insertions(+), 21 deletions(-)
---
diff --git a/cfg2html.spec b/cfg2html.spec
index 896e608..feafe48 100644
--- a/cfg2html.spec
+++ b/cfg2html.spec
@@ -1,14 +1,18 @@
Summary: Tool to collect Linux system configuration into a HTML and text file
Name: cfg2html
-Version: 2.86
-Release: 2
-License: Unknown
+Version: 7.3.1
+Release: 1
+License: GPL v3+
Group: Applications/System
-Source0: http://www.cfg2html.com/%{name}-linux-%{version}-20140319_all.zip
-# Source0-md5: ccd0b66c05e51dab3d7a7eb4b760fd59
+Source0: https://github.com/cfg2html/cfg2html/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: d2d234428ac0c260b5e51794ac38753c
URL: http://www.cfg2html.com/
-BuildRequires: unzip
+Requires: bash
+Requires: coreutils
+Requires: gawk
+Requires: psmisc
Obsoletes: cfg2html-linux < 2.50-1
+Conflicts: cfg2html-linux
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -23,33 +27,33 @@ Software, Filesystems, Dump- and Swapconfiguration, LVM, Network
Settings, Kernel, Systemenhancements and Applications, Subsystems.
%prep
-%setup -qc
-
-mv %{name}-linux_*.changes Changes
-mv descript.ion README
-
-%{__tar} xzf %{name}-linux_%{version}*.tar.gz
-mv %{name}-linux-%{version}/* .
+%setup -q
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8}
-%{__make} install \
+%{__make} -C linux \
+ install-config install-bin install-data install-var install-doc \
DESTDIR=$RPM_BUILD_ROOT
-echo '.so man8/cfg2html-linux.8' > $RPM_BUILD_ROOT%{_mandir}/man8/cfg2html.8
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc Changes README* AUTHORS contrib collect *.html *.txt
+%doc CHANGELOG.md README.md linux/AUTHORS linux/README linux/doc/*.txt
%dir %{_sysconfdir}/%{name}
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/files
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/plugins
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/systeminfo
-%attr(755,root,root) %{_bindir}/cfg2html
-%attr(755,root,root) %{_bindir}/cfg2html-linux
+%attr(755,root,root) %{_sbindir}/cfg2html
+%dir %{_datadir}/cfg2html
+%dir %{_datadir}/cfg2html/etc
+%{_datadir}/cfg2html/etc/default.conf
+%{_datadir}/cfg2html/etc/local.conf
+%attr(755,root,root) %{_datadir}/cfg2html/cfg2html-linux.sh
+%{_datadir}/cfg2html/plugins
+%dir %{_datadir}/cfg2html/lib
+%{_datadir}/cfg2html/lib/*.sh
+%doc %{_datadir}/cfg2html/lib/README_FunctionsList.txt
+%dir %{_localstatedir}/log/cfg2html
%{_mandir}/man8/cfg2html.8*
-%{_mandir}/man8/cfg2html-linux.8*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cfg2html.git/commitdiff/1f41d2a5d62e103bbc7dda19ffb86d9427be63d0
More information about the pld-cvs-commit
mailing list