]> git.pld-linux.org Git - packages/cfg2html.git/commitdiff
- new. created from repoforge spec
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 3 Jul 2012 10:10:15 +0000 (10:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  https://github.com/repoforge/rpms/raw/master/specs/cfg2html/cfg2html.spec
- are you afraid to run this code as root? i am!

Changed files:
    cfg2html.spec -> 1.1

cfg2html.spec [new file with mode: 0644]

diff --git a/cfg2html.spec b/cfg2html.spec
new file mode 100644 (file)
index 0000000..2a06c73
--- /dev/null
@@ -0,0 +1,55 @@
+Summary:       Tool to collect Linux system configuration into a HTML and text file
+Name:          cfg2html
+Version:       2.50
+Release:       1
+License:       Unknown
+Group:         Applications/System
+URL:           http://www.cfg2html.com/
+Source0:       http://www.cfg2html.com/%{name}-linux-%{version}-20120601_all.zip
+# Source0-md5: a3d2991a515f5ed5f23ea0b7dda8f82c
+BuildRequires: unzip
+Obsoletes:     cfg2html-linux < 2.50-1
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Config to HTML is the "swiss army knife" for the ASE, CE, sysadmin
+etc. It helps to get the nessary informations to plan an update, to
+performe basic trouble shooting or performance analysis.
+
+As a bonus cfg2html creates a nice HTML and plain ASCII documentation
+from Linux System, Cron and At, installed Hardware, installed
+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}/* .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8}
+%{__make} install \
+       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
+%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
+%{_mandir}/man8/cfg2html.8*
+%{_mandir}/man8/cfg2html-linux.8*
This page took 0.091569 seconds and 4 git commands to generate.