]>
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 |
dd99bdb9 | 4 | Version: 3.20 |
d03eafaf | 5 | Release: 1 |
da10118c | 6 | License: BSD |
38b48283 | 7 | Group: Applications/Text |
d03eafaf | 8 | Source0: http://www.catb.org/~esr/ascii/%{name}-%{version}.tar.gz |
dd99bdb9 | 9 | # Source0-md5: 6c11d2b6ad0c5758236cacbf6916e810 |
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} \ |
dd99bdb9 JB |
35 | CC="%{__cc}" \ |
36 | CFLAGS="%{rpmcflags} %{rpmcppflags}" | |
3d5c79dc | 37 | |
38 | %install | |
b39ed57c | 39 | rm -rf $RPM_BUILD_ROOT |
40 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
41 | ||
38b48283 | 42 | install ascii $RPM_BUILD_ROOT%{_bindir} |
dd99bdb9 | 43 | cp -p ascii.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
b39ed57c | 44 | |
b39ed57c | 45 | %clean |
46 | rm -rf $RPM_BUILD_ROOT | |
3d5c79dc | 47 | |
48 | %files | |
b39ed57c | 49 | %defattr(644,root,root,755) |
dd99bdb9 | 50 | %doc COPYING NEWS.adoc README |
b39ed57c | 51 | %attr(755,root,root) %{_bindir}/ascii |
9c8f5234 | 52 | %{_mandir}/man1/ascii.1* |