File pothana2000.spec of Package pothana2000
#
# spec file for package pothana2000 (Version 1.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: pothana2000
%if %suse_version > 910
BuildRequires: xorg-x11-devel
%else
BuildRequires: XFree86-devel
%endif
%if "%(xft-config --prefix)" == "/usr"
%define ttf_fontdir /usr/share/fonts/truetype
%else
%define ttf_fontdir /usr/X11R6/lib/X11/fonts/truetype
%endif
License: GNU General Public License (GPL)
Group: System/X11/Fonts
Provides: scalable-font-te
Provides: locale(te)
Autoreqprov: on
Summary: OpenType font for Telugu
Version: 1.1
Release: 1
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}
%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
%dir %{ttf_fontdir}
%{ttf_fontdir}/*.ttf
%changelog -n pothana2000
* Tue Jan 23 2007 - mfabian@suse.de
- new package: Pothana2000.ttf and vemana.ttf, version 1.1.