bitmap-fonts/bitmap-fonts.spec

71 lines
1.5 KiB
RPMSpec
Raw Normal View History

Name: bitmap-fonts
Version: 0.2
Release: 2
License: distributable
Source: bitmap-fonts-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
BuildArch: noarch
Group: User Interface/X
Summary: Selected set of bitmap fonts
Prereq: fontconfig
BuildRequires: XFree86
%description
The bitmap-fonts package provides a number of bitmap fonts selected
from the XFree86 package designed for use locations such as
terminals.
%package cjk
Summary: Selected cjk bitmap fonts for Anaconda
Group: Applications/System
Prereq: fontconfig
BuildRequires: XFree86
%description cjk
bitmap-fonts-cjk package contains bitmap fonts used by Anacondar. They are
selected from XFree86 package, and the font encoding are converted from
native encoding to ISO10646. They are only intended to be used in Anaconda.
%prep
%setup -q
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post
fc-cache
%postun
if [ "$1" = "0" ]; then
/usr/sbin/chkfontpath -q -r %{_datadir}/fonts/bitmap-fonts
fi
%files
%defattr(-,root,root)
%doc README
%{_datadir}/fonts/bitmap-fonts/lut*
%files cjk
%defattr(-,root,root)
%{_datadir}/fonts/bitmap-fonts/fangsongti*
%changelog
* Fri Aug 30 2002 Alexander Larsson <alexl@redhat.com> 0.2-2
- Call fc-cache from post
* Wed Aug 28 2002 Owen Taylor <otaylor@redhat.com>
- Augment fangsongti fonts with characters from 8x16, 12x24
* Tue Jul 31 2002 Yu Shao <yshao@redhat.com>
- add fangsong*.bdf converted from gb16fs.bdf and gb24st.bdf
* Mon Nov 13 2000 Owen Taylor <otaylor@redhat.com>
- Initial package