60 lines
1.9 KiB
RPMSpec
60 lines
1.9 KiB
RPMSpec
Summary: Script to colorize the compiler output
|
|
Name: colorgcc
|
|
Version: 1.3.2
|
|
Release: 5%{?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 Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* 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
|
|
|