rpms/tibetan-machine-uni-fonts/F-10 sources, 1.3, 1.4 tibetan-machine-uni-fonts.spec, 1.3, 1.4

Marcin Garski mgarski at fedoraproject.org
Sun Mar 15 13:12:54 UTC 2009


Author: mgarski

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

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/F-10/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:12:23 -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/F-10/tibetan-machine-uni-fonts.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- tibetan-machine-uni-fonts.spec	29 Dec 2007 20:13:47 -0000	1.3
+++ tibetan-machine-uni-fonts.spec	15 Mar 2009 13:12:24 -0000	1.4
@@ -1,17 +1,19 @@
-%define	fontdir		%{_datadir}/fonts/tibetan-machine-uni
+%define	fontname	tibetan-machine-uni
 
-Name:		tibetan-machine-uni-fonts
+Name:		%{fontname}-fonts
 Version:	1.901
-Release:	1%{?dist}
+Release:	2%{?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
+Requires:	fontpackages-filesystem
 
 %description
 Tibetan Machine Uni is an TrueType OpenType, Unicode font released by THDL
@@ -25,35 +27,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)
+
 * Sat Dec 29 2007 Marcin Garski <mgarski[AT]post.pl> 1.901-1
 - Update to 1.901
 




More information about the Fedora-fonts-bugs-list mailing list