From 4fee9ffdec31479f809ebe2af647770f08c8bc1e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Wed, 14 Nov 2007 09:01:13 +0000 Subject: [PATCH] - maintained urw fonts Changed files: fonts-Type1-urw.spec -> 1.1 --- fonts-Type1-urw.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 fonts-Type1-urw.spec diff --git a/fonts-Type1-urw.spec b/fonts-Type1-urw.spec new file mode 100644 index 0000000..5404706 --- /dev/null +++ b/fonts-Type1-urw.spec @@ -0,0 +1,52 @@ +%define pre pre43 +Summary: Free versions of the 35 standard PostScript fonts +Name: fonts-Type1-urw +Version: 1.0.7 +Release: 0.%{pre}.1 +License: GPL +Group: Fonts +Source0: ftp://ftp.gnome.ru/fonts/urw/release/urw-fonts-%{version}%{pre}.tar.bz2 +# Source0-md5: 97ff7f315bcf36558d7f326878551ac3 +Requires(post,postun): fontpostinst >= 0.1-6 +Requires: %{_fontsdir}/Type1 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define t1fontsdir %{_fontsdir}/Type1 +%define t1afmdir %{t1fontsdir}/afm + +%description +Free, good quality versions of the 35 standard PostScript(TM) fonts, +donated under the GPL by URW++ Design and Development GmbH. The +fonts.dir file font names match the original Adobe names of the fonts +(e.g., Times, Helvetica, etc.). + +Install the urw-fonts package if you need free versions of standard +PostScript fonts. + +%prep +%setup -q -c + +%build + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{t1fontsdir},%{t1afmdir}} + +install *.pfb $RPM_BUILD_ROOT%{t1fontsdir} +install *.afm $RPM_BUILD_ROOT%{t1afmdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +fontpostinst Type1 + +%postun +fontpostinst Type1 + +%files +%defattr(644,root,root,755) +%doc README* +%{t1fontsdir}/*.pfb +%{t1afmdir}/*.afm -- 2.43.0