Репозитории ALT
S: | 2.3.1-alt8 |
5.1: | 2.3.1-alt7 |
4.1: | 2.3.1-alt7 |
4.0: | 2.3.1-alt4.M40.1 |
Группа :: Система/Шрифты/X11 растровые
Пакет: fonts-bitmap-cyrillic
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _fontsdir %_datadir/fonts/bitmap
Name: fonts-bitmap-cyrillic
Version: 2.3.1
Release: alt4.M40.1
License: distributable
Source: xrus-2.3.1-src.tgz
Group: System/Fonts/X11 bitmap
Summary: Cyrillic bitmap fonts for the X Window System in koi8-r encoding
Packager: Valery V. Inozemtsev <shrek at altlinux.ru>
PreReq: chkfontpath mkfontdir
Obsoletes: xorg-x11-cyrillic-fonts
Provides: xorg-x11-cyrillic-fonts = %version-%release
BuildArch: noarch
BuildRequires: xorg-x11-font-utils
%description
Collection of cyrillic raster fonts for X Window System by Andrey A. Chernov.
%prep
%setup -q -n xrus-2.3.1-src
%build
%make X11R6
%install
%make instX11R6 USERDIR=%buildroot%_fontsdir/cyrillic
%__rm -f %buildroot%_fontsdir/cyrillic/xrus.info
touch %buildroot%_fontsdir/cyrillic/{100dpi,75dpi,misc}/fonts.cache-1
%post
if [ -f %_sysconfdir/sysconfig/i18n ]; then
. %_sysconfdir/sysconfig/i18n
fi
if [ "$LANG" = "ru_RU.KOI8-R" ]; then
%_sbindir/chkfontpath -q --first -a %_fontsdir/cyrillic/misc:unscaled
%_sbindir/chkfontpath -q --first -a %_fontsdir/cyrillic/100dpi:unscaled
%_sbindir/chkfontpath -q --first -a %_fontsdir/cyrillic/75dpi:unscaled
else
%_sbindir/chkfontpath -q -a %_fontsdir/cyrillic/misc:unscaled
%_sbindir/chkfontpath -q -a %_fontsdir/cyrillic/100dpi:unscaled
%_sbindir/chkfontpath -q -a %_fontsdir/cyrillic/75dpi:unscaled
fi
mkfontdir %_fontsdir/cyrillic/misc
mkfontdir %_fontsdir/cyrillic/100dpi
mkfontdir %_fontsdir/cyrillic/75dpi
%postun
if [ "$1" = "0" ]; then
%_sbindir/chkfontpath -q -r %_fontsdir/cyrillic/misc:unscaled
%_sbindir/chkfontpath -q -r %_fontsdir/cyrillic/75dpi:unscaled
%_sbindir/chkfontpath -q -r %_fontsdir/cyrillic/100dpi:unscaled
fi
%files
%doc README.Winitzki xrus.info
%ghost %_fontsdir/cyrillic/*/fonts.cache-1
%_fontsdir/cyrillic
%changelog
…
Полный changelog можно просмотреть здесь
Name: fonts-bitmap-cyrillic
Version: 2.3.1
Release: alt4.M40.1
License: distributable
Source: xrus-2.3.1-src.tgz
Group: System/Fonts/X11 bitmap
Summary: Cyrillic bitmap fonts for the X Window System in koi8-r encoding
Packager: Valery V. Inozemtsev <shrek at altlinux.ru>
PreReq: chkfontpath mkfontdir
Obsoletes: xorg-x11-cyrillic-fonts
Provides: xorg-x11-cyrillic-fonts = %version-%release
BuildArch: noarch
BuildRequires: xorg-x11-font-utils
%description
Collection of cyrillic raster fonts for X Window System by Andrey A. Chernov.
%prep
%setup -q -n xrus-2.3.1-src
%build
%make X11R6
%install
%make instX11R6 USERDIR=%buildroot%_fontsdir/cyrillic
%__rm -f %buildroot%_fontsdir/cyrillic/xrus.info
touch %buildroot%_fontsdir/cyrillic/{100dpi,75dpi,misc}/fonts.cache-1
%post
if [ -f %_sysconfdir/sysconfig/i18n ]; then
. %_sysconfdir/sysconfig/i18n
fi
if [ "$LANG" = "ru_RU.KOI8-R" ]; then
%_sbindir/chkfontpath -q --first -a %_fontsdir/cyrillic/misc:unscaled
%_sbindir/chkfontpath -q --first -a %_fontsdir/cyrillic/100dpi:unscaled
%_sbindir/chkfontpath -q --first -a %_fontsdir/cyrillic/75dpi:unscaled
else
%_sbindir/chkfontpath -q -a %_fontsdir/cyrillic/misc:unscaled
%_sbindir/chkfontpath -q -a %_fontsdir/cyrillic/100dpi:unscaled
%_sbindir/chkfontpath -q -a %_fontsdir/cyrillic/75dpi:unscaled
fi
mkfontdir %_fontsdir/cyrillic/misc
mkfontdir %_fontsdir/cyrillic/100dpi
mkfontdir %_fontsdir/cyrillic/75dpi
%postun
if [ "$1" = "0" ]; then
%_sbindir/chkfontpath -q -r %_fontsdir/cyrillic/misc:unscaled
%_sbindir/chkfontpath -q -r %_fontsdir/cyrillic/75dpi:unscaled
%_sbindir/chkfontpath -q -r %_fontsdir/cyrillic/100dpi:unscaled
fi
%files
%doc README.Winitzki xrus.info
%ghost %_fontsdir/cyrillic/*/fonts.cache-1
%_fontsdir/cyrillic
%changelog
…
Полный changelog можно просмотреть здесь