rpms/andika-fonts/devel andika-fonts-fontconfig.conf, NONE, 1.1 andika-fonts.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Nicolas Mailhot (nim) fedora-extras-commits at redhat.com
Sun Jul 13 20:25:41 UTC 2008


Author: nim

Update of /cvs/extras/rpms/andika-fonts/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3286/devel

Modified Files:
	.cvsignore sources 
Added Files:
	andika-fonts-fontconfig.conf andika-fonts.spec import.log 
Log Message:
Initial packaging


--- NEW FILE andika-fonts-fontconfig.conf ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
  <alias>
    <family>Andika</family>
    <default>
      <family>sans-serif</family>
    </default>
  </alias>
  <alias>
    <family>sans-serif</family>
    <prefer>
      <family>Andika</family>
    </prefer>
  </alias>
</fontconfig>


--- NEW FILE andika-fonts.spec ---
%define fontname    andika
%define fontdir     %{_datadir}/fonts/%{fontname}
%define fontconfdir %{_sysconfdir}/fonts/conf.d

# Someday SIL will release sanely named archives
%define archivename AndikaBasicR_10

Name:    %{fontname}-fonts
Version: 1.0
Release: 1%{?dist}
Summary: A font for literacy and beginning readers

Group:   User Interface/X
License: OFL
URL:     http://scripts.sil.org/Andika
# Actual download URL
# http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=%{archivename}&filename=%{archivename}.zip
Source0: %{archivename}.zip
Source1: %{name}-fontconfig.conf

BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch

%description
Andika is a sans serif, Unicode-compliant font designed especially for
literacy use, taking into account the needs of beginning readers. The focus is
on clear, easy-to-perceive letterforms that will not be readily confused with
one another.

A sans serif font is preferred by some literacy personnel for teaching people
to read. Its forms are simpler and less cluttered than those of most serif
fonts. For years, literacy workers have had to make do with fonts that were
not really suitable for beginning readers and writers. In some cases, literacy
specialists have had to tediously assemble letters from a variety of fonts in
order to get all of the characters they need for their particular language
project, resulting in confusing and unattractive publications. Andika
addresses those issues.


%prep
%setup -q -n %{archivename}

# Text files sanitization
for txt in *.txt ; do
   # Unicode compliant, check
   iconv -f WINDOWS-1252 -t UTF-8 -o $txt.1 $txt
   fold -s $txt.1 > $txt.2
   sed -i 's/\r//' $txt.2
   touch -r $txt $txt.2
   mv $txt.2 $txt
   rm $txt.1
done


%build
# Source format not available


%install
rm -fr %{buildroot}

install -m 0755 -d %{buildroot}%{fontdir}
install -m 0644 -p *.ttf %{buildroot}%{fontdir}

install -m 0755 -d %{buildroot}%{fontconfdir}
install -m 0644 -p %{SOURCE1} %{buildroot}%{fontconfdir}/60-%{fontname}.conf


%clean
rm -fr %{buildroot}


%post
if [ -x %{_bindir}/fc-cache ] ; then
  %{_bindir}/fc-cache %{fontdir} || :
fi


%postun
if [ $1 -eq 0 -a -x %{_bindir}/fc-cache ] ; then
  %{_bindir}/fc-cache %{fontdir} || :
fi


%files
%defattr(0644,root,root,0755)
%doc *.txt
%config(noreplace) %{fontconfdir}/60-%{fontname}.conf

%dir %{fontdir}
%{fontdir}/*.ttf


%changelog
* Tue Jun 24 2008 <nicolas.mailhot at laposte.net>
- 1.0-1
Ṑ Initial packaging


--- NEW FILE import.log ---
andika-fonts-1_0-1_fc10:HEAD:andika-fonts-1.0-1.fc10.src.rpm:1215980688


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/andika-fonts/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	13 Jul 2008 19:11:32 -0000	1.1
+++ .cvsignore	13 Jul 2008 20:24:58 -0000	1.2
@@ -0,0 +1 @@
+AndikaBasicR_10.zip


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/andika-fonts/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 Jul 2008 19:11:32 -0000	1.1
+++ sources	13 Jul 2008 20:24:58 -0000	1.2
@@ -0,0 +1 @@
+1a8b028ccea53e93fc4f34ca226f2b02  AndikaBasicR_10.zip




More information about the fedora-extras-commits mailing list