Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37338972
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 

Name: fonts-type1-urw
Version: 1.0.7pre44
Release: alt3
Serial: 3

Summary: Free versions of the 35 standard PostScript fonts
License: GPLv2
Group: System/Fonts/Type1

#Url: ftp://ftp.gnome.ru/fonts/urw/release/

Source: urw-fonts-%version.tar.bz2

# lout used to R: urw-fonts >= 2.0-alt9

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

PreReq: fontconfig >= 2.4.2

BuildArch: noarch
BuildRequires: mkfontscale

%define _fontsdir %_datadir/fonts/type1

%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 -c -n fonts

%install
mkdir -p %buildroot%_fontsdir/urw
find -name \*.\?f\? -print -exec cp -t %buildroot%_fontsdir/urw/ {} \;
mkfontscale %buildroot%_fontsdir/urw
ln -s fonts.scale %buildroot%_fontsdir/urw/fonts.dir

mkdir -p %buildroot%_sysconfdir/X11/fontpath.d
ln -s ../../..%_fontsdir/urw %buildroot%_sysconfdir/X11/fontpath.d/type1-urw:pri=40

%triggerun -- %name <= 2:1.0.7pre42-alt1
if [ -x %_sbindir/chkfontpath -a -f %_sysconfdir/X11/fs/config ]; then
%_sbindir/chkfontpath -q -r %_fontsdir/urw ||:
fi

%post
%_bindir/fc-cache %_fontsdir/urw ||:

%files
%doc ChangeLog README*
%_sysconfdir/X11/fontpath.d/*
%_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