tibetan-machine-uni-fonts/tibetan-machine-uni-fonts.spec

62 lines
1.4 KiB
RPMSpec
Raw Normal View History

%define fontdir %{_datadir}/fonts/tibetan-machine-uni
Name: tibetan-machine-uni-fonts
Version: 1.0
2007-08-31 09:02:20 +00:00
Release: 2%{?dist}
Summary: Tibetan Machine Uni font for Tibetan, Dzongkha and Ladakhi
Group: User Interface/X
2007-08-31 09:02:20 +00:00
License: GPLv2+
URL: http://www.thdl.org/tools/toolbox/index.php?#wiki=/wiki/site/26a34146-33a6-48ce-001e-f16ce7908a6a/tibetan%20machine%20uni.html
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
2007-08-31 09:02:20 +00:00
* Fri Aug 31 2007 Marcin Garski <mgarski[AT]post.pl> 1.0-2
- Fix license tag
- Update URL
* Mon Mar 12 2007 Marcin Garski <mgarski[AT]post.pl> 1.0-1
- Initial specfile