Sophie

Sophie

distrib > Mandriva > 7.2 > i586 > media > main-src > by-pkgid > 80156ffd4f597b40a881ad44994ebe13 > files > 3

XFree86-ISO8859-2-1.0-14mdk.src.rpm

%define ISONAME ISO8859-2
Name: XFree86-%{ISONAME}
Version: 1.0
Release: 14mdk
Copyright: MIT
Source: http://www.biz.net.pl/images/ISO8859-2-bdf.tar.bz2
Source1: http://www.intersoft.cz/linux/fonts/ulT1mo-beta-1.0.tar.bz2
Patch0: XFree86-ISO8859-2-1.0-redhat.patch.bz2
Requires: XFree86 > 3.2
BuildRoot: %{_tmppath}/XFree86-ISO8859-2-root
BuildArch: noarch
Group: System/Fonts/X11 bitmap
Summary: Central European language fonts for the X Window System.
Prereq: chkfontpath
 
%description
If you use the X Window System and you want to display Central
European fonts, you should install the XFree86-ISO8859-2 package.

This package contains a full set of Central European fonts, in
compliance with the ISO 8859-2 standard. The fonts included in
this package are distributed free of charge and can be used
freely, subject to the accompanying copyright:

Copyright (c) 1996, 1997 BIZNET Poland, Inc. All Rights Reserved.
BIZNET is a registered trademark of BIZNET Poland, Inc.

You may also need to install one or more other XFree86 fonts
packages.

To install the X Window System, you will need to install the
XFree86 package, the XFree86 package which corresponds to your
video card, the X11R6-contrib package, the Xconfigurator
package and the XFree86-libs package.

Finally, if you are going to develop applications that run as
X clients, you will also need to install XFree86-devel.

%package 75dpi-fonts
Requires: XFree86 > 3.2
Group: System/Fonts/X11 bitmap
Summary: A set of 75 dpi Central European language fonts for X.

%description 75dpi-fonts
The XFree86-ISO8859-2-75dpi-fonts package contains a set of Central
European language fonts in 75 dpi resolution for the X Window System.
If you have a high resolution monitor capable of supporting 100 dpi,
you should install the 100 dpi version of this package instead.

If you are installing the X Window System and you need to display
Central European language characters in 75 dpi resolution, you should
install this package.  You may also need to install one or more of the
other XFree86 fonts packages as well.  To install the X Window System,
you will need to install the XFree86 package, the XFree86 video card
package that corresponds to your video card, the X11R6-contrib
package, the Xconfigurator package and the XFree86-libs package.  If
you are going to develop applications that will run as X clients, you
will also need to install XFree86-devel.

%package 100dpi-fonts
Requires: XFree86 > 3.2
Group: System/Fonts/X11 bitmap
Summary: ISO 8859-2 fonts in 100 dpi resolution for the X Window System.

%description 100dpi-fonts
The XFree86-ISO8859-2-100dpi-fonts package includes Central European
(ISO 8859-2) fonts, in 100 dpi resolution, for the X Window System.

If you need to display the special characters used by Central European 
languages on your X Window System, and your monitor can support 100 dpi
resolution, you should install the XFree86-ISO8859-2-100dpi-fonts
package.  You may need to install one or more of the other XFree86
fonts packages, as well.  To install the X Window System, you will need
to install the XFree86 package, the XFree86 video card package which
corresponds to your video card, the X11R6-contrib package, the
Xconfigurator package and the XFree86-libs package.  If you're going
to develop applications which run as X clients, you'll also need to
install XFree86-devel.

%package Type1-fonts
Requires: XFree86 > 3.2
Group: System/Fonts/Type1
Summary: Type 1 scalable Central European language (ISO8859-2) fonts for X.

%description Type1-fonts
The XFree86-ISO8859-2-Type1-fonts package contains Central European
Type 1 fonts for the X Window System.  This set of fonts is known as
the ulT1mo (or ultimo) collection.  All of the included fonts are
copyrighted to their authors and freeware.  Original fonts were taken
from the Internet or CDs.

If you need to display Central European language fonts on your X
Window System, you should install the XFree86-ISO8859-2-Type1-fonts
package.  You may need to also install one or more of the other XFree86
fonts packages.  To install the X Window System, you will need to
install the XFree86 package, the XFree86 video card package which
corresponds to your video card, the X11R6-contrib package, the
Xconfigurator package and the XFree86-libs package.  Finally, if you
are going to develop applications that will run as X clients, you'll
need to install XFree86-devel.

%prep
%setup -c -q -a 1
%patch0 -p1 -b .redhat

%build
PATH="${PATH}:/usr/X11R6/bin" && make all
make all -C ulT1mo-beta-1.0

%install
rm -rf $RPM_BUILD_ROOT
DSTFONT=$RPM_BUILD_ROOT/usr/share/fonts/%{ISONAME}
make install PREFIX=$RPM_BUILD_ROOT \
	FONTDIR=$DSTFONT
mkdir -p $DSTFONT/Type1/{afm,pfm}
(cd ulT1mo-beta-1.0 ;
install -m 644 *.pfb fonts.{alias,dir,scale} $DSTFONT/Type1
install -m 644 afm/*.afm $DSTFONT/Type1/afm
install -m 644 pfm/*.pfm $DSTFONT/Type1/pfm
)

%clean
rm -rf $RPM_BUILD_ROOT

%post
/usr/sbin/chkfontpath -q -a /usr/share/fonts/%{ISONAME}/misc:unscaled

%postun
if [ "$1" = "0" ]; then
	/usr/sbin/chkfontpath -q -r /usr/share/fonts/%{ISONAME}/misc:unscaled
fi

%post 75dpi-fonts
/usr/sbin/chkfontpath -q -a /usr/share/fonts/%{ISONAME}/75dpi:unscaled

%postun 75dpi-fonts
if [ "$1" = "0" ]; then
	/usr/sbin/chkfontpath -q -r /usr/share/fonts/%{ISONAME}/75dpi:unscaled
fi

%post 100dpi-fonts
/usr/sbin/chkfontpath -q -a /usr/share/fonts/%{ISONAME}/100dpi:unscaled

%postun 100dpi-fonts
if [ "$1" = "0" ]; then
	/usr/sbin/chkfontpath -q -r /usr/share/fonts/%{ISONAME}/100dpi:unscaled
fi

%post Type1-fonts
/usr/sbin/chkfontpath -q -a /usr/share/fonts/%{ISONAME}/Type1

%postun Type1-fonts
if [ "$1" = "0" ]; then
	/usr/sbin/chkfontpath -q -r /usr/share/fonts/%{ISONAME}/Type1
fi

%files
%defattr(-,root,root)
%doc RELEASE_NOTES.TXT
%dir /usr/share/fonts/%{ISONAME}
/usr/share/fonts/%{ISONAME}/misc

%files 75dpi-fonts
%defattr(-,root,root)
/usr/share/fonts/%{ISONAME}/75dpi

%files 100dpi-fonts
%defattr(-,root,root)
/usr/share/fonts/%{ISONAME}/100dpi

%files Type1-fonts
%defattr(-,root,root)
/usr/share/fonts/%{ISONAME}/Type1

%changelog
* Tue Oct 17 2000 Pablo Saratxaga <pablo@mandrakesoft.com> 1.0-14mdk
- fixed fontpaths (bitmap fonts are not scalable)

* Wed Aug 23 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.0-13mdk
- BM

* Mon Apr  3 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.0-12mdk
- fix groups.

* Thu Jan  6 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.0-11mdk
- New release.

* Tue Dec 07 1999 Jerome Dumonteil <jd@mandrakesoft.com>
- add usr/X11R6/bin in path for build stage
- use of _tmppath in buildroot

* Thu May 13 1999 Bernhard Rosenkraenzer <bero@mandrakesoft.com>
- Mandrake adaptions

* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
- auto rebuild in the new build environment (release 8)

* Tue Mar 09 1999 Preston Brown <pbrown@redhat.com>
- fixed typos

* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
- Injected new description and group.

* Tue Feb 16 1999 Preston Brown <pbrown@redhat.com>
- chkfontpath compliant.

* Sat Feb 06 1999 Preston Brown <pbrown@redhat.com>
- fonts moved to /usr/share/fonts/ISO8859-2 under new font scheme.

* Fri Dec 18 1998 Preston Brown <pbrown@redhat.com>
- bumped spec number for initial rh 6.0 build

* Mon Oct 05 1998 Cristian Gafton <gafton@redhat.com>
- packaged for RH 5.2
- made a noarch package