Author: hedayat

Update of /cvs/pkgs/rpms/sil-lateef-fonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5933/devel

Modified Files:
        .cvsignore sources 
Added Files:
        import.log sil-lateef-fonts-fontconfig.conf 
        sil-lateef-fonts.spec 
Log Message:
initial import



--- NEW FILE import.log ---
sil-lateef-fonts-1_001-1_fc11:HEAD:sil-lateef-fonts-1.001-1.fc11.src.rpm:1255815801


--- NEW FILE sil-lateef-fonts-fontconfig.conf ---
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <alias>
    <family>serif</family>
    <prefer>
      <family>Lateef</family>
    </prefer>
  </alias>
  <alias>
    <family>Lateef</family>
    <default>
      <family>serif</family>
    </default>
  </alias>
</fontconfig>


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

Name:           %{fontname}-fonts
Version:        1.001
Release:        1%{?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=Lateef_OT_1_001&filename=LateefRegOT_1.001.zip
Source0:        LateefRegOT_1.001.zip
Source1:        %{name}-fontconfig.conf
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

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

%description
Lateef is named after Shah Abdul Lateef Bhitai, the famous Sindhi mystic and
poet. It is intended to be an appropriate style for use in Sindhi and other
languages of the South Asian region.

%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
* Tue Oct 06 2009 Hedayat Vatankhah <heda...@grad.com> - 1.001-1
- Initial version



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/sil-lateef-fonts/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore  15 Oct 2009 17:17:00 -0000      1.1
+++ .cvsignore  17 Oct 2009 21:59:50 -0000      1.2
@@ -0,0 +1 @@
+LateefRegOT_1.001.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/sil-lateef-fonts/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources     15 Oct 2009 17:17:00 -0000      1.1
+++ sources     17 Oct 2009 21:59:51 -0000      1.2
@@ -0,0 +1 @@
+c060ab84ab33ae8f991103258b8e7f22  LateefRegOT_1.001.zip

_______________________________________________
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list

Reply via email to