51 lines
1.5 KiB
RPMSpec
51 lines
1.5 KiB
RPMSpec
Summary: Script to colorize the compiler output
|
|
Name: colorgcc
|
|
Version: 1.3.2
|
|
Release: 2%{?dist}
|
|
License: GPL+
|
|
Group: Development/Tools
|
|
Url: http://schlueters.de/colorgcc.html
|
|
Source0: http://schlueters.de/colorgcc.%{version}.txt
|
|
BuildArch: noarch
|
|
Patch0: colorgcc-1.3.2-invocation.patch
|
|
Requires: perl
|
|
|
|
%description
|
|
Perl script written by Jamie Moyers to colorize the terminal output of C++, CC,
|
|
CCACHE, G++, GCC so error messages can be found within longer compiler outputs.
|
|
|
|
%prep
|
|
%setup -q -c -T
|
|
cp -p %{SOURCE0} .
|
|
%patch0 -p1
|
|
|
|
%install
|
|
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
|
|
install -p -m 755 $(basename %{SOURCE0}) $RPM_BUILD_ROOT/%{_bindir}/color-gcc
|
|
ln -s %{_bindir}/color-gcc $RPM_BUILD_ROOT/%{_bindir}/color-g++
|
|
ln -s %{_bindir}/color-gcc $RPM_BUILD_ROOT/%{_bindir}/color-cc
|
|
ln -s %{_bindir}/color-gcc $RPM_BUILD_ROOT/%{_bindir}/color-c++
|
|
ln -s %{_bindir}/color-gcc $RPM_BUILD_ROOT/%{_bindir}/color-ccache
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%{_bindir}/color-gcc
|
|
%{_bindir}/color-g++
|
|
%{_bindir}/color-cc
|
|
%{_bindir}/color-c++
|
|
%{_bindir}/color-ccache
|
|
|
|
%changelog
|
|
* Wed May 4 2011 Martin Cermak <mcermak@redhat.com> 1.3.2-2
|
|
- Full URL for Source0 used
|
|
- License tag updated
|
|
- BuildRoot tag dropped
|
|
- Cleaned up the prep phase code
|
|
- Summary updated
|
|
- Compilers in the description updated and sorted alphabetically
|
|
- Absolute paths pointing to compiler binaries removed
|
|
- Resolves bz700833
|
|
|
|
* Thu Apr 29 2011 Martin Cermak <mcermak@redhat.com> 1.3.2-1
|
|
- Packaged for Fedora
|
|
|