ALT Linux repos
Group :: Documentation
RPM: man-pages-ru
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: man-pages-ru
Version: 4.17
Release: alt1
# man-pages-ru_4.17-2385-2385-20181124.tar.bz2
%define lversion %version-2385-2385-20181124
Summary: Russian translations of OS GNU/*/Linux manpages
Summary(ru_RU.UTF-8): Русские переводы страниц руководства по ОС GNU/*/Linux
License: distributable
Group: Documentation
Url: https://sourceforge.net/projects/man-pages-ru/
BuildArch: noarch
Icon: books-ru.xpm
Source: man-pages-ru_%lversion.tar.bz2
Source1: man-pages-ru-4.08-alt-Makefile
Patch0: man-pages-ru-0.98-alt-combo.patch.bz2
Patch1: mat-functions-alt.patch.gz
Conflicts: man-pages-ru-extra < 0.1-alt3
Obsoletes: man-ru, manpages-ru, man-pages-ru-KOI8-R, man-pages-ru-CP1251
PreReq: man >= 1.6e-alt1
%description
A collection of man pages (documentation) from the Linux Documentation
Project (LDP) translated to russian. The man pages are organized into the
following sections: Section 1, user commands; Section 2, system
calls; Section 3, libc calls; Section 4, devices (e.g., hd, sd); Section 5,
file formats and protocols (e.g., wtmp, /etc/passwd, nfs); Section 6, games
(intro only); Section 7, conventions, macro packages, etc. (e.g., nroff,
ascii); and Section 8, system administration.
%description -l ru_RU.UTF-8
Коллекция страниц руководства из Проекта Документации на Линукс, на
русском языке. Страницы руководства организованы следующим образом:
секция 1, команды пользователя; секция 2, системные вызовы; секция 3,
функции библиотеки языка C; секция 4, устройства (например, hd, sd);
секция 5, форматы файлов и протоколы (например, wtmp, /etc/passwd, nfs);
секция 6, игры (только введение); секция 7, соглашения, макро-пакеты,
и т. п. (например, nroff, ascii); и секция 8, утилиты администратора.
%prep
%setup -q -n man-pages-ru_%lversion
#patch0 -p1
#patch1 -p0
sed "s/ at VERSION at /%version/" < %SOURCE1 > %_builddir/man-pages-ru_%lversion/Makefile
#set_compress_method skip
%install
mkdir -p %buildroot%_mandir/ru/man{1,2,3,4,5,6,7,8,9,n}
mkdir -p %buildroot%_cachedir/man/ru/cat{1,2,3,4,5,6,7,8,9,n}
make install \
INSTALL="install -p -m644" \
INSTALLPATH=%buildroot%_mandir \
LANG_SUBDIR=ru \
COMPRESS=none \
#
#echo KOI8-R >%buildroot%_mandir/ru/.charset
echo >%buildroot%_cachedir/man/ru/whatis
# pushd %buildroot%_mandir/ru/man2/
# for F in \
# munmap.2 \
# mknodat.2 \
# mlock2.2 \
# ; do
# rm -f $F
# done
# popd
%postun
if [ "$1" = 0 -a ! -d %_mandir/ru ]; then
rm -rf %_cachedir/man/ru
fi
%files
%doc License README
%_mandir/*
%attr(3775,root,man) %dir %_cachedir/man/ru
%attr(644,cacheman,man) %ghost %_cachedir/man/ru/whatis
%defattr(644,root,man,2775)
%_cachedir/man/ru/cat*
%changelog
…
Full changelog you can see here
Version: 4.17
Release: alt1
# man-pages-ru_4.17-2385-2385-20181124.tar.bz2
%define lversion %version-2385-2385-20181124
Summary: Russian translations of OS GNU/*/Linux manpages
Summary(ru_RU.UTF-8): Русские переводы страниц руководства по ОС GNU/*/Linux
License: distributable
Group: Documentation
Url: https://sourceforge.net/projects/man-pages-ru/
BuildArch: noarch
Icon: books-ru.xpm
Source: man-pages-ru_%lversion.tar.bz2
Source1: man-pages-ru-4.08-alt-Makefile
Patch0: man-pages-ru-0.98-alt-combo.patch.bz2
Patch1: mat-functions-alt.patch.gz
Conflicts: man-pages-ru-extra < 0.1-alt3
Obsoletes: man-ru, manpages-ru, man-pages-ru-KOI8-R, man-pages-ru-CP1251
PreReq: man >= 1.6e-alt1
%description
A collection of man pages (documentation) from the Linux Documentation
Project (LDP) translated to russian. The man pages are organized into the
following sections: Section 1, user commands; Section 2, system
calls; Section 3, libc calls; Section 4, devices (e.g., hd, sd); Section 5,
file formats and protocols (e.g., wtmp, /etc/passwd, nfs); Section 6, games
(intro only); Section 7, conventions, macro packages, etc. (e.g., nroff,
ascii); and Section 8, system administration.
%description -l ru_RU.UTF-8
Коллекция страниц руководства из Проекта Документации на Линукс, на
русском языке. Страницы руководства организованы следующим образом:
секция 1, команды пользователя; секция 2, системные вызовы; секция 3,
функции библиотеки языка C; секция 4, устройства (например, hd, sd);
секция 5, форматы файлов и протоколы (например, wtmp, /etc/passwd, nfs);
секция 6, игры (только введение); секция 7, соглашения, макро-пакеты,
и т. п. (например, nroff, ascii); и секция 8, утилиты администратора.
%prep
%setup -q -n man-pages-ru_%lversion
#patch0 -p1
#patch1 -p0
sed "s/ at VERSION at /%version/" < %SOURCE1 > %_builddir/man-pages-ru_%lversion/Makefile
#set_compress_method skip
%install
mkdir -p %buildroot%_mandir/ru/man{1,2,3,4,5,6,7,8,9,n}
mkdir -p %buildroot%_cachedir/man/ru/cat{1,2,3,4,5,6,7,8,9,n}
make install \
INSTALL="install -p -m644" \
INSTALLPATH=%buildroot%_mandir \
LANG_SUBDIR=ru \
COMPRESS=none \
#
#echo KOI8-R >%buildroot%_mandir/ru/.charset
echo >%buildroot%_cachedir/man/ru/whatis
# pushd %buildroot%_mandir/ru/man2/
# for F in \
# munmap.2 \
# mknodat.2 \
# mlock2.2 \
# ; do
# rm -f $F
# done
# popd
%postun
if [ "$1" = 0 -a ! -d %_mandir/ru ]; then
rm -rf %_cachedir/man/ru
fi
%files
%doc License README
%_mandir/*
%attr(3775,root,man) %dir %_cachedir/man/ru
%attr(644,cacheman,man) %ghost %_cachedir/man/ru/whatis
%defattr(644,root,man,2775)
%_cachedir/man/ru/cat*
%changelog
…
Full changelog you can see here