2007-01-16 00:43:22 +01:00
|
|
|
#
|
2007-10-03 01:18:37 +02:00
|
|
|
# spec file for package xorg-x11-fonts (Version 7.3)
|
2007-01-16 00:43:22 +01:00
|
|
|
#
|
2007-02-12 17:01:24 +01:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:43:22 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
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/
|
2007-10-03 01:18:37 +02:00
|
|
|
Version: 7.3
|
|
|
|
Release: 1
|
2007-01-16 00:43:22 +01:00
|
|
|
License: X11/MIT
|
|
|
|
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
|
|
|
|
Source0: font-adobe-100dpi-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source1: font-adobe-75dpi-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source2: font-arabic-misc-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source3: font-bh-100dpi-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source4: font-bh-75dpi-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source5: font-bh-lucidatypewriter-100dpi-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source6: font-bh-lucidatypewriter-75dpi-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source7: font-bh-ttf-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source8: font-bh-type1-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source9: font-bitstream-100dpi-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source10: font-bitstream-75dpi-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source11: font-bitstream-speedo-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source12: font-bitstream-type1-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source13: font-cronyx-cyrillic-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source14: font-cursor-misc-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source15: font-daewoo-misc-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source16: font-dec-misc-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source17: font-ibm-type1-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source18: font-isas-misc-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source19: font-jis-misc-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source20: font-micro-misc-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source21: font-misc-cyrillic-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source22: font-misc-ethiopic-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source23: font-misc-meltho-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source24: font-misc-misc-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source25: font-mutt-misc-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source26: font-schumacher-misc-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source27: font-screen-cyrillic-1.0.1.tar.bz2
|
|
|
|
Source28: font-sony-misc-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source29: font-sun-misc-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source30: font-winitzki-cyrillic-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source31: font-xfree86-type1-X11R7.0-1.0.0.tar.bz2
|
|
|
|
Source32: encodings-1.0.2.tar.bz2
|
|
|
|
Source33: font-adobe-utopia-100dpi-X11R7.0-1.0.1.tar.bz2
|
|
|
|
Source34: font-adobe-utopia-75dpi-X11R7.0-1.0.1.tar.bz2
|
|
|
|
Source35: font-adobe-utopia-type1-X11R7.0-1.0.1.tar.bz2
|
|
|
|
Source36: font-alias-X11R7.0-1.0.1.tar.bz2
|
|
|
|
Patch: encodings.diff
|
2007-02-12 17:01:24 +01:00
|
|
|
Patch1: font-misc-ethiopic.diff
|
2007-01-16 00:43:22 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains fonts maintained and shipped with X.Org.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package core
|
|
|
|
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
|
|
|
|
pushd encodings-*
|
|
|
|
%patch
|
|
|
|
popd
|
2007-02-12 17:01:24 +01:00
|
|
|
pushd font-misc-ethiopic-*
|
|
|
|
%patch1
|
|
|
|
popd
|
2007-01-16 00:43:22 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
for dir in encodings-* $(ls | grep -v -e encodings -e alias) font-alias-* ; do
|
|
|
|
pushd $dir
|
|
|
|
case $dir in
|
|
|
|
*alias-*) option="--with-top-fontdir=/usr/share/fonts" ;;
|
|
|
|
*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" ;;
|
|
|
|
*ethiopic-*) option="--with-ttf-fontdir=/usr/share/fonts/truetype --with-otf-fontdir=/usr/share/fonts/truetype" ;;
|
|
|
|
*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
|
|
|
|
make -C $dir install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
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
|
|
|
|
|
|
|
|
%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-07-25 23:07:59 +02:00
|
|
|
/usr/share/fonts/100dpi/
|
|
|
|
/usr/share/fonts/75dpi/fonts.alias
|
|
|
|
/usr/share/fonts/75dpi/*-ISO8859-*.pcf.gz
|
|
|
|
/usr/share/fonts/Speedo/
|
|
|
|
/usr/share/fonts/Type1/
|
|
|
|
/usr/share/fonts/cyrillic/
|
|
|
|
/usr/share/fonts/truetype/
|
|
|
|
|
|
|
|
%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
|
|
|
|
/usr/share/fonts/encodings/*
|
2007-07-25 23:07:59 +02:00
|
|
|
/usr/share/fonts/misc/*
|
|
|
|
%changelog
|
2007-10-03 01:18:37 +02:00
|
|
|
* Sat Sep 29 2007 - sndirsch@suse.de
|
|
|
|
- bumped version to 7.3
|
2007-07-25 23:07:59 +02:00
|
|
|
* Tue Jul 24 2007 - sndirsch@suse.de
|
|
|
|
- move most important fonts to xorg-x11-fonts-core (Bug #293793)
|
2007-02-12 17:01:24 +01:00
|
|
|
* Mon Feb 12 2007 - sndirsch@suse.de
|
|
|
|
- font-misc-ethiopic.diff:
|
|
|
|
* don't install TTF fonts any longer; OTF fonts should be enough
|
2007-01-16 00:43:22 +01:00
|
|
|
* Wed Nov 08 2006 - sndirsch@suse.de
|
|
|
|
- udpated font-screen-cyrillic to release 1.0.1 (X.Org 7.2 RC2)
|
|
|
|
* Add license from Andrey via Mikhail on xorg list.
|
|
|
|
* Wed Nov 08 2006 - sndirsch@suse.de
|
|
|
|
- updated encodings to release 1.0.2 (X.Org 7.2 RC2)
|
|
|
|
* Limit UNDEFINE line to en encoding's declared SIZE (bug 1248).
|
|
|
|
Simplify some encodings to avoid stating the obvious.
|
|
|
|
Remove the ansi-1251 encoding, it's called microsoft-cp1251.
|
|
|
|
* Sat Oct 21 2006 - sndirsch@suse.de
|
|
|
|
- updated encodings to release 1.0.1
|
|
|
|
* Added configure flags for --disable-gzip-small-encodings and
|
|
|
|
--disable-gzip-large-encodings for those who can afford a
|
|
|
|
little extra disk space usage and prefer the performance of
|
|
|
|
non-compressed reads.
|
|
|
|
* Also added COPYING file with generic XFree86 copyright/license
|
|
|
|
and converted ChangeLog to generate from git log.
|
|
|
|
* Mon Oct 16 2006 - aj@suse.de
|
|
|
|
- Fix build, fonts.cache might not exist.
|
|
|
|
* Thu Aug 31 2006 - sndirsch@suse.de
|
|
|
|
- added fonts-config to Prereq of main and -core subpackage
|
|
|
|
* Wed Aug 30 2006 - sndirsch@suse.de
|
|
|
|
- moved encodings to -core subpackage
|
|
|
|
* Tue Aug 29 2006 - sndirsch@suse.de
|
|
|
|
- move 'fixed' + 'cursor' fonts to new xorg-x11-fonts-core package
|
|
|
|
* Wed Aug 09 2006 - sndirsch@suse.de
|
|
|
|
- fixed /usr/share/fonts directory conflict with filesystem
|
|
|
|
* Fri Jul 28 2006 - sndirsch@suse.de
|
|
|
|
- use "-fno-strict-aliasing"
|
|
|
|
* Thu Jul 27 2006 - sndirsch@suse.de
|
|
|
|
- adjusted JIS0201 to CP932 encoding (Bug #194720)
|
|
|
|
* Thu Jul 27 2006 - sndirsch@suse.de
|
|
|
|
- use $RPM_OPT_FLAGS
|
|
|
|
* Wed Jun 28 2006 - sndirsch@suse.de
|
|
|
|
- created package
|