1 Summary: Tool to collect Linux system configuration into a HTML and text file
6 Group: Applications/System
7 Source0: http://www.cfg2html.com/%{name}-linux-%{version}-20140319_all.zip
8 # Source0-md5: ccd0b66c05e51dab3d7a7eb4b760fd59
9 URL: http://www.cfg2html.com/
11 Obsoletes: cfg2html-linux < 2.50-1
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Config to HTML is the "swiss army knife" for the ASE, CE, sysadmin
17 etc. It helps to get the nessary information to plan an update, to
18 perform basic troubleshooting or performance analysis.
20 As a bonus cfg2html creates a nice HTML and plain ASCII documentation
21 from Linux System, Cron and At, installed Hardware, installed
22 Software, Filesystems, Dump- and Swapconfiguration, LVM, Network
23 Settings, Kernel, Systemenhancements and Applications, Subsystems.
28 mv %{name}-linux_*.changes Changes
29 mv descript.ion README
31 %{__tar} xzf %{name}-linux_%{version}*.tar.gz
32 mv %{name}-linux-%{version}/* .
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8}
38 DESTDIR=$RPM_BUILD_ROOT
40 echo '.so man8/cfg2html-linux.8' > $RPM_BUILD_ROOT%{_mandir}/man8/cfg2html.8
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
47 %doc Changes README* AUTHORS contrib collect *.html *.txt
48 %dir %{_sysconfdir}/%{name}
49 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/files
50 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/plugins
51 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/systeminfo
52 %attr(755,root,root) %{_bindir}/cfg2html
53 %attr(755,root,root) %{_bindir}/cfg2html-linux
54 %{_mandir}/man8/cfg2html.8*
55 %{_mandir}/man8/cfg2html-linux.8*