Репозитории ALT
S: | 7.0.0-alt7 |
5.1: | 7.0.0-alt6 |
4.1: | 7.0.0-alt4.M41.1 |
4.0: | 7.0.0-alt1 |
Группа :: Система/Шрифты/X11 растровые
Пакет: fonts-bitmap-misc
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define xf86 XFree86
%define xorgold xorg-x11
%define _fontsdir %_datadir/fonts/bitmap
Name: fonts-bitmap-misc
Version: 7.0.0
Release: alt4.M41.1
Summary: Misc fonts required by the X Window System
Group: System/Fonts/X11 bitmap
License: MIT/X11
Url: http://xorg.freedesktop.org
Source0: font-misc-misc-1.0.0.tar.bz2
Source1: font-cursor-misc-1.0.0.tar.bz2
Source2: font-micro-misc-1.0.0.tar.bz2
Source3: font-dec-misc-1.0.0.tar.bz2
Source5: %name.alias
Packager: Valery Inozemtsev <shrek at altlinux.ru>
PreReq: mkfontdir mkfontscale fontconfig >= 2.4.2
Obsoletes: %xf86-misc-fonts %xorgold-misc-fonts
Provides: %xf86-misc-fonts = 4.4 %xorgold-misc-fonts = %version-%release
BuildArch: noarch
BuildRequires: bdftopcf xorg-x11-font-utils mkfontdir mkfontscale pkg-config xorg-x11-util-macros
%description
This package provides the misc fonts that are required by the X Window System.
%prep
%setup -q -c -a1 -a2 -a3
%build
for d in *; do
cd $d
subst 's|^XORG_FONT_CHECK_\(.*\)|AM_CONDITIONAL(\1, false)|' configure.ac
%autoreconf
%configure \
--with-fontdir=%_fontsdir/misc
%make_build
cd ..
done
%install
for d in *; do
cd $d
%make DESTDIR=%buildroot install
cd ..
done
install -m644 %SOURCE5 %buildroot%_fontsdir/misc/fonts.alias
mkfontdir %buildroot%_fontsdir/misc/
sed -ne 's|\(.*\)\ \(-misc-fix.*\)\(iso10646-1\)|\2iso8859-1 \2\3|p' %buildroot%_fontsdir/misc/fonts.dir >> \
%buildroot%_fontsdir/misc/fonts.alias
mkdir -p %buildroot%_sysconfdir/X11/fontpath.d
ln -s ../../..%_fontsdir/misc %buildroot%_sysconfdir/X11/fontpath.d/bitmap-misc:unscaled:pri=20
%post
%_bindir/mkfontdir %_fontsdir/misc ||:
%_bindir/fc-cache %_fontsdir/misc ||:
%triggerun -- %name <= 7.0.0-alt1
if [ -x %_sbindir/chkfontpath -a -f %_sysconfdir/X11/fs/config ]; then
%_sbindir/chkfontpath -q -r %_fontsdir/misc:unscaled ||:
fi
%triggerpostun -- %name <= 7.0.0-alt3
%_bindir/mkfontdir %_fontsdir/misc ||:
%_bindir/fc-cache %_fontsdir/misc ||:
%files
%_sysconfdir/X11/fontpath.d/*
%ghost %_fontsdir/misc/fonts.scale
%_fontsdir/misc
%changelog
…
Полный changelog можно просмотреть здесь
%define xorgold xorg-x11
%define _fontsdir %_datadir/fonts/bitmap
Name: fonts-bitmap-misc
Version: 7.0.0
Release: alt4.M41.1
Summary: Misc fonts required by the X Window System
Group: System/Fonts/X11 bitmap
License: MIT/X11
Url: http://xorg.freedesktop.org
Source0: font-misc-misc-1.0.0.tar.bz2
Source1: font-cursor-misc-1.0.0.tar.bz2
Source2: font-micro-misc-1.0.0.tar.bz2
Source3: font-dec-misc-1.0.0.tar.bz2
Source5: %name.alias
Packager: Valery Inozemtsev <shrek at altlinux.ru>
PreReq: mkfontdir mkfontscale fontconfig >= 2.4.2
Obsoletes: %xf86-misc-fonts %xorgold-misc-fonts
Provides: %xf86-misc-fonts = 4.4 %xorgold-misc-fonts = %version-%release
BuildArch: noarch
BuildRequires: bdftopcf xorg-x11-font-utils mkfontdir mkfontscale pkg-config xorg-x11-util-macros
%description
This package provides the misc fonts that are required by the X Window System.
%prep
%setup -q -c -a1 -a2 -a3
%build
for d in *; do
cd $d
subst 's|^XORG_FONT_CHECK_\(.*\)|AM_CONDITIONAL(\1, false)|' configure.ac
%autoreconf
%configure \
--with-fontdir=%_fontsdir/misc
%make_build
cd ..
done
%install
for d in *; do
cd $d
%make DESTDIR=%buildroot install
cd ..
done
install -m644 %SOURCE5 %buildroot%_fontsdir/misc/fonts.alias
mkfontdir %buildroot%_fontsdir/misc/
sed -ne 's|\(.*\)\ \(-misc-fix.*\)\(iso10646-1\)|\2iso8859-1 \2\3|p' %buildroot%_fontsdir/misc/fonts.dir >> \
%buildroot%_fontsdir/misc/fonts.alias
mkdir -p %buildroot%_sysconfdir/X11/fontpath.d
ln -s ../../..%_fontsdir/misc %buildroot%_sysconfdir/X11/fontpath.d/bitmap-misc:unscaled:pri=20
%post
%_bindir/mkfontdir %_fontsdir/misc ||:
%_bindir/fc-cache %_fontsdir/misc ||:
%triggerun -- %name <= 7.0.0-alt1
if [ -x %_sbindir/chkfontpath -a -f %_sysconfdir/X11/fs/config ]; then
%_sbindir/chkfontpath -q -r %_fontsdir/misc:unscaled ||:
fi
%triggerpostun -- %name <= 7.0.0-alt3
%_bindir/mkfontdir %_fontsdir/misc ||:
%_bindir/fc-cache %_fontsdir/misc ||:
%files
%_sysconfdir/X11/fontpath.d/*
%ghost %_fontsdir/misc/fonts.scale
%_fontsdir/misc
%changelog
…
Полный changelog можно просмотреть здесь