Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > ca3986119ce8daf5c5499b7f924668a5 > files > 5

ucs-miscfixed-fonts-0.3-9.mga3.src.rpm

%global fontname ucs-miscfixed
%global fontconf 66-%{fontname}.conf

Name: %{fontname}-fonts
Version: 0.3
Release: %mkrel 9
License: Public Domain
URL: http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html
Source0: bitmap-fonts-%{version}.tar.bz2
Source1: fixfont-3.5.tar.bz2
Source2: 66-ucs-miscfixed.conf
BuildArch: noarch
Group:   System/Fonts/True type
Summary: Selected set of bitmap fonts
BuildRequires: fontpackages-devel
BuildRequires: bdftopcf
Patch1: readme_cleanup.patch

%description
The usc-fixed-fonts package provides bitmap fonts for
locations such as terminals.

%prep
%setup -q -n bitmap-fonts-%{version} -a1
%patch1 -p1 -b .1-readme_cleanup

%build

%install
rm -rf $RPM_BUILD_ROOT

make install DESTDIR=$RPM_BUILD_ROOT

cd fixfont-3.5

make install DESTDIR=$RPM_BUILD_ROOT

mv $RPM_BUILD_ROOT/usr/share/fonts/bitmap-fonts %{buildroot}%{_fontdir}

rm %{buildroot}%{_fontdir}/lut*.pcf %{buildroot}%{_fontdir}/fang*.pcf %{buildroot}%{_fontdir}/cons*.pcf
gzip %{buildroot}%{_fontdir}/*.pcf

install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
                   %{buildroot}%{_fontconfig_confdir}

install -m 0644 -p %{SOURCE2} \
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
ln -s %{_fontconfig_templatedir}/%{fontconf} \
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}


%clean
rm -rf $RPM_BUILD_ROOT

%_font_pkg -f %{fontconf} [0-9]*

%doc README


%changelog

* Mon Jan 14 2013 umeabot <umeabot> 0.3-9.mga3
+ Revision: 384945
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Fri Apr 29 2011 dmorgan <dmorgan> 0.3-8.mga1
+ Revision: 93409
- Fix package layout

* Fri Apr 29 2011 dmorgan <dmorgan> 0.3-7.mga1
+ Revision: 93400
- Add bdftopcf as BuildRequire
- imported package ucs-miscfixed-fonts