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