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