packages/cfg2html branch created. a0a6d2ddb85d67338738e3ea2ca17383338c8831

draenog draenog at pld-linux.org
Tue Jul 3 14:07:36 CEST 2012


The branch, master has been created
        at  a0a6d2ddb85d67338738e3ea2ca17383338c8831 (commit)

- Log -----------------------------------------------------------------
commit a0a6d2ddb85d67338738e3ea2ca17383338c8831
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Jul 3 10:30:04 2012 +0000

    - somewhat more English
    
    Changed files:
        cfg2html.spec -> 1.2

diff --git a/cfg2html.spec b/cfg2html.spec
index 2a06c73..e2e1aff 100644
--- a/cfg2html.spec
+++ b/cfg2html.spec
@@ -14,8 +14,8 @@ 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.
+etc. It helps to get the nessary information to plan an update, to
+perform basic troubleshooting or performance analysis.
 
 As a bonus cfg2html creates a nice HTML and plain ASCII documentation
 from Linux System, Cron and At, installed Hardware, installed

commit 5014ec7d6471d55a9bdb60360a59572563fc6e2a
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Jul 3 10:10:15 2012 +0000

    - new. created from repoforge spec
      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

diff --git a/cfg2html.spec b/cfg2html.spec
new file mode 100644
index 0000000..2a06c73
--- /dev/null
+++ b/cfg2html.spec
@@ -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*

-----------------------------------------------------------------------


hooks/post-receive
-- 
packages/cfg2html


More information about the test mailing list