[packages/fonts-TTF-mac] - initial

arekm arekm at pld-linux.org
Sat Nov 22 20:48:47 CET 2014


commit c8deb567ac0431baba7dd9dbfd27410ea5a9423f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Nov 22 20:48:32 2014 +0100

    - initial

 fonts-TTF-mac.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
---
diff --git a/fonts-TTF-mac.spec b/fonts-TTF-mac.spec
new file mode 100644
index 0000000..d67b85d
--- /dev/null
+++ b/fonts-TTF-mac.spec
@@ -0,0 +1,44 @@
+%define		_name	mac
+%define		snap	20141122
+Summary:	Mac fonts including Lucida Grande, Apple Garamond and other fonts from Apple
+Name:		fonts-TTF-%{_name}
+Version:	0.1
+Release:	0.%{snap}.1
+License:	custom
+Group:		Fonts
+# svn co https://svn.code.sf.net/p/macbuntu/code/Macbuntu/fonts/ fonts-TTF-mac
+Source0:	%{name}-%{snap}.tar.bz2
+# Source0-md5:	6cc8892dc2ca6f0c958328a5ffb26e4a
+URL:		http://www.apple.com/safari/
+Requires(post,postun):	fontpostinst
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Mac fonts including Lucida Grande, Apple Garamond and other fonts from
+Apple.
+
+%prep
+%setup -q -n %{name}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_fontsdir}/{TTF,Type1}
+
+cp -p gbk/*.ttf $RPM_BUILD_ROOT%{_fontsdir}/TTF
+cp -p mac/*.ttf $RPM_BUILD_ROOT%{_fontsdir}/TTF
+cp -p mac/*.pfb $RPM_BUILD_ROOT%{_fontsdir}/Type1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+fontpostinst TTF
+
+%postun
+fontpostinst TTF
+
+%files
+%defattr(644,root,root,755)
+%{_fontsdir}/TTF/*.ttf
+%{_fontsdir}/Type1/*.pfb
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fonts-TTF-mac.git/commitdiff/c8deb567ac0431baba7dd9dbfd27410ea5a9423f



More information about the pld-cvs-commit mailing list