Name: cw Version: 1.0.16 Release: 3 Epoch: 0 Summary: Non-intrusive real-time ANSI color wrapper for common Unix-based commands License: GPLv2+ Group: Development/Other URL: http://cwrapper.sourceforge.net/ Source0: http://cwrapper.sourceforge.net/cw-%{version}.tar.bz2 %description cw is a non-intrusive real-time ANSI color wrapper for common Unix-based commands on GNU/Linux. cw is designed to simulate the environment of the commands being executed, so that if a person types 'du', 'df', 'ping', etc. in their shell it will automatically color the output in real-time according to a definition file containing the color format desired. cw has support for wildcard match coloring, tokenized coloring, headers/footers, case scenario coloring, command line dependent definition coloring, and includes over 50 pre-made definition files. %prep %setup -q %{__perl} -pi -e 's/ -o 0 -g 0//g' Makefile.in %{__perl} -pi -e 's|/usr/local/lib|%{_datadir}|g' README %build %{configure2_5x} %{make} LIBDIR=%{_datadir} %install %{__mkdir_p} %{buildroot}%{_bindir} %{__mkdir_p} %{buildroot}%{_datadir} %{__mkdir_p} %{buildroot}%{_mandir}/man1 %{make} install PREFIX=%{buildroot}%{_prefix} LIBDIR=%{buildroot}%{_datadir} MANDIR=%{buildroot}%{_mandir} %{__rm} %{buildroot}%{_bindir}/cwe %{__ln_s} cw %{buildroot}%{_bindir}/cwe %{__perl} -pi -e 's|CWLIB=.*|CWLIB="%{_datadir}/%{name}"|g' %{buildroot}%{_bindir}/colorcfg %{__perl} -pi -e 's|%{buildroot}||g' %{buildroot}%{_datadir}/%{name}/* %files %defattr(-,root,root) %doc CHANGES CONTRIB cw.lsm FILES MD5SUM README %{_bindir}/* %{_datadir}/%{name} %{_mandir}/man1/* %changelog * Fri Jul 06 2012 Johnny A. Solbu 0:1.0.16-2 + Revision: 808275 - Spec cleanup - Remove useless documentation - Fix license * Tue Mar 15 2011 Stéphane Téletchéa 0:1.0.16-1 + Revision: 645100 - update to new version 1.0.16 * Thu Dec 09 2010 Oden Eriksson 0:1.0.15-5mdv2011.0 + Revision: 617487 - the mass rebuild of 2010.0 packages * Wed Sep 02 2009 Thierry Vignaud 0:1.0.15-4mdv2010.0 + Revision: 426010 - rebuild * Wed Jul 23 2008 Thierry Vignaud 0:1.0.15-3mdv2009.0 + Revision: 243841 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin - restore BuildRoot * Thu Oct 11 2007 David Walluck 0:1.0.15-1mdv2008.1 + Revision: 97052 - add sources - 1.0.15 - replace build patch with work in %%install - fix cwe symlink * Sat Nov 04 2006 David Walluck 1.0.14-3mdv2007.0 + Revision: 76460 - update build patch - birthday rebuild - Import cw * Tue Sep 27 2005 David Walluck 0:1.0.14-1mdk - release