Author: ankursinha

Update of /cvs/pkgs/rpms/gargi-fonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5567/devel

Modified Files:
        .cvsignore sources 
Added Files:
        gargi-fonts-fontconfig.conf gargi-fonts.spec import.log 
Log Message:
Tue Oct 20 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org>
- 1.9-2
- first cvs commit



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


--- NEW FILE gargi-fonts.spec ---
%global fontname gargi
%global fontconf 69-%{fontname}.conf

Name:           %{fontname}-fonts
Version:        1.9
Release:        2%{?dist}
Summary:        A Devanagari font

Group:          User Interface/X
License:        GPLv2+
URL:            http://savannah.nongnu.org/projects/gargi
Source0:        
http://mirror.vocabbuilder.net/savannah/gargi/%{fontname}-%{version}.tar.gz
Source1:        %{name}-fontconfig.conf
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

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

%description
A Free Unicode OpenType Font


%prep
%setup -q -n %{fontname}-%{version}

sed 's/\r//' Changelog > Changelog.new
touch -r Changelog Changelog.new
mv Changelog.new Changelog

%build

fontforge -lang=ff -script "-" *.sfd <<EOF
i = 1 
while ( i < \$argc )
  Open (\$argv[i], 1)
  Generate (\$fontname + ".ttf")
  PrintSetup (5) 
  PrintFont (0, 0, "", \$fontname + "-sample.pdf")
  Close()
  i++ 
endloop
EOF

%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 Changelog COPYING

%changelog
* Wed Oct 14 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org>
- 1.9-2
- Corrections based on bug #526633
* Thu Oct 1 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org>
- 1.9-1
- Initial RPM build


--- NEW FILE import.log ---
gargi-fonts-1_9-2_fc11:HEAD:gargi-fonts-1.9-2.fc11.src.rpm:1255977191


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gargi-fonts/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore  19 Oct 2009 16:24:15 -0000      1.1
+++ .cvsignore  19 Oct 2009 18:36:05 -0000      1.2
@@ -0,0 +1 @@
+gargi-1.9.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gargi-fonts/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources     19 Oct 2009 16:24:15 -0000      1.1
+++ sources     19 Oct 2009 18:36:06 -0000      1.2
@@ -0,0 +1 @@
+211283db5be5a257b15f57c3ca76b9ef  gargi-1.9.tar.gz

_______________________________________________
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