- Update to 1.901b

- Update URL
- Update to new fonts guidelines, thanks to Rajeesh (#477467)
This commit is contained in:
Marcin Garski 2009-03-15 13:01:02 +00:00
parent d9ecfaddd2
commit b2f4c3d424
2 changed files with 19 additions and 26 deletions

View File

@ -1 +1 @@
c3be88f52fd15d940259c1d0e2a45142 TibetanMachineUnicodeFont.zip
00baf42dd4609f1db8fab40bc3bd4f5c TibetanMachineUnicodeFont.zip

View File

@ -1,17 +1,18 @@
%define fontdir %{_datadir}/fonts/tibetan-machine-uni
%define fontname tibetan-machine-uni
Name: tibetan-machine-uni-fonts
Name: %{fontname}-fonts
Version: 1.901
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Tibetan Machine Uni font for Tibetan, Dzongkha and Ladakhi
Group: User Interface/X
License: GPLv2+
URL: http://www.thdl.org/tools/toolbox/index.php?#wiki=/wiki/site/26a34146-33a6-48ce-001e-f16ce7908a6a/tibetan%20machine%20uni.html
Source0: https://collab.itc.virginia.edu/access//content/group/26a34146-33a6-48ce-001e-f16ce7908a6a/Tibetan%20fonts/Tibetan%20Unicode%20Fonts/TibetanMachineUnicodeFont.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
URL: http://www.thlib.org/tools/#wiki=/access/wiki/site/26a34146-33a6-48ce-001e-f16ce7908a6a/tibetan%20machine%20uni.html
Source0: https://collab.itc.virginia.edu/access/content/group/26a34146-33a6-48ce-001e-f16ce7908a6a/Tibetan%20fonts/Tibetan%20Unicode%20Fonts/TibetanMachineUnicodeFont.zip
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: fontpackages-devel
%description
Tibetan Machine Uni is an TrueType OpenType, Unicode font released by THDL
@ -25,35 +26,27 @@ with full support for the Sanskrit combinations found in chos skad text.
# Empty build section
%install
rm -rf $RPM_BUILD_ROOT
rm -fr %{buildroot}
install -d -m 0755 $RPM_BUILD_ROOT%{fontdir}
install -p -m 0644 *.ttf $RPM_BUILD_ROOT%{fontdir}
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
tr -d '\r' < gpl.txt > COPYING
tr -d '\r' < ReadMe.txt > README
%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
rm -fr %{buildroot}
%files
%defattr(-,root,root,-)
%_font_pkg *.ttf
%doc COPYING README
%{fontdir}/
%dir %{_fontdir}
%changelog
* Sun Mar 15 2009 Marcin Garski <mgarski[AT]post.pl> 1.901-3
- Update to 1.901b
- Update URL
- Update to new fonts guidelines, thanks to Rajeesh (#477467)
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.901-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild