]> git.pld-linux.org Git - packages/fonts-Type1-urw.git/blobdiff - fonts-Type1-urw.spec
- pl
[packages/fonts-Type1-urw.git] / fonts-Type1-urw.spec
index a324ca19917d44fe8b4b09a7c432704ea31c74e3..731025a278dfec251b6e68032c2186bd45e75c5a 100644 (file)
@@ -1,16 +1,18 @@
 %define        pre     pre43
 Summary:       Free versions of the 35 standard PostScript fonts
+Summary(pl.UTF-8):     Wolnodostępne wersje 35 standardowych fontów postscriptowych
 Name:          fonts-Type1-urw
 Version:       1.0.7
-Release:       0.%{pre}.1
+Release:       0.%{pre}.2
 License:       GPL
 Group:         Fonts
 Source0:       ftp://ftp.gnome.ru/fonts/urw/release/urw-fonts-%{version}%{pre}.tar.bz2
 # Source0-md5: 97ff7f315bcf36558d7f326878551ac3
+BuildRequires: xorg-app-mkfontscale
 Requires(post,postun): fontpostinst >= 0.1-6
 Requires:      %{_fontsdir}/Type1
+Provides:      ghostscript-fonts-std
 Obsoletes:     ghostscript-fonts-std
-Provides:      ghostscript-fonts-std = %{version}-%{release}
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -23,13 +25,17 @@ 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.
+%description -l pl.UTF-8
+Wolnodostępne, dobrej jakości wersje 35 standardowych fontów
+postscriptowych, wydanych na licencji GPL przez URW++ Design and
+Development GmbH. Plik fonts.dir zawiera nazwy fontów pasujące do
+oryginalnych nazw Adobe (np. Times, Helvetica itd.).
 
 %prep
 %setup -q -c
 
 %build
+%{_bindir}/mkfontscale .
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -38,6 +44,8 @@ install -d $RPM_BUILD_ROOT{%{t1fontsdir},%{t1afmdir}}
 install *.pfb $RPM_BUILD_ROOT%{t1fontsdir}
 install *.afm $RPM_BUILD_ROOT%{t1afmdir}
 
+grep ".pfb" fonts.scale > $RPM_BUILD_ROOT%{t1fontsdir}/fonts.scale.urw
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -49,6 +57,7 @@ fontpostinst Type1
 
 %files
 %defattr(644,root,root,755)
-%doc README*
+%doc README* ChangeLog
+%{t1fontsdir}/fonts.scale.urw
 %{t1fontsdir}/*.pfb
 %{t1afmdir}/*.afm
This page took 0.329373 seconds and 4 git commands to generate.