rpms/sil-scheherazade-fonts/F-10 import.log, NONE, 1.1 sil-scheherazade-fonts-fontconfig.conf, NONE, 1.1 sil-scheherazade-fonts.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Hedayat Vatankhah hedayat at fedoraproject.org
Wed Oct 7 00:29:58 UTC 2009


Author: hedayat

Update of /cvs/pkgs/rpms/sil-scheherazade-fonts/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24044/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log sil-scheherazade-fonts-fontconfig.conf 
	sil-scheherazade-fonts.spec 
Log Message:
Initial commit



--- NEW FILE import.log ---
sil-scheherazade-fonts-1_001-2_fc11:F-10:sil-scheherazade-fonts-1.001-2.fc11.src.rpm:1254874978


--- NEW FILE sil-scheherazade-fonts-fontconfig.conf ---
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <alias>
    <family>serif</family>
    <prefer>
      <family>Scheherazade</family>
    </prefer>
  </alias>
  <alias>
    <family>Scheherazade</family>
    <default>
      <family>serif</family>
    </default>
  </alias>
  <alias binding="same">
    <family>Monotype Naskh</family>
    <accept>
      <family>Scheherazade</family>
    </accept>
  </alias>
</fontconfig>


--- NEW FILE sil-scheherazade-fonts.spec ---
%global fontname sil-scheherazade
%global fontconf 65-%{fontname}.conf

Name:           %{fontname}-fonts
Version:        1.001
Release:        2%{?dist}
Summary:        An Arabic script unicode font

Group:          User Interface/X
License:        OFL
URL:            http://scripts.sil.org/ArabicFonts
# The file complete URL is as follows:
# http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=scheherazade_OT_1_001&filename=ScheherazadeRegOT_1.001.zip
Source0:        ScheherazadeRegOT_1.001.zip
Source1:        %{name}-fontconfig.conf
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

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

%description
Scheherazade, named after the heroine of the classic Arabian Nights tale, is
designed in a similar style to traditional typefaces such as Monotype Naskh,
extended to cover the full Unicode Arabic repertoire.

%prep
%setup -q -c %{name}-%{version}


%build
for docfile in *.txt; do
    fold -s $docfile > $docfile.new && \
    sed -i "s|\r||g" $docfile.new && \
    touch -r $docfile $docfile.new && \
    mv $docfile.new $docfile
done

%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 03 2009 Hedayat Vatankhah <hedayat at grad.com> - 1.001-2
- Fixed summary to not include font name
- Removed some parts of the description
- Added fontconfig rules

* Mon Sep 28 2009 Hedayat Vatankhah <hedayat at grad.com> - 1.001-1
- Initial version



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/sil-scheherazade-fonts/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	6 Oct 2009 17:28:23 -0000	1.1
+++ .cvsignore	7 Oct 2009 00:29:54 -0000	1.2
@@ -0,0 +1 @@
+ScheherazadeRegOT_1.001.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/sil-scheherazade-fonts/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	6 Oct 2009 17:28:23 -0000	1.1
+++ sources	7 Oct 2009 00:29:55 -0000	1.2
@@ -0,0 +1 @@
+c09ced85441dac34930ae661a2e0a6ca  ScheherazadeRegOT_1.001.zip




More information about the fonts-bugs mailing list