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