]> git.pld-linux.org Git - packages/color.git/blobdiff - color.spec
- release 2 - new doc, license changed, use compilation flags - STBR
[packages/color.git] / color.spec
index e7262bdaa2530e18772e4e0148623d3d51678ecb..135dcc9b1a62260e97f52a595fb188b90ffbbdcc 100644 (file)
@@ -2,41 +2,38 @@ Summary:      ANSI coloring tool
 Summary(pl):   Narzêdzie do kolorowaia ANSI
 Name:          color
 Version:       1.1
-Release:       1
-License:       GPL
+Release:       2
+License:       GPL v2
 Group:         Applications/Console
-Group(de):     Applikationen/Konsole
-Group(pl):     Aplikacje/Konsola
-Source0:       http://runslinux.net/projects/color/color-1.1.tar.gz
+Source0:       http://runslinux.net/projects/color/%{name}-%{version}.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.
+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 u¿ytkownikiem,
-zastêpuj±c je podstawianiem komend.
+Color jest wygodnym narzêdziem u³atwiaj±cym u¿ywanie kolorowania ANSI
+w skryptach shellowych poprzez ukrycie sekwencji ANSI przed
+u¿ytkownikiem, zastêpuj±c je podstawianiem komend.
 
 %prep
 %setup  -q
 
 %build
-%{__make}
+%{__make} CFLAGS="%{rpmcflags} -Wall"
 
 %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)
+%doc README CHANGELOG
 %attr(755,root,root) %{_bindir}/color
-%doc *.gz
This page took 0.045455 seconds and 4 git commands to generate.