]> git.pld-linux.org Git - packages/ascii.git/blob - ascii.spec
- rewritten for PLD use
[packages/ascii.git] / ascii.spec
1 Summary:        Interactive ASCII name and synonym chart
2 Summary(pl):    Interaktywna tablica kodów i synonimów ASCII
3 Name:           ascii
4 Version:        2.6
5 Release:        2
6 Copyright:      distributable
7 Group:          Utilities/Text
8 Group(pl):      Narzêdzia/Tekstowe
9 Source:         ftp://locke.ccil.org/pub/esr/%{name}-%{version}.tar.gz
10 BuildRoot:      /tmp/%{name}-%{version}-root
11
12 %description
13 The ascii utility provides easy conversion between various byte representations
14 and the American Standard Code for Information Interchange (ASCII) character
15 table.  It knows about a wide variety of hex, binary, octal, Teletype mnemonic,
16 ISO/ECMA code point, slang name, and other representations.  Given any one on
17 the command line, it will try to display all others.  Called with no arguments
18 it displays a handy small ASCII chart.
19
20 %description -l pl
21 Program ascii umo¿liwia ³atw± konwersjê pomiêdzy tablic± znaków ASCII
22 i ich ró¿nymi odpowiednikami w postaci heksadecymalnej, binarnej, oktalnej, 
23 Teletype mnemonic, ISO/ECMA, nazw potocznych, etc. Jakikolwiek z nich 
24 podany w linii poleceñ spowoduje wy¶wietlenie pozosta³ych odpowiedników.
25 Wywo³any bez argumentów wy¶wietla porêczny zestaw znaków ASCII.
26
27 %prep
28 %setup -q
29
30 %build
31 make CFLAGS="$RPM_OPT_FLAGS"
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
36
37 install -s ascii $RPM_BUILD_ROOT%{_bindir}
38 install ascii.1  $RPM_BUILD_ROOT%{_mandir}/man1/ascii.1
39
40 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/ascii.1
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %attr(755,root,root) %{_bindir}/ascii
48
49 %{_mandir}/man1/ascii.1.gz
This page took 0.492861 seconds and 3 git commands to generate.