Репозитории ALT
S: | 0.0.20021031-alt3.2 |
5.1: | 0.0.20021031-alt3.1 |
4.1: | 0.0.20021031-alt3.1 |
4.0: | 0.0.20021031-alt3 |
Группа :: Система/Шрифты/X11 растровые
Пакет: fonts-bitmap-univga
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define cname univga
%define fdate 20021031
%define fontsdir %_datadir/fonts/bitmap/univga
%define charmapdir /usr/share/i18n/charmaps
Name: fonts-bitmap-univga
Version: 0.0.%fdate
Release: alt3.2
Summary: Unicode VGA font for X11
Summary(ru_RU.CP1251): ьПХТР Unicode VGA ДКЪ X11
License: X11
Group: System/Fonts/X11 bitmap
URL: http://www.inp.nsk.su/~bolkhov/files/fonts/univga/
BuildArch: noarch
# http://www.inp.nsk.su/~bolkhov/files/fonts/univga/uni-vga.tgz
Source0: uni-vga-%fdate.tar.bz2
# http://www.inp.nsk.su/~bolkhov/files/fonts/univga/
Source1: univga.html
Source2: uni-vga-utils-0.3.tar.bz2
Patch0: uni_vga-20021031-alt-fixnames.patch
PreReq: fontconfig mkfontdir
# for /usr/share/fonts/bitmap in default config
Requires: fontconfig >= 2.4.2
Obsoletes: univga-fonts-bitmap < %version-%release
Provides: univga-fonts-bitmap = %version-%release
Obsoletes: xfonts-uni-vga < %version-%release
Provides: xfonts-uni-vga = %version-%release
# Automatically added by buildreq on Sun May 21 2006
BuildRequires: bdftopcf glibc-i18ndata
%description
UNI-VGA is a constant-width Unicode font with VGA-style characters,
originally created to be a single source of fonts for console and
XDosEmu. This package contains the X11 version of this font in both
8x16 and 9x16 sizes. Fonts are available both in the Unicode encoding
(iso10646-1) and in the traditional 8-bit encodings
(iso8859-{1..10,13..16}, microsoft-cp{1250..1256}, koi8-r, koi8-u,
paratype-cp154).
%description -l ru_RU.CP1251
UNI-VGA - ЛНМНЬХПХММШИ ЬПХТР Unicode Я ЯХЛБНКЮЛХ Б ЯРХКЕ VGA, ХГМЮВЮКЭМН
ЯНГДЮММШИ ЙЮЙ НАЫХИ ХЯРНВМХЙ ЬПХТРНБ ДКЪ ЙНМЯНКХ Х XDosEmu. щРНР ОЮЙЕР
ЯНДЕПФХР БЕПЯХЧ ЩРНЦН ЬПХТРЮ ДКЪ X11 Я ПЮГЛЕПЮЛХ 8x16 Х 9x16. ьПХТРШ
ДНЯРСОМШ ЙЮЙ Б ЙНДХПНБЙЕ Unicode (iso10646-1), РЮЙ Х Б НАШВМШУ 8-АХРНБШУ
ЙНДХПНБЙЮУ (iso8859-{1..10,13..16}, microsoft-cp{1250..1256}, koi8-r,
koi8-u, paratype-cp154).
%prep
%setup -q -n uni_vga -a 2
%patch0 -p1
subst 's/iso10646/ISO10646/i' u_vga16.bdf
cp -p %SOURCE1 univga.html
%build
perl bdf8to9.pl -f VGA9 -l linedraw.lst -o u_vga16_9.bdf u_vga16.bdf
encodings="
ISO-8859-1 iso8859-1
ISO-8859-2 iso8859-2
ISO-8859-3 iso8859-3
ISO-8859-4 iso8859-4
ISO-8859-5 iso8859-5
ISO-8859-6 iso8859-6
ISO-8859-7 iso8859-7
ISO-8859-8 iso8859-8
ISO-8859-9 iso8859-9
ISO-8859-10 iso8859-10
ISO-8859-13 iso8859-13
ISO-8859-14 iso8859-14
ISO-8859-15 iso8859-15
ISO-8859-16 iso8859-16
CP1250 microsoft-cp1250
CP1251 microsoft-cp1251
CP1252 microsoft-cp1252
CP1253 microsoft-cp1253
CP1254 microsoft-cp1254
CP1255 microsoft-cp1255
CP1256 microsoft-cp1256
CP1257 microsoft-cp1257
CP1258 microsoft-cp1258
KOI8-R koi8-r
KOI8-U koi8-u
PT154 paratype-cp154
"
for bdf in u_vga16.bdf u_vga16_9.bdf; do
sh bdfconv.sh "$bdf" %charmapdir $encodings
done
for bdf in *.bdf; do
bdftopcf "$bdf" | gzip -9f >"${bdf%.bdf}.pcf.gz"
done
%install
mkdir -p $RPM_BUILD_ROOT%fontsdir
install -p -m 444 *.pcf.gz $RPM_BUILD_ROOT%fontsdir/
touch $RPM_BUILD_ROOT%fontsdir/fonts.dir
mkdir -p $RPM_BUILD_ROOT%_sysconfdir/X11/fontpath.d
ln -s ../../..%fontsdir $RPM_BUILD_ROOT%_sysconfdir/X11/fontpath.d/bitmap-%cname:unscaled:pri=20
%post
%_bindir/mkfontdir %fontsdir ||:
%_bindir/fc-cache %fontsdir ||:
%triggerun -- %name <= 0.0.20021031-alt3
if [ -x %_sbindir/chkfontpath -a -f %_sysconfdir/X11/fs/config ]; then
%_sbindir/chkfontpath -q -r %fontsdir ||:
fi
%files
%doc univga.html
%_sysconfdir/X11/fontpath.d/*
%dir %fontsdir
%fontsdir/*.pcf.gz
%ghost %fontsdir/fonts.dir
%changelog
…
Полный changelog можно просмотреть здесь
%define fdate 20021031
%define fontsdir %_datadir/fonts/bitmap/univga
%define charmapdir /usr/share/i18n/charmaps
Name: fonts-bitmap-univga
Version: 0.0.%fdate
Release: alt3.2
Summary: Unicode VGA font for X11
Summary(ru_RU.CP1251): ьПХТР Unicode VGA ДКЪ X11
License: X11
Group: System/Fonts/X11 bitmap
URL: http://www.inp.nsk.su/~bolkhov/files/fonts/univga/
BuildArch: noarch
# http://www.inp.nsk.su/~bolkhov/files/fonts/univga/uni-vga.tgz
Source0: uni-vga-%fdate.tar.bz2
# http://www.inp.nsk.su/~bolkhov/files/fonts/univga/
Source1: univga.html
Source2: uni-vga-utils-0.3.tar.bz2
Patch0: uni_vga-20021031-alt-fixnames.patch
PreReq: fontconfig mkfontdir
# for /usr/share/fonts/bitmap in default config
Requires: fontconfig >= 2.4.2
Obsoletes: univga-fonts-bitmap < %version-%release
Provides: univga-fonts-bitmap = %version-%release
Obsoletes: xfonts-uni-vga < %version-%release
Provides: xfonts-uni-vga = %version-%release
# Automatically added by buildreq on Sun May 21 2006
BuildRequires: bdftopcf glibc-i18ndata
%description
UNI-VGA is a constant-width Unicode font with VGA-style characters,
originally created to be a single source of fonts for console and
XDosEmu. This package contains the X11 version of this font in both
8x16 and 9x16 sizes. Fonts are available both in the Unicode encoding
(iso10646-1) and in the traditional 8-bit encodings
(iso8859-{1..10,13..16}, microsoft-cp{1250..1256}, koi8-r, koi8-u,
paratype-cp154).
%description -l ru_RU.CP1251
UNI-VGA - ЛНМНЬХПХММШИ ЬПХТР Unicode Я ЯХЛБНКЮЛХ Б ЯРХКЕ VGA, ХГМЮВЮКЭМН
ЯНГДЮММШИ ЙЮЙ НАЫХИ ХЯРНВМХЙ ЬПХТРНБ ДКЪ ЙНМЯНКХ Х XDosEmu. щРНР ОЮЙЕР
ЯНДЕПФХР БЕПЯХЧ ЩРНЦН ЬПХТРЮ ДКЪ X11 Я ПЮГЛЕПЮЛХ 8x16 Х 9x16. ьПХТРШ
ДНЯРСОМШ ЙЮЙ Б ЙНДХПНБЙЕ Unicode (iso10646-1), РЮЙ Х Б НАШВМШУ 8-АХРНБШУ
ЙНДХПНБЙЮУ (iso8859-{1..10,13..16}, microsoft-cp{1250..1256}, koi8-r,
koi8-u, paratype-cp154).
%prep
%setup -q -n uni_vga -a 2
%patch0 -p1
subst 's/iso10646/ISO10646/i' u_vga16.bdf
cp -p %SOURCE1 univga.html
%build
perl bdf8to9.pl -f VGA9 -l linedraw.lst -o u_vga16_9.bdf u_vga16.bdf
encodings="
ISO-8859-1 iso8859-1
ISO-8859-2 iso8859-2
ISO-8859-3 iso8859-3
ISO-8859-4 iso8859-4
ISO-8859-5 iso8859-5
ISO-8859-6 iso8859-6
ISO-8859-7 iso8859-7
ISO-8859-8 iso8859-8
ISO-8859-9 iso8859-9
ISO-8859-10 iso8859-10
ISO-8859-13 iso8859-13
ISO-8859-14 iso8859-14
ISO-8859-15 iso8859-15
ISO-8859-16 iso8859-16
CP1250 microsoft-cp1250
CP1251 microsoft-cp1251
CP1252 microsoft-cp1252
CP1253 microsoft-cp1253
CP1254 microsoft-cp1254
CP1255 microsoft-cp1255
CP1256 microsoft-cp1256
CP1257 microsoft-cp1257
CP1258 microsoft-cp1258
KOI8-R koi8-r
KOI8-U koi8-u
PT154 paratype-cp154
"
for bdf in u_vga16.bdf u_vga16_9.bdf; do
sh bdfconv.sh "$bdf" %charmapdir $encodings
done
for bdf in *.bdf; do
bdftopcf "$bdf" | gzip -9f >"${bdf%.bdf}.pcf.gz"
done
%install
mkdir -p $RPM_BUILD_ROOT%fontsdir
install -p -m 444 *.pcf.gz $RPM_BUILD_ROOT%fontsdir/
touch $RPM_BUILD_ROOT%fontsdir/fonts.dir
mkdir -p $RPM_BUILD_ROOT%_sysconfdir/X11/fontpath.d
ln -s ../../..%fontsdir $RPM_BUILD_ROOT%_sysconfdir/X11/fontpath.d/bitmap-%cname:unscaled:pri=20
%post
%_bindir/mkfontdir %fontsdir ||:
%_bindir/fc-cache %fontsdir ||:
%triggerun -- %name <= 0.0.20021031-alt3
if [ -x %_sbindir/chkfontpath -a -f %_sysconfdir/X11/fs/config ]; then
%_sbindir/chkfontpath -q -r %fontsdir ||:
fi
%files
%doc univga.html
%_sysconfdir/X11/fontpath.d/*
%dir %fontsdir
%fontsdir/*.pcf.gz
%ghost %fontsdir/fonts.dir
%changelog
…
Полный changelog можно просмотреть здесь