rpms/molengo-fonts/F-13 molengo-fonts-fontconfig.conf, NONE, 1.1 molengo-fonts.spec, NONE, 1.1
pnemade
pnemade at fedoraproject.org
Tue Jun 1 05:22:42 UTC 2010
Author: pnemade
Update of /cvs/pkgs/rpms/molengo-fonts/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv1696
Added Files:
molengo-fonts-fontconfig.conf molengo-fonts.spec
Log Message:
Initial Fedora 13 release
--- NEW FILE molengo-fonts-fontconfig.conf ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Molengo</family>
</prefer>
</alias>
<alias>
<family>Molengo</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>
--- NEW FILE molengo-fonts.spec ---
%global fontname molengo
%global fontconf 62-%{fontname}.conf
Name: %{fontname}-fonts
Version: 0.10
Release: 1%{?dist}
Summary: A Latin typeface for documents
Group: User Interface/X
License: OFL
URL: http://code.google.com/p/molengo-fonts/
Source0: http://molengo-fonts.googlecode.com/files/Molengo-fonts.7z
Source1: %{name}-fontconfig.conf
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: fontpackages-devel
BuildRequires: p7zip
Requires: fontpackages-filesystem
%description
Molengo is a Latin typeface for documents. It is multilingual and has some
features required by many minority languages such as non-spacing mark placement.
The font is produced with Fontforge.
%prep
7za x -y %{SOURCE0}
cp -p Molengo-fonts/* .
for file in OFL-FAQ.txt Fontlog.txt OpenFontLicense.txt; do
sed "s|\r||g" $file > $file.new && \
touch -r $file $file.new && \
mv $file.new $file
done
%build
%install
rm -fr %{buildroot}
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
%{buildroot}%{_fontconfig_confdir}
install -m 0644 -p %{SOURCE1} \
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
%clean
rm -fr %{buildroot}
%_font_pkg -f %{fontconf} *.ttf
%doc OFL-FAQ.txt Fontlog.txt OpenFontLicense.txt
%changelog
* Thu May 27 2010 Parag Nemade <pnemade AT redhat.com> - 0.10-1
- Initial Fedora release.
More information about the fonts-bugs
mailing list