]> git.pld-linux.org Git - packages/cfg2html.git/blame - cfg2html.spec
up to 2.86 (20140319)
[packages/cfg2html.git] / cfg2html.spec
CommitLineData
5014ec7d
ER
1Summary: Tool to collect Linux system configuration into a HTML and text file
2Name: cfg2html
0f65984b 3Version: 2.86
5014ec7d
ER
4Release: 1
5License: Unknown
6Group: Applications/System
0f65984b
ER
7Source0: http://www.cfg2html.com/%{name}-linux-%{version}-20140319_all.zip
8# Source0-md5: ccd0b66c05e51dab3d7a7eb4b760fd59
5014ec7d 9URL: http://www.cfg2html.com/
5014ec7d
ER
10BuildRequires: unzip
11Obsoletes: cfg2html-linux < 2.50-1
12BuildArch: noarch
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16Config to HTML is the "swiss army knife" for the ASE, CE, sysadmin
a0a6d2dd
ER
17etc. It helps to get the nessary information to plan an update, to
18perform basic troubleshooting or performance analysis.
5014ec7d
ER
19
20As a bonus cfg2html creates a nice HTML and plain ASCII documentation
21from Linux System, Cron and At, installed Hardware, installed
22Software, Filesystems, Dump- and Swapconfiguration, LVM, Network
23Settings, Kernel, Systemenhancements and Applications, Subsystems.
24
25%prep
26%setup -qc
27
28mv %{name}-linux_*.changes Changes
29mv descript.ion README
30
31%{__tar} xzf %{name}-linux_%{version}*.tar.gz
32mv %{name}-linux-%{version}/* .
33
34%install
35rm -rf $RPM_BUILD_ROOT
36install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8}
37%{__make} install \
38 DESTDIR=$RPM_BUILD_ROOT
39
40echo '.so man8/cfg2html-linux.8' > $RPM_BUILD_ROOT%{_mandir}/man8/cfg2html.8
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
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*
This page took 0.085132 seconds and 4 git commands to generate.