134 lines
3.5 KiB
RPMSpec
134 lines
3.5 KiB
RPMSpec
Name: bitmap-fonts
|
|
Version: 0.3
|
|
Release: 5.2%{?dist}
|
|
License: distributable
|
|
Source: bitmap-fonts-%{version}.tar.bz2
|
|
Source1: fixfont-3.5.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildArch: noarch
|
|
Group: User Interface/X
|
|
Summary: Selected set of bitmap fonts
|
|
Requires(pre): fontconfig
|
|
BuildRequires: xorg-x11-font-utils
|
|
|
|
%description
|
|
The bitmap-fonts package provides a number of bitmap fonts selected
|
|
from the xorg package designed for use locations such as
|
|
terminals.
|
|
|
|
%package cjk
|
|
Summary: Selected CJK bitmap fonts for Anaconda
|
|
Group: Applications/System
|
|
Requires(pre): fontconfig
|
|
|
|
%description cjk
|
|
bitmap-fonts-cjk package contains bitmap fonts used by Anaconda. They are
|
|
selected from the xorg packages, and the font encoding are converted from
|
|
native encoding to ISO10646. They are only intended to be used in Anaconda.
|
|
|
|
%prep
|
|
%setup -q -a 1
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
cd fixfont-3.5
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
# %%ghost the fonts.cache-1 file
|
|
touch $RPM_BUILD_ROOT%{_datadir}/fonts/bitmap-fonts/fonts.cache-1
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post
|
|
fc-cache %{_datadir}/fonts
|
|
|
|
%postun
|
|
if [ "$1" = "0" ]; then
|
|
fc-cache %{_datadir}/fonts
|
|
fi
|
|
|
|
%post cjk
|
|
fc-cache %{_datadir}/fonts
|
|
|
|
%postun cjk
|
|
if [ "$1" = "0" ]; then
|
|
fc-cache %{_datadir}/fonts
|
|
fi
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README LU_LEGALNOTICE
|
|
%dir %{_datadir}/fonts/bitmap-fonts
|
|
%{_datadir}/fonts/bitmap-fonts/lut*
|
|
%{_datadir}/fonts/bitmap-fonts/con*
|
|
%{_datadir}/fonts/bitmap-fonts/[0-9]*
|
|
%ghost %{_datadir}/fonts/bitmap-fonts/fonts.cache-1
|
|
|
|
%files cjk
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/fonts/bitmap-fonts
|
|
%{_datadir}/fonts/bitmap-fonts/fangsongti*
|
|
%ghost %{_datadir}/fonts/bitmap-fonts/fonts.cache-1
|
|
|
|
%changelog
|
|
* Tue Feb 12 2008 Rahul Bhalerao <rbhalera@redhat.com> - 0.3-5.2
|
|
- Rebuild for gcc4.3.
|
|
|
|
* Tue Feb 27 2007 Mayank Jain <majain@redhat.com> - 0.3-5.1.2
|
|
- Changed BuildRoot to %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
- Changed Prereq tag to Requires(pre)
|
|
- In the "cjk" subpackage summary, CJK is now spelt with capital letters.
|
|
- Added %{?dist} to the Release tag
|
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.3-5.1.1
|
|
- rebuild
|
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
- rebuilt
|
|
|
|
* Wed Nov 09 2004 Caolan McNamara <caolanm@redhat.com> - 0.3-5
|
|
- build fixfont .pcfs from source .bdfs
|
|
|
|
* Wed Sep 22 2004 Owen Taylor <otaylor@redhat.com> - 0.3-4
|
|
- Update BuildRequires to xorg-x11-font-utils (#118428, Mike Harris)
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
- rebuilt
|
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
- rebuilt
|
|
|
|
* Tue Jan 21 2003 Owen Taylor <otaylor@redhat.com>
|
|
- Version 0.3 adding misc-fixed fonts from ucs-fonts
|
|
- Adjust %%post, %%postun
|
|
|
|
* Mon Jan 13 2003 Owen Taylor <otaylor@redhat.com>
|
|
- Patch from Anthony Fok, to fix problem where fangsongti16.bdf
|
|
wasn't considered to cover english because it didn't have
|
|
e-diaresis. (Causing bad font choice in Anaconda)
|
|
|
|
* Wed Dec 18 2002 Than Ngo <than@redhat.com> 0.2-4
|
|
- add some bitmap fonts
|
|
|
|
* Thu Oct 31 2002 Owen Taylor <otaylor@redhat.com> 0.2-3
|
|
- Own the bitmap-fonts directory (Enrico Scholz, #73940)
|
|
- Add %%post, %%postun for cjk subpackage
|
|
|
|
* 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
|
|
|