[meego-commits] 14422: New package Trunk:Testing/lohit-gujarati-fonts

haoli no_reply at build.meego.com
Wed Mar 2 08:53:06 UTC 2011


Hi,
Adding new package lohit-gujarati-fonts in project Trunk:Testing. Please review and accept ASAP.

Justification for this new package:

Initial import to MeeGo to fix bmc#1605

Thank You,
haoli

[This message was auto-generated]

---

Request #14422:

  submit:   home:haoli:branches:Trunk:Testing/lohit-gujarati-fonts(r7)(cleanup) -> Trunk:Testing/lohit-gujarati-fonts


Message:
    Initial import to MeeGo to fix bmc#1605

State:   new          2011-03-01T19:50:06 haoli
Comment: None


This is a NEW package in Trunk:Testing project.
The files in the new package:
lohit-gujarati-fonts/
  |__  lohit-gujarati-2.4.3.tar.gz
  |__  lohit-gujarati-fonts.changes
  |__  lohit-gujarati-fonts.spec

The content of the spec file, lohit-gujarati-fonts.spec:
===================================================================
%global fontname lohit-gujarati
%global fontconf 66-%{fontname}.conf

Name:           %{fontname}-fonts
Version:        2.4.3
Release:        2%{?dist}
Summary:        Free Gujarati font

Group:          User Interface/X
License:        GPLv2
URL:            https://fedorahosted.org/lohit/
Source0:        http://pravins.fedorapeople.org/lohit/gujarati/%{fontname}-%{version}.tar.gz
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch:      noarch
BuildRequires: fontforge >= 20080429
BuildRequires:  fontpackages-devel
Requires:       fontpackages-filesystem
Obsoletes: lohit-fonts-common < %{version}-%{release}

%description
This package provides a free Gujarati truetype/opentype font.


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


%build
./generate.pe *.sfd

%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 %{fontconf} \
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
ln -s %{_fontconfig_templatedir}/%{fontconf} \
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}


%clean
rm -fr %{buildroot}


%_font_pkg -f %{fontconf} *.ttf

%doc ChangeLog COPYRIGHT COPYING AUTHORS README ChangeLog.old




===================================================================




More information about the MeeGo-commits mailing list