auto-import tibetan-machine-uni-fonts-1.0-1 on branch devel from

tibetan-machine-uni-fonts-1.0-1.src.rpm
This commit is contained in:
Marcin Garski 2007-03-13 12:41:40 +00:00
parent 02314803e9
commit c9b3191c7f
3 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1 @@
TibetanMachineUnicodeFont.zip

View File

@ -0,0 +1 @@
39d9f6bf83362d45ed5d8d5f7831d153 TibetanMachineUnicodeFont.zip

View File

@ -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 <mgarski[AT]post.pl> 1.0-1
- Initial specfile