rpms/msimonson-anonymouspro-fonts/devel msimonson-anonymouspro-fonts-fontconfig.conf, NONE, 1.1 msimonson-anonymouspro-fonts.spec, NONE, 1.1

Robin Sonefors ozamosi at fedoraproject.org
Thu Oct 22 12:44:39 UTC 2009


Author: ozamosi

Update of /cvs/pkgs/rpms/msimonson-anonymouspro-fonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25401

Added Files:
	msimonson-anonymouspro-fonts-fontconfig.conf 
	msimonson-anonymouspro-fonts.spec 
Log Message:
Add missing files



--- NEW FILE msimonson-anonymouspro-fonts-fontconfig.conf ---
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <alias>
    <family>monospace</family>
    <prefer>
      <family>Anonymous Pro</family>
    </prefer>
  </alias>
  <alias>
    <family>Anonymous Pro</family>
    <default>
      <family>monospace</family>
    </default>
  </alias>
  <alias binding="same">
    <family>Anonymous</family>
    <accept>
      <family>Anonymous Pro</family>
    </accept>
  </alias>
</fontconfig>


--- NEW FILE msimonson-anonymouspro-fonts.spec ---
%global fontname msimonson-anonymouspro
%global fontconf 61-%{fontname}.conf
%global archivename AnonymousPro

Name:           %{fontname}-fonts
Version:        1.001
Release:        2%{?dist}
Summary:        A coding-friendly monospace font

Group:          User Interface/X
License:        OFL
URL:            http://www.ms-studio.com/FontSales/anonymouspro.html
Source0:        http://www.ms-studio.com/FontSales/AnonymousPro.zip
Source1:        %{name}-fontconfig.conf
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildArch:      noarch
BuildRequires:  fontpackages-devel
Requires:       fontpackages-filesystem

%description
Anonymous Pro is a family of fixed-width fonts designed especially with coding
in mind. Characters that could be mistaken for one another (O, 0, I, l, 1,
etc.) have distinct shapes to make them easier to tell apart in the context of
source code.

It has support for most Western and European Latin-based languages, Greek, and
Cyrillic. It also includes special “box drawing” characters.

Anonymous Pro is based on an earlier font, Anonymous, which is a TrueType
version of Susan Lesch and David Lamkins’ font Anonymous 9, a freeware
Macintosh bitmap font.

%prep
%setup -q -n %{archivename}
for txt in "OFL.txt" "OFL-FAQ.txt"; do
    fold -s $txt > $txt.new
    sed -i 's/\r//' $txt.new
    touch -r $txt $txt.new
    mv $txt.new $txt
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 *.txt

%changelog
* Sat Oct 17 2009 Robin Sonefors <ozamosi at flukkost.nu> - 1.001-2
- Change summary, fix fontconfig file

* Thu Oct 15 2009 Robin Sonefors <ozamosi at flukkost.nu> - 1.001-1
- Initial packaging




More information about the Fedora-fonts-bugs-list mailing list