%define ver 1.5 %define rel 8sunshine%{?dist} Summary: Program execution wrapper to highlight stderr in color Name: hilite Version: %{ver} Release: %{rel} License: GPLv2+ Group: Utilities Source0: http://downloads.sourceforge.net/%{name}/%{name}.c URL: http://www.sourceforge.net/projects/%{name}/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gcc %description hilite is a program execution wrapper for coloring stderr. It executes a stated program and colors that program's stderr output, in order for easier differentiation between stdout and stderr. %build ${CC:-gcc} %{optflags} %{SOURCE0} -o %{name} %install mkdir -p %{buildroot}%{_bindir} install %{name} %{buildroot}%{_bindir} %clean rm -rf "%{buildroot}" %files %defattr(-, root, root) %{_bindir}/%{name} %changelog * Mon Nov 05 2018 Moritz Barsnick 1.5-8sunshine - BR gcc * Mon Aug 11 2014 Moritz Barsnick 1.5-7sunshine - fix license - use separate %%build and %%install stages, despite just one file - better use of macros * Sun Feb 15 2009 Moritz Barsnick 1.5-6.2sunshine - rebuild for F10 on sunshine * Mon Nov 10 2008 Moritz Barsnick 1.5-6.1sunshine - use %%{dist} tag with the question mark conditional: %%{?dist} * Sun May 11 2008 Moritz Barsnick 1.5-5.1sunshine - rebuild for F8 on sunshine - remove explicit Packager tag - adapt Source URL to new standards - use normed BuildRoot (though it's not even really used, but this avoids prelink) * Mon Jun 12 2006 Moritz Barsnick 1.5-4sunshine - rebuild for FC5 on sunshine * Sun Jun 12 2005 Moritz Barsnick 1.5-3sunshine - don't force use of gcc as compiler * Sun Jan 11 2004 Moritz Barsnick 1.5-2sunshine - rebuild on/for new sunshine and i686 * Mon Mar 11 2002 Moritz Barsnick 1.5-1sunshine - first RPM