rpms/msimonson-anonymouspro-fonts/F-12 msimonson-anonymouspro-fonts-fontconfig.conf, NONE, 1.1 msimonson-anonymouspro-fonts.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Robin Sonefors ozamosi at fedoraproject.org
Thu Nov 5 17:58:38 UTC 2009


Author: ozamosi

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

Modified Files:
	.cvsignore sources 
Added Files:
	msimonson-anonymouspro-fonts-fontconfig.conf 
	msimonson-anonymouspro-fonts.spec 
Log Message:
Initial package



--- 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


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/msimonson-anonymouspro-fonts/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	22 Oct 2009 04:48:01 -0000	1.1
+++ .cvsignore	5 Nov 2009 17:58:38 -0000	1.2
@@ -0,0 +1 @@
+AnonymousPro.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/msimonson-anonymouspro-fonts/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	22 Oct 2009 04:48:01 -0000	1.1
+++ sources	5 Nov 2009 17:58:38 -0000	1.2
@@ -0,0 +1 @@
+3cdcfc1979242670410e26ce42d226b0  AnonymousPro.zip




More information about the fonts-bugs mailing list