From 45b1ae4da2521fdf36e9498e836e31189decfe6d Mon Sep 17 00:00:00 2001 From: filon Date: Sun, 27 Jan 2002 18:16:08 +0000 Subject: [PATCH 1/1] - useful package, install it with cvsq Changed files: color.spec -> 1.1 --- color.spec | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 color.spec diff --git a/color.spec b/color.spec new file mode 100644 index 0000000..fc615aa --- /dev/null +++ b/color.spec @@ -0,0 +1,40 @@ +Summary: ANSI coloring tool +Summary(pl): Narzêdzie do kolorowaia ANSI +Name: color +Version: 1.1 +Release: 1 +License: GPL +Group: Applications/Console +Source0: http://runslinux.net/projects/color/color-1.1.tar.gz +URL: http://runslinux.net/projects.html +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Color is a convenience tool to ease the use of ANSI coloring in your shell +scripts by hiding the escape sequences through command substitution. + +%description -l pl +Color jest wygodnym narzêdziem u³atwiaj±cym u¿ywanie kolorowania ANSI w +skryptach shellowych poprzez ukrycie sekwencji ANSI przed uzytkownikiem, +zastêpuj±c je podstawianiem komend. + +%prep +%setup -q + +%build +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_bindir} +install color $RPM_BUILD_ROOT%{_bindir} + +gzip -9nf README CHANGELOG + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/color +%doc *.gz -- 2.44.0