Author: glen Date: Tue Jul 3 10:10:20 2012 GMT Module: packages Tag: HEAD ---- Log message: - 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!
---- Files affected: packages/cfg2html: cfg2html.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/cfg2html/cfg2html.spec diff -u /dev/null packages/cfg2html/cfg2html.spec:1.1 --- /dev/null Tue Jul 3 12:10:20 2012 +++ packages/cfg2html/cfg2html.spec Tue Jul 3 12:10:15 2012 @@ -0,0 +1,67 @@ +# $Revision$, $Date$ +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* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2012/07/03 10:10:15 glen +- 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! ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
