From c9b3191c7f8588a585cdd034a8977d6717342344 Mon Sep 17 00:00:00 2001 From: Marcin Garski Date: Mar 13 2007 12:41:40 +0000 Subject: auto-import tibetan-machine-uni-fonts-1.0-1 on branch devel from tibetan-machine-uni-fonts-1.0-1.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..d5a7f7f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +TibetanMachineUnicodeFont.zip diff --git a/sources b/sources index e69de29..273e803 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +39d9f6bf83362d45ed5d8d5f7831d153 TibetanMachineUnicodeFont.zip diff --git a/tibetan-machine-uni-fonts.spec b/tibetan-machine-uni-fonts.spec new file mode 100644 index 0000000..63d4422 --- /dev/null +++ b/tibetan-machine-uni-fonts.spec @@ -0,0 +1,57 @@ +%define fontdir %{_datadir}/fonts/tibetan-machine-uni + +Name: tibetan-machine-uni-fonts +Version: 1.0 +Release: 1%{?dist} +Summary: Tibetan Machine Uni font for Tibetan, Dzongkha and Ladakhi + +Group: User Interface/X +License: GPL +URL: http://www.thdl.org/tools/fonts/tibfonts.php?l=uva10928423419921 +Source0: http://www.thdl.org/tools/dls/fonts/TibetanMachineUnicodeFont.zip +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch + +%description +Tibetan Machine Uni is an TrueType OpenType, Unicode font released by THDL +project. The font supports Tibetan, Dzongkha and Ladakhi in dbu-can script +with full support for the Sanskrit combinations found in chos skad text. + +%prep +%setup -q -c + +%build +# Empty build section + +%install +rm -rf $RPM_BUILD_ROOT + +install -d -m 0755 $RPM_BUILD_ROOT%{fontdir} +install -p -m 0644 *.ttf $RPM_BUILD_ROOT%{fontdir} + +tr -d '\r' < gpl.txt > COPYING + +%post +if [ -x %{_bindir}/fc-cache ]; then + %{_bindir}/fc-cache %{_datadir}/fonts +fi + +%postun +if [ "$1" = "0" ]; then + if [ -x %{_bindir}/fc-cache ]; then + %{_bindir}/fc-cache %{_datadir}/fonts + fi +fi + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc COPYING +%{fontdir}/ + +%changelog +* Mon Mar 12 2007 Marcin Garski 1.0-1 +- Initial specfile