Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37400902
en ru br
ALT Linux repos
S:1.0.7pre44-alt3
5.0: 1.0.7pre44-alt1
4.1: 1.0.7pre44-alt1
4.0: 1.0.7pre41-alt3

Group :: System/Fonts/Type1
RPM: fonts-type1-urw

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _fontsdir %_datadir/fonts/type1

Name: fonts-type1-urw
Version: 1.0.7pre41
Release: alt3
Serial: 2

Summary: Free versions of the 35 standard PostScript fonts
License: GPL, URW holds copyright
Group: System/Fonts/Type1
Url: ftp://ftp.gnome.ru/fonts/urw/release/

Source0: ftp://ftp.gnome.ru/fonts/urw/release/urw-fonts-1.0.7pre41.tar.bz2

Provides: urw-fonts = %serial:2.0
Obsoletes: urw-fonts < %serial:2.0

PreReq: chkfontpath fontconfig

BuildArch: noarch
BuildRequires: mkfontdir mkfontscale

%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.).

This package also have cyrillic glyphs in basic fonts, added by
Valentin Filippov.

Install the %name package if you need free versions of standard
PostScript fonts.

%prep
%setup -q -c -n fonts

%install
%__mkdir_p %buildroot%_fontsdir/urw
find -name \*.\?f\? -print -exec cp -t %buildroot%_fontsdir/urw/ {} \;
mkfontscale %buildroot%_fontsdir/urw
mkfontdir %buildroot%_fontsdir/urw
touch %buildroot%_fontsdir/urw/fonts.cache-1

%post
%_bindir/fc-cache %_fontsdir/urw ||:
%_sbindir/chkfontpath -q --add %_fontsdir/urw ||:

%postun
if [ "$1" = "0" ]; then
   %_sbindir/chkfontpath -q --remove %_fontsdir/urw ||:
fi

%files
%doc COPYING ChangeLog README* TODO
%ghost %_fontsdir/urw/fonts.cache-1
%_fontsdir/urw

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin