Blob Blame History Raw
Summary:		Perl script to colorize logs
Summary(pl):	Skrypt w Perlu do kolorowania logów
Summary(ru):	Perl скрипт для раскрашивания логов
Name:		colorize
Version:		0.3.4
Release:		2%{?dist}
Group:		Applications/Text
License:		GPLv2+
Source0:		http://web.archive.org/web/20040604132106/http://colorize.raszi.hu/downloads/colorize_0.3.4.tar.bz2
# http://web.archive.org/web/20040607115833/colorize.raszi.hu/
URL:			http://colorize.raszi.hu/
BuildRequires:	perl
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
This is a short perl script to colorize your logs. You can use your
own colors, you can simply modify your config file in your home
directory, or system-wide (/etc/colorize).

%description -l pl
Colorize jest krótkim skryptem w Perlu umożliwiającym pokolorowanie
logów. Można używać własnych schematów kolorów modyfikując swój własny
plik konfiguracyjny lub ogólnosystemowy.

%description -l ru
Этот короткий Perl-скрипт раскрашивает Ваши логи. Вы можете изменять
цвета по своему усмотрению как на уровне пользователя (редактируюя
конфиг в домашней директории) или на уровне системы, редактируя сис-
темный конфиг - /etc/colorize

%prep
%setup -q

%build

%install
rm -rf %{buildroot}
install -d %{buildroot}{%{_bindir},%{_mandir}/man1,%{_sysconfdir}}

install colorize %{buildroot}%{_bindir}/colorize
install colorize.1.gz %{buildroot}%{_mandir}/man1/
install colorizerc %{buildroot}%{_sysconfdir}/colorizerc

%clean
rm -rf %{buildroot}

%files
%defattr(644,root,root,755)
%doc changelog.gz copyright examples/ README THANKS TIPS TODO
%attr(755,root,root) %{_bindir}/colorize
%{_mandir}/man1/colorize.1*
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/colorizerc

%changelog
* Sat Jul 17 2010 Pavel Alexeev <Pahan@Hubbitus.info> - 0.3.4-2
- Changes in review process. Thanks to Manuel Wolfshant.
- Delete old PLD changelog entries.
- Replace source0 by webarchive working link.

* Sat Jul 11 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 0.3.4-1
- 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
- All Log saved, but it is not in common format, so, all commented.
- Summary(pl.UTF-8), Description -l pl.UTF-8 turned to just Summary(pl), Description -l pl
- Add Summary(ru), Description -l ru
- $RPM_BUILD_ROOT replaced by %%{buildroot}
- Replace buildRoot from "%%{tmpdir}/%%{name}-%%{version}-root-%%(id -u -n)" to Fedora standard one.
- Delete %%include	/usr/lib/rpm/macros.perl
- Add empty %%build section (to do not shut rpmlint)
- Add %%{?dist} part into Release.
- BuildRequires: perl-base replaced bu simple BuildRequires:	perl
- Delete Requires: perl-Term-ANSIColor because: 1) It is incorrect, 2) Such dependencies should be automatically handled by rpm.
- Licence changed to GPLv2+ from GPL