]>
Commit | Line | Data |
---|---|---|
27e26953 | 1 | Summary: Interactive ASCII name and synonym chart |
7d2f3d72 | 2 | Summary(pl.UTF-8): Interaktywna tablica kodów i synonimów ASCII |
27e26953 | 3 | Name: ascii |
2ab8f4f4 | 4 | Version: 3.8 |
d03eafaf | 5 | Release: 1 |
2ab8f4f4 | 6 | License: GPL v2 |
38b48283 | 7 | Group: Applications/Text |
d03eafaf | 8 | Source0: http://www.catb.org/~esr/ascii/%{name}-%{version}.tar.gz |
2ab8f4f4 | 9 | # Source0-md5: 8fb7540bf2a7a8e1fa0086708ed9b881 |
f4c1201b | 10 | URL: http://www.catb.org/~esr/ascii/ |
c95692a9 | 11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
3d5c79dc | 12 | |
13 | %description | |
ad1a8809 | 14 | The ascii utility provides easy conversion between various byte |
15 | representations and the American Standard Code for Information | |
16 | Interchange (ASCII) character table. It knows about a wide variety of | |
17 | hex, binary, octal, Teletype mnemonic, ISO/ECMA code point, slang | |
18 | name, and other representations. Given any one on the command line, it | |
19 | will try to display all others. Called with no arguments it displays a | |
20 | handy small ASCII chart. | |
3d5c79dc | 21 | |
a16d0623 JR |
22 | %description -l pl.UTF-8 |
23 | Program ascii umożliwia łatwą konwersję pomiędzy tablicą znaków ASCII | |
24 | i ich różnymi odpowiednikami w postaci heksadecymalnej, binarnej, | |
ad1a8809 | 25 | oktalnej, Teletype mnemonic, ISO/ECMA, nazw potocznych, etc. |
a16d0623 JR |
26 | Jakikolwiek z nich podany w linii poleceń spowoduje wyświetlenie |
27 | pozostałych odpowiedników. Wywołany bez argumentów wyświetla poręczny | |
28 | zestaw znaków ASCII. | |
b39ed57c | 29 | |
3d5c79dc | 30 | %prep |
b39ed57c | 31 | %setup -q |
3d5c79dc | 32 | |
33 | %build | |
f4c1201b | 34 | %{__make} \ |
35 | CC="%{__cc} %{rpmcflags}" | |
3d5c79dc | 36 | |
37 | %install | |
b39ed57c | 38 | rm -rf $RPM_BUILD_ROOT |
39 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
40 | ||
38b48283 | 41 | install ascii $RPM_BUILD_ROOT%{_bindir} |
ab70db10 | 42 | install ascii.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
b39ed57c | 43 | |
b39ed57c | 44 | %clean |
45 | rm -rf $RPM_BUILD_ROOT | |
3d5c79dc | 46 | |
47 | %files | |
b39ed57c | 48 | %defattr(644,root,root,755) |
ab70db10 | 49 | %doc README |
b39ed57c | 50 | %attr(755,root,root) %{_bindir}/ascii |
9c8f5234 | 51 | %{_mandir}/man1/ascii.1* |