]> git.pld-linux.org Git - packages/cfg2html.git/blob - cfg2html.spec
- new. created from repoforge spec
[packages/cfg2html.git] / cfg2html.spec
1 Summary:        Tool to collect Linux system configuration into a HTML and text file
2 Name:           cfg2html
3 Version:        2.50
4 Release:        1
5 License:        Unknown
6 Group:          Applications/System
7 URL:            http://www.cfg2html.com/
8 Source0:        http://www.cfg2html.com/%{name}-linux-%{version}-20120601_all.zip
9 # Source0-md5:  a3d2991a515f5ed5f23ea0b7dda8f82c
10 BuildRequires:  unzip
11 Obsoletes:      cfg2html-linux < 2.50-1
12 BuildArch:      noarch
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Config to HTML is the "swiss army knife" for the ASE, CE, sysadmin
17 etc. It helps to get the nessary informations to plan an update, to
18 performe basic trouble shooting or performance analysis.
19
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.
24
25 %prep
26 %setup -qc
27
28 mv %{name}-linux_*.changes Changes
29 mv descript.ion README
30
31 %{__tar} xzf %{name}-linux_%{version}*.tar.gz
32 mv %{name}-linux-%{version}/* .
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8}
37 %{__make} install \
38         DESTDIR=$RPM_BUILD_ROOT
39
40 echo '.so man8/cfg2html-linux.8' > $RPM_BUILD_ROOT%{_mandir}/man8/cfg2html.8
41
42 %clean
43 rm -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.115192 seconds and 3 git commands to generate.