]>
Commit | Line | Data |
---|---|---|
45b1ae4d | 1 | Summary: ANSI coloring tool |
da0d8244 | 2 | Summary(pl.UTF-8): Narzędzie do kolorowania ANSI |
45b1ae4d | 3 | Name: color |
e1f7f91d | 4 | Version: 1.2 |
5 | Release: 1 | |
f1792775 | 6 | License: GPL v2 |
9761fb7d | 7 | Group: Applications/Terminal |
49270d3b | 8 | Source0: http://runslinux.net/projects/color/%{name}-%{version}.tar.gz |
e1f7f91d | 9 | # Source0-md5: 17938f68c0ad3060111446c34922fdf2 |
10 | URL: http://runslinux.net/?page_id=10 | |
45b1ae4d | 11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
12 | ||
13 | %description | |
49270d3b | 14 | Color is a convenience tool to ease the use of ANSI coloring in your |
15 | shell scripts by hiding the escape sequences through command | |
16 | substitution. | |
45b1ae4d | 17 | |
2be426ec JR |
18 | %description -l pl.UTF-8 |
19 | Color jest wygodnym narzędziem ułatwiającym używanie kolorowania ANSI | |
49270d3b | 20 | w skryptach shellowych poprzez ukrycie sekwencji ANSI przed |
2be426ec | 21 | użytkownikiem, zastępując je podstawianiem komend. |
45b1ae4d | 22 | |
23 | %prep | |
9761fb7d | 24 | %setup -q |
45b1ae4d | 25 | |
26 | %build | |
c2afba0a | 27 | %{__make} \ |
e7a01d96 | 28 | CC="%{__cc}" \ |
c2afba0a | 29 | CFLAGS="%{rpmcflags} -Wall" |
45b1ae4d | 30 | |
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | install -d $RPM_BUILD_ROOT%{_bindir} | |
9761fb7d | 34 | |
45b1ae4d | 35 | install color $RPM_BUILD_ROOT%{_bindir} |
36 | ||
45b1ae4d | 37 | %clean |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
e7a01d96 | 42 | %doc CHANGELOG README |
45b1ae4d | 43 | %attr(755,root,root) %{_bindir}/color |