2007-01-16 00:43:22 +01:00
|
|
|
#
|
2011-05-26 10:01:35 +02:00
|
|
|
# spec file for package xorg-x11-fonts
|
2007-01-16 00:43:22 +01:00
|
|
|
#
|
2011-05-26 10:01:35 +02:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:43:22 +01:00
|
|
|
#
|
2008-09-12 17:45:56 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:43:22 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-03-07 23:31:57 +01:00
|
|
|
|
2007-01-16 00:43:22 +01:00
|
|
|
Name: xorg-x11-fonts
|
|
|
|
BuildRequires: fontconfig freetype2 pkgconfig xorg-x11 xorg-x11-fonts-devel xorg-x11-libICE xorg-x11-libSM xorg-x11-libX11 xorg-x11-libXau xorg-x11-libXdmcp xorg-x11-libXext xorg-x11-libXfixes xorg-x11-libXmu xorg-x11-libXp xorg-x11-libXpm xorg-x11-libXprintUtil xorg-x11-libXrender xorg-x11-libXt xorg-x11-libXv xorg-x11-libfontenc xorg-x11-libs xorg-x11-libxkbfile xorg-x11-proto-devel
|
|
|
|
Url: http://xorg.freedesktop.org/
|
2010-12-21 04:19:00 +01:00
|
|
|
Version: 7.6
|
2011-05-26 10:01:35 +02:00
|
|
|
Release: 13
|
2009-07-29 17:32:19 +02:00
|
|
|
License: MIT License (or similar)
|
2007-01-16 00:43:22 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Group: System/X11/Fonts
|
|
|
|
PreReq: fonts-config
|
|
|
|
Requires: %{name}-core
|
|
|
|
Provides: xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi xorg-x11-fonts-cyrillic xorg-x11-fonts-scalable xorg-x11-fonts-syriac
|
|
|
|
Obsoletes: xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi xorg-x11-fonts-cyrillic xorg-x11-fonts-scalable xorg-x11-fonts-syriac
|
|
|
|
Summary: X.Org fonts
|
2010-11-15 03:39:13 +01:00
|
|
|
Source0: font-adobe-100dpi-1.0.3.tar.bz2
|
|
|
|
Source1: font-adobe-75dpi-1.0.3.tar.bz2
|
- font-arabic-misc-1.0.3,
font-bh-100dpi-1.0.3,
font-bh-75dpi-1.0.3,
font-bh-lucidatypewriter-100dpi-1.0.3,
font-bh-lucidatypewriter-75dpi-1.0.3,
font-bh-type1-1.0.3,
font-bitstream-100dpi-1.0.3,
font-bitstream-75dpi-1.0.3,
font-bitstream-speedo-1.0.2,
font-bitstream-type1-1.0.3,
font-cronyx-cyrillic-1.0.3,
font-cursor-misc-1.0.3,
font-daewoo-misc-1.0.3,
font-dec-misc-1.0.3,
font-ibm-type1-1.0.3,
font-isas-misc-1.0.3,
font-jis-misc-1.0.3,
font-micro-misc-1.0.3,
font-misc-cyrillic-1.0.3,
font-misc-ethiopic-1.0.3,
font-misc-meltho-1.0.3,
font-misc-misc-1.1.2,
font-mutt-misc-1.0.3,
font-schumacher-misc-1.1.2,
font-screen-cyrillic-1.0.4,
font-sony-misc-1.0.3,
font-sun-misc-1.0.3,
font-winitzki-cyrillic-1.0.3,
font-xfree86-type1-1.0.4
* CVS tags purges by Jesse Adkins
* font-util macro bump to 1.2 by Gaétan Nadon
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-fonts?expand=0&rev=66
2010-11-16 02:05:55 +01:00
|
|
|
Source2: font-arabic-misc-1.0.3.tar.bz2
|
|
|
|
Source3: font-bh-100dpi-1.0.3.tar.bz2
|
|
|
|
Source4: font-bh-75dpi-1.0.3.tar.bz2
|
|
|
|
Source5: font-bh-lucidatypewriter-100dpi-1.0.3.tar.bz2
|
|
|
|
Source6: font-bh-lucidatypewriter-75dpi-1.0.3.tar.bz2
|
2010-11-11 10:26:29 +01:00
|
|
|
Source7: font-bh-ttf-1.0.3.tar.bz2
|
- font-arabic-misc-1.0.3,
font-bh-100dpi-1.0.3,
font-bh-75dpi-1.0.3,
font-bh-lucidatypewriter-100dpi-1.0.3,
font-bh-lucidatypewriter-75dpi-1.0.3,
font-bh-type1-1.0.3,
font-bitstream-100dpi-1.0.3,
font-bitstream-75dpi-1.0.3,
font-bitstream-speedo-1.0.2,
font-bitstream-type1-1.0.3,
font-cronyx-cyrillic-1.0.3,
font-cursor-misc-1.0.3,
font-daewoo-misc-1.0.3,
font-dec-misc-1.0.3,
font-ibm-type1-1.0.3,
font-isas-misc-1.0.3,
font-jis-misc-1.0.3,
font-micro-misc-1.0.3,
font-misc-cyrillic-1.0.3,
font-misc-ethiopic-1.0.3,
font-misc-meltho-1.0.3,
font-misc-misc-1.1.2,
font-mutt-misc-1.0.3,
font-schumacher-misc-1.1.2,
font-screen-cyrillic-1.0.4,
font-sony-misc-1.0.3,
font-sun-misc-1.0.3,
font-winitzki-cyrillic-1.0.3,
font-xfree86-type1-1.0.4
* CVS tags purges by Jesse Adkins
* font-util macro bump to 1.2 by Gaétan Nadon
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-fonts?expand=0&rev=66
2010-11-16 02:05:55 +01:00
|
|
|
Source8: font-bh-type1-1.0.3.tar.bz2
|
|
|
|
Source9: font-bitstream-100dpi-1.0.3.tar.bz2
|
|
|
|
Source10: font-bitstream-75dpi-1.0.3.tar.bz2
|
|
|
|
Source11: font-bitstream-speedo-1.0.2.tar.bz2
|
|
|
|
Source12: font-bitstream-type1-1.0.3.tar.bz2
|
|
|
|
Source13: font-cronyx-cyrillic-1.0.3.tar.bz2
|
|
|
|
Source14: font-cursor-misc-1.0.3.tar.bz2
|
|
|
|
Source15: font-daewoo-misc-1.0.3.tar.bz2
|
|
|
|
Source16: font-dec-misc-1.0.3.tar.bz2
|
|
|
|
Source17: font-ibm-type1-1.0.3.tar.bz2
|
|
|
|
Source18: font-isas-misc-1.0.3.tar.bz2
|
|
|
|
Source19: font-jis-misc-1.0.3.tar.bz2
|
|
|
|
Source20: font-micro-misc-1.0.3.tar.bz2
|
|
|
|
Source21: font-misc-cyrillic-1.0.3.tar.bz2
|
|
|
|
Source22: font-misc-ethiopic-1.0.3.tar.bz2
|
|
|
|
Source23: font-misc-meltho-1.0.3.tar.bz2
|
|
|
|
Source24: font-misc-misc-1.1.2.tar.bz2
|
|
|
|
Source25: font-mutt-misc-1.0.3.tar.bz2
|
|
|
|
Source26: font-schumacher-misc-1.1.2.tar.bz2
|
|
|
|
Source27: font-screen-cyrillic-1.0.4.tar.bz2
|
|
|
|
Source28: font-sony-misc-1.0.3.tar.bz2
|
|
|
|
Source29: font-sun-misc-1.0.3.tar.bz2
|
|
|
|
Source30: font-winitzki-cyrillic-1.0.3.tar.bz2
|
|
|
|
Source31: font-xfree86-type1-1.0.4.tar.bz2
|
2010-10-30 18:10:43 +02:00
|
|
|
Source32: encodings-1.0.4.tar.bz2
|
2010-11-15 03:39:13 +01:00
|
|
|
Source33: font-adobe-utopia-100dpi-1.0.4.tar.bz2
|
|
|
|
Source34: font-adobe-utopia-75dpi-1.0.4.tar.bz2
|
|
|
|
Source35: font-adobe-utopia-type1-1.0.4.tar.bz2
|
2010-10-07 21:51:05 +02:00
|
|
|
Source36: font-alias-1.0.3.tar.bz2
|
2007-01-16 00:43:22 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains fonts maintained and shipped with X.Org.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package core
|
2009-07-29 17:32:19 +02:00
|
|
|
License: MIT License (or similar)
|
2007-01-16 00:43:22 +01:00
|
|
|
Summary: Core Fonts for X.Org
|
|
|
|
Group: System/X11/Fonts
|
|
|
|
PreReq: fonts-config
|
|
|
|
Provides: xorg-x11:/usr/X11R6/%{_lib}/X11/fonts/misc/cursor.pcf.gz
|
2007-10-03 01:18:37 +02:00
|
|
|
AutoReqProv: on
|
2007-01-16 00:43:22 +01:00
|
|
|
|
|
|
|
%description core
|
|
|
|
This package contains the 'fixed' and 'cursor' font required for any X
|
|
|
|
Server.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n . -T -D
|
|
|
|
rm -rf $RPM_BUILD_DIR/*
|
|
|
|
for i in $RPM_SOURCE_DIR/*.tar.bz2; do tar xjf $i; done
|
|
|
|
|
|
|
|
%build
|
|
|
|
for dir in encodings-* $(ls | grep -v -e encodings -e alias) font-alias-* ; do
|
|
|
|
pushd $dir
|
|
|
|
case $dir in
|
2010-04-07 13:23:48 +02:00
|
|
|
*alias-*) option="--with-fontrootdir=/usr/share/fonts" ;;
|
2007-01-16 00:43:22 +01:00
|
|
|
*encodings-*) option="--with-encodingsdir=/usr/share/fonts/encodings" ;;
|
|
|
|
*100dpi-*) option="--with-fontdir=/usr/share/fonts/100dpi" ;;
|
|
|
|
*75dpi-*) option="--with-fontdir=/usr/share/fonts/75dpi" ;;
|
|
|
|
*type1-*) option="--with-fontdir=/usr/share/fonts/Type1" ;;
|
2011-05-23 18:31:52 +02:00
|
|
|
*ethiopic-*) option="--with-ttf-fontdir= --with-otf-fontdir=/usr/share/fonts/truetype" ;;
|
2007-01-16 00:43:22 +01:00
|
|
|
*meltho-*) option="--with-fontdir=/usr/share/fonts/truetype" ;;
|
|
|
|
*misc-*) option="--with-fontdir=/usr/share/fonts/misc" ;;
|
|
|
|
*ttf-*) option="--with-fontdir=/usr/share/fonts/truetype" ;;
|
|
|
|
*speedo-*) option="--with-fontdir=/usr/share/fonts/Speedo" ;;
|
|
|
|
*cyrillic-*) option="--with-fontdir=/usr/share/fonts/cyrillic" ;;
|
|
|
|
*) option="" ;;
|
|
|
|
esac
|
|
|
|
#autoreconf -fi
|
|
|
|
./configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
|
|
|
--prefix=/usr --libdir=%{_libdir} \
|
|
|
|
--mandir=%{_mandir} ${option}
|
|
|
|
popd
|
|
|
|
done
|
|
|
|
|
|
|
|
%install
|
|
|
|
for dir in encodings-* $(ls | grep -v -e encodings -e alias) font-alias-* ; do
|
2011-05-23 18:31:52 +02:00
|
|
|
case $dir in
|
|
|
|
*misc-cyrillic-*) option='FONT_FILES=koi12x24b koi12x24 koi6x13b koi7x14b koi8x16b koi8x16 koi9x15b koi9x18b';;
|
|
|
|
*) option='NOOPT=' ;;
|
|
|
|
esac
|
|
|
|
make -C $dir install DESTDIR=$RPM_BUILD_ROOT "${option}"
|
2007-01-16 00:43:22 +01:00
|
|
|
done
|
|
|
|
rm -f $RPM_BUILD_ROOT/usr/share/fonts/*/fonts.cache*
|
2007-07-25 23:07:59 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT/usr/share/fonts/75dpi/fonts.{dir,scale}
|
2007-01-16 00:43:22 +01:00
|
|
|
pushd $RPM_BUILD_ROOT
|
2007-07-25 23:07:59 +02:00
|
|
|
find usr/share/fonts/75dpi -type f | sed 's+^usr+/usr+g' | \
|
|
|
|
grep -v -e ISO8859 -e fonts.alias >> $RPM_BUILD_DIR/files.%{name}-core
|
2007-01-16 00:43:22 +01:00
|
|
|
popd
|
2010-10-07 21:51:05 +02:00
|
|
|
rm -rf $RPM_BUILD_ROOT/usr/etc
|
2007-01-16 00:43:22 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf "$RPM_BUILD_ROOT"
|
|
|
|
|
|
|
|
%post
|
|
|
|
%run_suseconfig_fonts
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%run_suseconfig_fonts
|
|
|
|
|
|
|
|
%post core
|
|
|
|
%run_suseconfig_fonts
|
|
|
|
|
|
|
|
%postun core
|
|
|
|
%run_suseconfig_fonts
|
|
|
|
|
2007-07-25 23:07:59 +02:00
|
|
|
%files
|
2007-01-16 00:43:22 +01:00
|
|
|
%defattr(-,root,root)
|
2007-12-13 20:24:41 +01:00
|
|
|
%dir /usr/share/fonts/100dpi
|
|
|
|
%dir /usr/share/fonts/Speedo
|
|
|
|
%dir /usr/share/fonts/Type1
|
|
|
|
%dir /usr/share/fonts/cyrillic
|
|
|
|
%dir /usr/share/fonts/truetype
|
|
|
|
%config /usr/share/fonts/100dpi/fonts.dir
|
|
|
|
/usr/share/fonts/100dpi/fonts.alias
|
|
|
|
/usr/share/fonts/100dpi/*.pcf.gz
|
2007-07-25 23:07:59 +02:00
|
|
|
/usr/share/fonts/75dpi/fonts.alias
|
|
|
|
/usr/share/fonts/75dpi/*-ISO8859-*.pcf.gz
|
2007-12-13 20:24:41 +01:00
|
|
|
%config /usr/share/fonts/Speedo/fonts.dir
|
|
|
|
%config /usr/share/fonts/Speedo/fonts.scale
|
|
|
|
/usr/share/fonts/Speedo/*.spd
|
|
|
|
%config /usr/share/fonts/Type1/fonts.dir
|
|
|
|
%config /usr/share/fonts/Type1/fonts.scale
|
|
|
|
/usr/share/fonts/Type1/*.afm
|
|
|
|
/usr/share/fonts/Type1/*.pfa
|
|
|
|
/usr/share/fonts/Type1/*.pfb
|
|
|
|
%config /usr/share/fonts/cyrillic/fonts.dir
|
|
|
|
/usr/share/fonts/cyrillic/fonts.alias
|
|
|
|
/usr/share/fonts/cyrillic/*.pcf.gz
|
|
|
|
%config /usr/share/fonts/truetype/fonts.dir
|
|
|
|
%config /usr/share/fonts/truetype/fonts.scale
|
|
|
|
/usr/share/fonts/truetype/*.otf
|
|
|
|
/usr/share/fonts/truetype/*.ttf
|
2007-07-25 23:07:59 +02:00
|
|
|
|
|
|
|
%files core -f files.%{name}-core
|
2007-01-16 00:43:22 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir /usr/share/fonts/misc
|
2007-07-25 23:07:59 +02:00
|
|
|
%dir /usr/share/fonts/75dpi
|
2007-01-16 00:43:22 +01:00
|
|
|
%dir /usr/share/fonts/encodings
|
2007-12-13 20:24:41 +01:00
|
|
|
%dir /usr/share/fonts/encodings/large
|
|
|
|
%config /usr/share/fonts/encodings/encodings.dir
|
|
|
|
/usr/share/fonts/encodings/*.enc.gz
|
|
|
|
%config /usr/share/fonts/encodings/large/encodings.dir
|
|
|
|
/usr/share/fonts/encodings/large/*.enc.gz
|
|
|
|
%config /usr/share/fonts/misc/fonts.dir
|
|
|
|
/usr/share/fonts/misc/fonts.alias
|
|
|
|
/usr/share/fonts/misc/*.pcf.gz
|
2011-05-23 18:31:52 +02:00
|
|
|
%exclude /fonts.dir
|
|
|
|
%exclude /fonts.scale
|
2007-12-13 20:24:41 +01:00
|
|
|
|
2007-07-25 23:07:59 +02:00
|
|
|
%changelog
|