07d049a
Summary:		Perl script to colorize logs
07d049a
Summary(pl):	Skrypt w Perlu do kolorowania logów
07d049a
Summary(ru):	Perl скрипт для раскрашивания логов
07d049a
Name:		colorize
07d049a
Version:		0.3.4
07d049a
Release:		2%{?dist}
07d049a
Group:		Applications/Text
07d049a
License:		GPLv2+
07d049a
Source0:		http://web.archive.org/web/20040604132106/http://colorize.raszi.hu/downloads/colorize_0.3.4.tar.bz2
07d049a
# http://web.archive.org/web/20040607115833/colorize.raszi.hu/
07d049a
URL:			http://colorize.raszi.hu/
07d049a
BuildRequires:	perl
07d049a
BuildArch:	noarch
07d049a
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
07d049a
07d049a
%description
07d049a
This is a short perl script to colorize your logs. You can use your
07d049a
own colors, you can simply modify your config file in your home
07d049a
directory, or system-wide (/etc/colorize).
07d049a
07d049a
%description -l pl
07d049a
Colorize jest krótkim skryptem w Perlu umożliwiającym pokolorowanie
07d049a
logów. Można używać własnych schematów kolorów modyfikując swój własny
07d049a
plik konfiguracyjny lub ogólnosystemowy.
07d049a
07d049a
%description -l ru
07d049a
Этот короткий Perl-скрипт раскрашивает Ваши логи. Вы можете изменять
07d049a
цвета по своему усмотрению как на уровне пользователя (редактируюя
07d049a
конфиг в домашней директории) или на уровне системы, редактируя сис-
07d049a
темный конфиг - /etc/colorize
07d049a
07d049a
%prep
07d049a
%setup -q
07d049a
07d049a
%build
07d049a
07d049a
%install
07d049a
rm -rf %{buildroot}
07d049a
install -d %{buildroot}{%{_bindir},%{_mandir}/man1,%{_sysconfdir}}
07d049a
07d049a
install colorize %{buildroot}%{_bindir}/colorize
07d049a
install colorize.1.gz %{buildroot}%{_mandir}/man1/
07d049a
install colorizerc %{buildroot}%{_sysconfdir}/colorizerc
07d049a
07d049a
%clean
07d049a
rm -rf %{buildroot}
07d049a
07d049a
%files
07d049a
%defattr(644,root,root,755)
07d049a
%doc changelog.gz copyright examples/ README THANKS TIPS TODO
07d049a
%attr(755,root,root) %{_bindir}/colorize
07d049a
%{_mandir}/man1/colorize.1*
07d049a
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/colorizerc
07d049a
07d049a
%changelog
07d049a
* Sat Jul 17 2010 Pavel Alexeev <Pahan@Hubbitus.info> - 0.3.4-2
07d049a
- Changes in review process. Thanks to Manuel Wolfshant.
07d049a
- Delete old PLD changelog entries.
07d049a
- Replace source0 by webarchive working link.
07d049a
07d049a
* Sat Jul 11 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 0.3.4-1
07d049a
- Imported from ftp://ftp.icm.edu.pl/vol/rzm1/linux-pld-linux/dists/3.0/PLD/SRPMS/RPMS/colorize-0.3.4-1.src.rpm
07d049a
- All Log saved, but it is not in common format, so, all commented.
07d049a
- Summary(pl.UTF-8), Description -l pl.UTF-8 turned to just Summary(pl), Description -l pl
07d049a
- Add Summary(ru), Description -l ru
07d049a
- $RPM_BUILD_ROOT replaced by %%{buildroot}
07d049a
- Replace buildRoot from "%%{tmpdir}/%%{name}-%%{version}-root-%%(id -u -n)" to Fedora standard one.
07d049a
- Delete %%include	/usr/lib/rpm/macros.perl
07d049a
- Add empty %%build section (to do not shut rpmlint)
07d049a
- Add %%{?dist} part into Release.
07d049a
- BuildRequires: perl-base replaced bu simple BuildRequires:	perl
07d049a
- Delete Requires: perl-Term-ANSIColor because: 1) It is incorrect, 2) Such dependencies should be automatically handled by rpm.
07d049a
- Licence changed to GPLv2+ from GPL