File pothana2000.spec of Package pothana2000

#
# spec file for package pothana2000 (Version 1.1)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           pothana2000
%define ttf_fontdir     /usr/share/fonts/truetype
License:        GPLv2+
Group:          System/X11/Fonts
Provides:       scalable-font-te
Provides:       locale(te)
AutoReqProv:    on
Summary:        OpenType font for Telugu
Version:        1.1
Release:        137
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Url:            http://www.kavya-nandanam.com/
# http://www.kavya-nandanam.com/Pothana2k.zip
# removed Pathana2k.exe from the sources and repackaged to .tar.bz2
Source0:        pothana2000.tar.bz2

%description
Free OpenType font for Telugu created by Dr. Tirumala Krishna
Desikacharyulu



Authors:
--------
     "Dr. Tirumala Krishna Desikachary" <Krishna_Desikachary@newflyer.com>

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

%install
mkdir -p $RPM_BUILD_ROOT%{ttf_fontdir}/
install -m 644 *.ttf $RPM_BUILD_ROOT%{ttf_fontdir}

%build

%clean
rm -rf $RPM_BUILD_ROOT

%post
%run_suseconfig_fonts

%postun
%run_suseconfig_fonts

%files
%defattr(-, root,root)
%doc MANUAL.PDF gpl.txt Telugu2006.kmx
%{ttf_fontdir}

%changelog
openSUSE Build Service is sponsored by