]> git.pld-linux.org Git - packages/ascii.git/blob - ascii.spec
- spec adapterized.
[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.7
5 Release:        1
6 Copyright:      distributable
7 Group:          Utilities/Text
8 Group(fr):      Utilitaires/Texte
9 Group(pl):      Narzêdzia/Tekst
10 Source0:        ftp://locke.ccil.org/pub/esr/%{name}-%{version}.tar.gz
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
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.
21
22 %description -l pl
23 Program ascii umo¿liwia ³atw± konwersjê pomiêdzy tablic± znaków ASCII
24 i ich ró¿nymi odpowiednikami w postaci heksadecymalnej, binarnej,
25 oktalnej, Teletype mnemonic, ISO/ECMA, nazw potocznych, etc.
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.
29
30 %prep
31 %setup -q
32
33 %build
34 make CFLAGS="$RPM_OPT_FLAGS"
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
39
40 install -s ascii $RPM_BUILD_ROOT%{_bindir}
41 install ascii.1  $RPM_BUILD_ROOT%{_mandir}/man1/ascii.1
42
43 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/ascii.1
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %attr(755,root,root) %{_bindir}/ascii
51 %{_mandir}/man1/*
This page took 0.061202 seconds and 4 git commands to generate.