Группа :: Работа с текстами
Пакет: ascii
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Group: Text tools
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: ascii
Version: 3.18
Release: alt1_15
URL: http://www.catb.org/~esr/ascii/
Source0: http://www.catb.org/~esr/ascii/ascii-3.18.tar.gz
BuildRequires: xmlto, gcc
License: BSD
Summary: Interactive ascii name and synonym chart
Source44: import.info
%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 names, XML entity names, 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.
%prep
%setup -q
%build
%make_build ascii ascii.1 CFLAGS="${RPM_OPT_FLAGS}"
%install
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/
cp ascii $RPM_BUILD_ROOT%{_bindir}
cp ascii.1 $RPM_BUILD_ROOT%{_mandir}/man1/
%files
%{_mandir}/man1/ascii.1*
%{_bindir}/ascii
%doc README NEWS
%doc --no-dereference COPYING
%changelog
…
Полный changelog можно просмотреть здесь
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: ascii
Version: 3.18
Release: alt1_15
URL: http://www.catb.org/~esr/ascii/
Source0: http://www.catb.org/~esr/ascii/ascii-3.18.tar.gz
BuildRequires: xmlto, gcc
License: BSD
Summary: Interactive ascii name and synonym chart
Source44: import.info
%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 names, XML entity names, 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.
%prep
%setup -q
%build
%make_build ascii ascii.1 CFLAGS="${RPM_OPT_FLAGS}"
%install
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/
cp ascii $RPM_BUILD_ROOT%{_bindir}
cp ascii.1 $RPM_BUILD_ROOT%{_mandir}/man1/
%files
%{_mandir}/man1/ascii.1*
%{_bindir}/ascii
%doc README NEWS
%doc --no-dereference COPYING
%changelog
…
Полный changelog можно просмотреть здесь