Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 34218ea9c615e7a90559ef2c90bc9467 > files > 2

fonts-ttf-kannada-1.0-3mdv2007.0.src.rpm

Summary:	Kannada TTF fonts (Unicode encoded)
Name:		fonts-ttf-kannada
Version:	1.0
Release:	%mkrel 3

Url:		http://kannada.sourceforge.net/
# dated 2002-10-27
Source0:	http://brahmi.sourceforge.net/dl/Sampige.ttf.bz2
License:	GPL
Group:		System/Fonts/True type
BuildArch:	noarch
BuildRoot:	%_tmppath/%name-%version-%release-root
BuildRequires:	freetype-tools
Requires(post): fontconfig
Requires(postun): fontconfig

%description
Kannada TTF fonts usable to display Unicode encoded text; through text
engines like pango etc.


%prep

#%setup
 
%build

%install
rm -fr %buildroot

install -d %buildroot/%_datadir/fonts/TTF/kannada/
bzcat %{SOURCE0} > %buildroot/%_datadir/fonts/TTF/kannada/Sampige.ttf

%post
touch %{_datadir}/fonts/TTF
[ -x %_bindir/fc-cache ] && %{_bindir}/fc-cache 

%postun
# 0 means a real uninstall
if [ "$1" = "0" ]; then
   [ -x %_bindir/fc-cache ] && %{_bindir}/fc-cache 
fi

%clean
rm -fr %buildroot

%files
%defattr(0644,root,root,0755)
#%doc README
%dir %_datadir/fonts/TTF/
%dir %_datadir/fonts/TTF/kannada/
%_datadir/fonts/TTF/kannada/*.ttf



%changelog
* Fri Aug 04 2006 Helio Chissini de Castro <helio@mandriva.com>
+ 2006-08-04 23:11:41 (52891)
- Normalize fonts with new paths

* Fri Aug 04 2006 Helio Chissini de Castro <helio@mandriva.com>
+ 2006-08-04 21:03:55 (52805)
- import fonts-ttf-kannada-1.0-2mdk

* Wed Feb 08 2006 Frederic Crozat <fcrozat@mandriva.com> 1.0-2mdk
- Don't package fontconfig cache file
- Fix prereq
- touch parent directory to workaround rpm changing directory last modification
  time (breaking fontconfig cache consistency detection)

* Tue May 13 2003 Pablo Saratxaga <pablo@mandrakesoft.com> 1.0-1mdk
- first released