%global namebin spc %global namebinrc spcrc Name: supercat Version: 0.5.5 Release: 5%{?dist} Summary: Colorized cat License: GPLv3 URL: http://supercat.nosredna.net/ Source0: http://supercat.nosredna.net/%{name}-%{version}.tar.gz Source1: spcrc-emerge Patch0: manpage_fix.diff %description Supercat is a program that colorizes text based on matching regular expressions/strings/characters. Supercat supports html output as well as standard ASCII text. Unlike some text-colorizing programs that exist, Supercat does not require you to have to be a programmer to make colorization rules %prep %setup -q %patch0 -p1 %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/spcrc %files %dir %{_sysconfdir}/%{name} %{_sysconfdir}/%{name}/%{namebinrc}-* %{_bindir}/%{namebin} %{_mandir}/man*/%{namebin}.*.* %config(noreplace) %{_sysconfdir}/%{name}/%{namebinrc} %changelog * Sun Nov 04 2012 Adrian Alves 0.5.5-5 - Patched man pages * Sun Sep 16 2012 Adrian Alves 0.5.5-4 - Fixed %%files errors * Mon Jun 11 2012 Adrian Alves 0.5.5-3 - Fixed %%files errors * Sat Jun 09 2012 Adrian Alves 0.5.5-2 - Fixed rpmlint errors * Fri Jun 01 2012 Adrian Alves 0.5.5-1 - Initial build for fedoraproject.org