rpms/tibetan-machine-uni-fonts/devel sources, 1.3, 1.4 tibetan-machine-uni-fonts.spec, 1.4, 1.5

Marcin Garski mgarski at fedoraproject.org
Sun Mar 15 13:01:37 UTC 2009


Author: mgarski

Update of /cvs/pkgs/rpms/tibetan-machine-uni-fonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28598

Modified Files:
	sources tibetan-machine-uni-fonts.spec 
Log Message:
- Update to 1.901b
- Update URL
- Update to new fonts guidelines, thanks to Rajeesh (#477467)



Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/tibetan-machine-uni-fonts/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	29 Dec 2007 20:13:47 -0000	1.3
+++ sources	15 Mar 2009 13:01:02 -0000	1.4
@@ -1 +1 @@
-c3be88f52fd15d940259c1d0e2a45142  TibetanMachineUnicodeFont.zip
+00baf42dd4609f1db8fab40bc3bd4f5c  TibetanMachineUnicodeFont.zip


Index: tibetan-machine-uni-fonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tibetan-machine-uni-fonts/devel/tibetan-machine-uni-fonts.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- tibetan-machine-uni-fonts.spec	25 Feb 2009 20:33:47 -0000	1.4
+++ tibetan-machine-uni-fonts.spec	15 Mar 2009 13:01:02 -0000	1.5
@@ -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 @@
 # 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 at lists.fedoraproject.org> - 1.901-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fonts-bugs mailing list