7560d0
%global fontname bitmap
7560d0
%global fontconf 66-%{fontname}
7560d0
%global common_desc \
7560d0
The bitmap-fonts package provides a number of bitmap fonts selected\
7560d0
from the xorg package designed for use locations such as\
7560d0
terminals.
7560d0
7560d0
Name: bitmap-fonts
7560d0
Version: 0.3
4ec749
Release: 21%{?dist}
7560d0
License: GPLv2 and MIT and Lucida
7560d0
Source0: bitmap-fonts-%{version}.tar.bz2
7560d0
Source1: fixfont-3.5.tar.bz2
7560d0
Source2: LICENSE
7560d0
Source3: 66-bitmap-console.conf
7560d0
Source4: 66-bitmap-fangsongti.conf
7560d0
Source5: 66-bitmap-fixed.conf
7560d0
Source6: 66-bitmap-lucida-typewriter.conf
7560d0
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
7560d0
BuildArch: noarch
7560d0
Group: User Interface/X
7560d0
Summary: Selected set of bitmap fonts
7560d0
BuildRequires: xorg-x11-font-utils
7560d0
BuildRequires: fontpackages-devel
7560d0
7560d0
7560d0
%description
7560d0
%common_desc
7560d0
7560d0
%package -n %{fontname}-fonts-compat
7560d0
Summary:          Compatibility files of bitmap-font families
7560d0
Group:            User Interface/X
7560d0
Provides:        bitmap-fonts = %{version}-%{release}
7560d0
Requires: %{fontname}-lucida-typewriter-fonts = %{version}-%{release}
7560d0
Requires: %{fontname}-fangsongti-fonts = %{version}-%{release}
7560d0
Requires: %{fontname}-console-fonts = %{version}-%{release}
7560d0
Requires: %{fontname}-fixed-fonts = %{version}-%{release}
7560d0
Requires: ucs-miscfixed-fonts
7560d0
Obsoletes:        bitmap-fonts < %{version}-%{release}
7560d0
7560d0
%description -n %{fontname}-fonts-compat
7560d0
%common_desc
7560d0
Meta-package for installing all font families of bitmap.
7560d0
7560d0
%files -n %{fontname}-fonts-compat
7560d0
7560d0
%package -n bitmap-lucida-typewriter-fonts
7560d0
Summary: Selected CJK bitmap fonts for Anaconda
7560d0
Requires: fontpackages-filesystem
7560d0
Provides: %{name}-cjk = %{version}-%{release}
7560d0
License: Lucida
7560d0
7560d0
%description -n bitmap-lucida-typewriter-fonts
7560d0
%common_desc
7560d0
7560d0
%_font_pkg -n lucida-typewriter -f %{fontconf}-lucida-typewriter.conf lut*
7560d0
%doc LU_LEGALNOTICE
7560d0
7560d0
%package -n bitmap-fangsongti-fonts
7560d0
Summary: Selected CJK bitmap fonts for Anaconda
7560d0
Requires: fontpackages-filesystem
7560d0
Provides: %{name}-cjk = %{version}-%{release}
7560d0
License: MIT
7560d0
7560d0
%description -n %{fontname}-fangsongti-fonts
7560d0
bitmap-fonts-cjk package contains bitmap fonts used by Anaconda. They are
7560d0
selected from the xorg packages, and the font encoding are converted from 
7560d0
native encoding to ISO10646. They are only intended to be used in Anaconda.
7560d0
7560d0
%_font_pkg -n fangsongti -f %{fontconf}-fangsongti.conf fangsongti*
7560d0
%doc LICENSE
7560d0
7560d0
%package -n bitmap-console-fonts
7560d0
Summary: Selected set of bitmap fonts
7560d0
Requires: fontpackages-filesystem
7560d0
License: GPLv2
7560d0
7560d0
%description -n %{fontname}-console-fonts
7560d0
%common_desc
7560d0
7560d0
%_font_pkg -n console -f %{fontconf}-console.conf console8x16*
7560d0
7560d0
7560d0
%package -n bitmap-fixed-fonts
7560d0
Summary: Selected set of bitmap fonts
7560d0
Requires: fontpackages-filesystem
7560d0
License: GPLv2
7560d0
7560d0
%description -n %{fontname}-fixed-fonts
7560d0
%common_desc
7560d0
7560d0
%_font_pkg -n fixed -f %{fontconf}-fixed.conf  console9* 
7560d0
7560d0
%prep
7560d0
%setup -q -a 1
7560d0
cp %{SOURCE2} .
7560d0
7560d0
7560d0
%build
7560d0
%{nil}
7560d0
7560d0
%install
7560d0
rm -rf $RPM_BUILD_ROOT
7560d0
7560d0
make install DESTDIR=$RPM_BUILD_ROOT
7560d0
7560d0
cd fixfont-3.5
7560d0
7560d0
make install DESTDIR=$RPM_BUILD_ROOT
7560d0
7560d0
mv $RPM_BUILD_ROOT/usr/share/fonts/bitmap-fonts %{buildroot}%{_fontdir}
7560d0
7560d0
rm %{buildroot}%{_fontdir}/[0-9]*.pcf
7560d0
rm %{buildroot}%{_fontdir}/console8x8.pcf
7560d0
rm README
7560d0
7560d0
gzip %{buildroot}%{_fontdir}/*.pcf
7560d0
7560d0
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
7560d0
                   %{buildroot}%{_fontconfig_confdir}
7560d0
7560d0
# Repeat for every font family
7560d0
install -m 0644 -p %{SOURCE3} \
7560d0
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-console.conf
7560d0
7560d0
install -m 0644 -p %{SOURCE4} \
7560d0
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-fangsongti.conf
7560d0
7560d0
install -m 0644 -p %{SOURCE5} \
7560d0
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-fixed.conf
7560d0
7560d0
install -m 0644 -p %{SOURCE6} \
7560d0
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-lucida-typewriter.conf
7560d0
7560d0
7560d0
for fconf in %{fontconf}-console.conf \
7560d0
             %{fontconf}-fangsongti.conf \
7560d0
             %{fontconf}-fixed.conf \
7560d0
             %{fontconf}-lucida-typewriter.conf ; do
7560d0
  ln -s %{_fontconfig_templatedir}/$fconf \
7560d0
        %{buildroot}%{_fontconfig_confdir}/$fconf
7560d0
done
7560d0
7560d0
7560d0
%clean
7560d0
rm -rf $RPM_BUILD_ROOT
7560d0
7560d0
%changelog
4ec749
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.3-21
4ec749
- Mass rebuild 2013-12-27
4ec749
7560d0
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-20
7560d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7560d0
7560d0
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-19
7560d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7560d0
7560d0
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-18
7560d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7560d0
7560d0
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-17
7560d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7560d0
7560d0
* Wed Mar 03 2010 Pravin Satpute <psatpute@redhat.com> - 0.3-16
7560d0
- fixed lucida license
7560d0
- added compat package for smooth upgradation
7560d0
7560d0
* Tue Mar 02 2010 Pravin Satpute <psatpute@redhat.com> - 0.3-15
7560d0
- updated as per merge review comments
7560d0
- bug 225617
7560d0
7560d0
* Wed Nov 18 2009 Pravin Satpute <psatpute@redhat.com> - 0.3-14
7560d0
- removed console8x8.pcf from console sub-package
7560d0
7560d0
* Fri Oct 09 2009 Pravin Satpute <psatpute@redhat.com> - 0.3-13
7560d0
- added lucida-typewriter and fixed subpackage
7560d0
- removed common subpackage
7560d0
- added conf file for each subpackage
7560d0
7560d0
* Fri Oct 09 2009 Pravin Satpute <psatpute@redhat.com> - 0.3-12
7560d0
- updates license for each subpackage
7560d0
7560d0
* Thu Sep 17 2009 Pravin Satpute <psatpute@redhat.com> - 0.3-11
7560d0
- second update as per merge review comment, bug 225617
7560d0
7560d0
* Thu Sep 17 2009 Pravin Satpute <psatpute@redhat.com> - 0.3-10
7560d0
- updating as per merge review comment
7560d0
7560d0
* Thu Sep 17 2009 Pravin Satpute <psatpute@redhat.com> - 0.3-9
7560d0
- updating as per new packaging guidelines
7560d0
7560d0
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-8
7560d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7560d0
7560d0
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-7
7560d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7560d0
7560d0
* Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.3-6
7560d0
- fix license tag
7560d0
7560d0
* Tue Feb 12 2008 Rahul Bhalerao <rbhalera@redhat.com> - 0.3-5.2
7560d0
- Rebuild for gcc4.3.
7560d0
7560d0
* Tue Feb 27 2007 Mayank Jain <majain@redhat.com> - 0.3-5.1.2
7560d0
- Changed BuildRoot to %%{_tmppath}/%%{name}-%%{version}-%%{release}-root-%%(%%{__id_u} -n)
7560d0
- Changed Prereq tag to Requires(pre)
7560d0
- In the "cjk" subpackage summary, CJK is now spelt with capital letters.
7560d0
- Added %{?dist} to the Release tag
7560d0
7560d0
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.3-5.1.1
7560d0
- rebuild
7560d0
7560d0
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
7560d0
- rebuilt
7560d0
7560d0
* Wed Nov 09 2004 Caolan McNamara <caolanm@redhat.com> - 0.3-5
7560d0
- build fixfont .pcfs from source .bdfs
7560d0
7560d0
* Wed Sep 22 2004 Owen Taylor <otaylor@redhat.com> - 0.3-4
7560d0
- Update BuildRequires to xorg-x11-font-utils (#118428, Mike Harris)
7560d0
7560d0
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
7560d0
- rebuilt
7560d0
7560d0
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
7560d0
- rebuilt
7560d0
7560d0
* Tue Jan 21 2003 Owen Taylor <otaylor@redhat.com>
7560d0
- Version 0.3 adding misc-fixed fonts from ucs-fonts
7560d0
- Adjust %%post, %%postun
7560d0
7560d0
* Mon Jan 13 2003 Owen Taylor <otaylor@redhat.com>
7560d0
- Patch from Anthony Fok, to fix problem where fangsongti16.bdf
7560d0
  wasn't considered to cover english because it didn't have
7560d0
  e-diaresis. (Causing bad font choice in Anaconda)
7560d0
7560d0
* Wed Dec 18 2002 Than Ngo <than@redhat.com> 0.2-4
7560d0
- add some bitmap fonts
7560d0
7560d0
* Thu Oct 31 2002 Owen Taylor <otaylor@redhat.com> 0.2-3
7560d0
- Own the bitmap-fonts directory (Enrico Scholz, #73940)
7560d0
- Add %%post, %%postun for cjk subpackage
7560d0
7560d0
* Fri Aug 30 2002 Alexander Larsson <alexl@redhat.com> 0.2-2
7560d0
- Call fc-cache from post
7560d0
7560d0
* Wed Aug 28 2002 Owen Taylor <otaylor@redhat.com>
7560d0
- Augment fangsongti fonts with characters from 8x16, 12x24
7560d0
7560d0
* Tue Jul 31 2002 Yu Shao <yshao@redhat.com>
7560d0
- add fangsong*.bdf converted from gb16fs.bdf and gb24st.bdf
7560d0
7560d0
* Mon Nov 13 2000 Owen Taylor <otaylor@redhat.com>
7560d0
- Initial package
7560d0