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