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