]> git.pld-linux.org Git - packages/ascii.git/blobdiff - ascii.spec
- updated to 3.18
[packages/ascii.git] / ascii.spec
index aac77ad92279e83e99cacc6a00c250209154583e..d85ad78509767d8a0960951a8df8abfca5602f81 100644 (file)
@@ -1,49 +1,51 @@
-Summary:        Interactive ASCII name and synonym chart
-Summary(pl):   Interaktywna tablica kodów i synonimów ASCII
-Name:          ascii
-Version:       2.6
-Release:       2
-Copyright:      distributable
-Group:          Utilities/Text
-Group(pl):      Narzêdzia/Tekstowe
-Source:        ftp://locke.ccil.org/pub/esr/%{name}-%{version}.tar.gz
-BuildRoot:     /tmp/%{name}-%{version}-root
+Summary:       Interactive ASCII name and synonym chart
+Summary(pl.UTF-8):     Interaktywna tablica kodów i synonimów ASCII
+Name:          ascii
+Version:       3.18
+Release:       1
+License:       BSD
+Group:         Applications/Text
+Source0:       http://www.catb.org/~esr/ascii/%{name}-%{version}.tar.gz
+# Source0-md5: e5a559a5b820ab20c630525ca5f7383b
+URL:           http://www.catb.org/~esr/ascii/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-The ascii utility provides easy conversion between various byte representations
-and the American Standard Code for Information Interchange (ASCII) character
-table.  It knows about a wide variety of hex, binary, octal, Teletype mnemonic,
-ISO/ECMA code point, slang name, and other representations.  Given any one on
-the command line, it will try to display all others.  Called with no arguments
-it displays a handy small ASCII chart.
-
-%description -l pl
-Program ascii umo¿liwia ³atw± konwersjê pomiêdzy tablic± znaków ASCII
-i ich ró¿nymi odpowiednikami w postaci heksadecymalnej, binarnej, oktalnej, 
-Teletype mnemonic, ISO/ECMA, nazw potocznych, etc. Jakikolwiek z nich 
-podany w linii poleceñ spowoduje wy¶wietlenie pozosta³ych odpowiedników.
-Wywo³any bez argumentów wy¶wietla porêczny zestaw znaków ASCII.
+The ascii utility provides easy conversion between various byte
+representations and the American Standard Code for Information
+Interchange (ASCII) character table. It knows about a wide variety of
+hex, binary, octal, Teletype mnemonic, ISO/ECMA code point, slang
+name, and other representations. Given any one on the command line, it
+will try to display all others. Called with no arguments it displays a
+handy small ASCII chart.
+
+%description -l pl.UTF-8
+Program ascii umożliwia łatwą konwersję pomiędzy tablicą znaków ASCII
+i ich różnymi odpowiednikami w postaci heksadecymalnej, binarnej,
+oktalnej, Teletype mnemonic, ISO/ECMA, nazw potocznych, etc.
+Jakikolwiek z nich podany w linii poleceń spowoduje wyświetlenie
+pozostałych odpowiedników. Wywołany bez argumentów wyświetla poręczny
+zestaw znaków ASCII.
 
 %prep
 %setup -q
 
 %build
-make CFLAGS="$RPM_OPT_FLAGS"
+%{__make} \
+       CC="%{__cc} %{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
 
-install -s ascii $RPM_BUILD_ROOT%{_bindir}
-install ascii.1  $RPM_BUILD_ROOT%{_mandir}/man1/ascii.1
-
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/ascii.1
+install ascii $RPM_BUILD_ROOT%{_bindir}
+install ascii.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc COPYING README
 %attr(755,root,root) %{_bindir}/ascii
-
-%{_mandir}/man1/ascii.1.gz
+%{_mandir}/man1/ascii.1*
This page took 0.034002 seconds and 4 git commands to generate.