Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
freetype
freetype.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File freetype.spec of Package freetype
# # spec file for package freetype (Version 1.3.1) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: freetype BuildRequires: texlive-bin-devel texlive-devel xorg-x11-devel License: The FreeType License (BSD-like) Group: System/Libraries AutoReqProv: on # bug437293 %ifarch ppc64 Obsoletes: freetype-64bit %endif # PreReq: fileutils Version: 1.3.1 Release: 1391 Url: http://www.freetype.org Summary: TrueType Font Engine Source: ftp://ftp.freetype.org/pub/freetype1/freetype-%{version}.tar.bz2 Patch0: freetype-tools-1.3.1.patch Patch1: freetype-%{version}.dif Patch2: freetype-%{version}-nopatent.patch Patch3: freetype-%{version}-gcc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A library for working with TrueType Fonts. Documentation is in the /usr/share/doc/packages/freetype directory. Authors: -------- David Turner <turner@enst.fr> Robert Wilhelm <robert@physiol.med.tu-muenchen.de> Werner Lemberg <a7971428@unet.univie.ac.at> %package -n freetype-tools License: X11/MIT Summary: Bundled Tests, Demos and Tools for FreeType (Needed for CJK-LaTeX) Group: Development/Libraries/C and C++ Requires: freetype %description -n freetype-tools Bundled tests, demos and tools for FreeType. Needed for CJK-LaTeX. The FreeType engine is a free and portable TrueType font rendering engine. It has been developed to provide TT support to a great variety of platforms and environments. This package contains several programs bundled with the FreeType engine for testing and demonstration purposes as well as some contributed utilities, such as ttf2pk, ttf2bdf, ttf2pfb, and ttfbanner. Authors: -------- David Turner <david.turner@freetype.org> Robert Wilhelm <robert.wilhelm@freetype.org> Werner Lemberg <werner.lemberg@freetype.org> %prep %setup %patch0 -p1 %patch1 %patch2 %patch3 %build # fix build with newer glibc sed "s:getline:getline_nonlibc:" -i contrib/*/*.{c,h} # update config.{guess,sub} %{?suse_update_config:%{suse_update_config -f contrib/ttf2pk contrib/ttf2bdf contrib/ttfbanner contrib/ttf2pfb}} export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./configure --prefix=/usr \ --with-locale-dir=/usr/share/locale \ --libdir=%{_libdir} \ %{_target_cpu}-suse-linux-gnu make pushd contrib/ttf2bdf ./configure --prefix=/usr --mandir=$RPM_BUILD_ROOT%{_mandir} \ --libdir=%{_libdir} \ %{_target_cpu}-suse-linux-gnu make popd pushd contrib/ttf2pk autoconf ./configure --prefix=/usr --mandir=$RPM_BUILD_ROOT%{_mandir} \ --with-kpathsea-dir=/usr \ --libdir=%{_libdir} \ %{_target_cpu}-suse-linux-gnu make popd pushd contrib/ttf2pfb ./configure --prefix=/usr --mandir=$RPM_BUILD_ROOT%{_mandir} \ --libdir=%{_libdir} \ %{_target_cpu}-suse-linux-gnu make popd pushd contrib/ttfbanner ./configure --prefix=/usr --mandir=$RPM_BUILD_ROOT%{_mandir} \ --libdir=%{_libdir} \ %{_target_cpu}-suse-linux-gnu make popd %install make prefix=$RPM_BUILD_ROOT/usr \ libdir=$RPM_BUILD_ROOT/%{_libdir} \ gnulocaledir=$RPM_BUILD_ROOT/usr/share/locale \ localedir=$RPM_BUILD_ROOT/usr/share/locale install for i in ttf2bdf ttf2pfb ttf2pk ttfbanner; do make -C contrib/$i prefix=$RPM_BUILD_ROOT/usr install done # ttf2tfm and ttf2pk both need the *.sfd, *.enc and *.rpl # in their own directory. (?) Hmm... mkdir -p $RPM_BUILD_ROOT/usr/share/texmf/ttf2pk mkdir -p $RPM_BUILD_ROOT/usr/share/texmf/ttf2tfm cp -av contrib/ttf2pk/data/*.{sfd,enc,rpl} $RPM_BUILD_ROOT/usr/share/texmf/ttf2pk ln $RPM_BUILD_ROOT/usr/share/texmf/ttf2pk/*.{sfd,enc,rpl} $RPM_BUILD_ROOT/usr/share/texmf/ttf2tfm mkdir -p $RPM_BUILD_ROOT/etc/ttf2pk cp -av contrib/ttf2pk/data/ttfonts.map $RPM_BUILD_ROOT/etc/ttf2pk/ttfonts.map ln -s /etc/ttf2pk/ttfonts.map $RPM_BUILD_ROOT/usr/share/texmf/ttf2pk/ttfonts.map # copy documentation for freetype-tools: mkdir -p freetype-tools-doc/ttf2bdf mkdir -p freetype-tools-doc/ttf2pfb mkdir -p freetype-tools-doc/ttf2pk mkdir -p freetype-tools-doc/ttfbanner cp contrib/ttf2bdf/README freetype-tools-doc/ttf2bdf cp contrib/ttf2pfb/TODO freetype-tools-doc/ttf2pfb cp contrib/ttf2pk/*.doc contrib/ttf2pk/README contrib/ttf2pk/TODO contrib/ttf2pk/BUGS freetype-tools-doc/ttf2pk cp contrib/ttfbanner/README freetype-tools-doc/ttfbanner pushd $RPM_BUILD_ROOT/usr/bin # rename the utility programs to avoid the name conflict with the same # utilities from freetype2: rename ft ft1 ft* popd pushd $RPM_BUILD_ROOT/usr/include/freetype # Creeate extend sub directory and link all ftx*.h into this directory mkdir extend cd extend/ ln -sf ../ftx*.h . popd # don't pack t1asm, because this file is in package t1utils: rm -f $RPM_BUILD_ROOT/usr/bin/t1asm # don't pack getafm, because it is in the package psutils: rm -f $RPM_BUILD_ROOT/usr/bin/getafm %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post -n freetype-tools mkdir -p var/adm/SuSEconfig ; touch var/adm/SuSEconfig/run-texhash test -x usr/bin/texhash && usr/bin/texhash exit 0 %postun -n freetype-tools mkdir -p var/adm/SuSEconfig ; touch var/adm/SuSEconfig/run-texhash test -x usr/bin/texhash && usr/bin/texhash exit 0 %files -f %{name}.lang %defattr(-,root,root) %doc README license.txt docs/FAQ docs/TODO docs/*.txt /usr/include/freetype /usr/include/freetype/extend %{_libdir}/libttf.la %{_libdir}/libttf.so %{_libdir}/libttf.so.2 %{_libdir}/libttf.so.2.2.0 /usr/bin/ft1view /usr/bin/ft1timer /usr/bin/ft1lint /usr/bin/ft1dump /usr/bin/ft1zoom /usr/bin/ft1string /usr/bin/ft1strpnm /usr/bin/ft1error /usr/bin/ft1metric /usr/bin/ft1sbit /usr/bin/ft1strtto %files -n freetype-tools %defattr(-, root, root) %doc ./freetype-tools-doc /usr/bin/ttf2bdf /usr/bin/ttf2pfb /usr/bin/ttf2pk /usr/bin/ttf2tfm /usr/bin/ttfbanner %dir /usr/share/texmf %dir /usr/share/texmf/ttf2pk /usr/share/texmf/ttf2pk/Big5.sfd /usr/share/texmf/ttf2pk/EUC.sfd /usr/share/texmf/ttf2pk/SJIS.sfd /usr/share/texmf/ttf2pk/UBg5plus.sfd /usr/share/texmf/ttf2pk/UBig5.sfd /usr/share/texmf/ttf2pk/UGBK.sfd /usr/share/texmf/ttf2pk/UGB.sfd /usr/share/texmf/ttf2pk/UJIS.sfd /usr/share/texmf/ttf2pk/UKS.sfd /usr/share/texmf/ttf2pk/Unicode.sfd /usr/share/texmf/ttf2pk/ET5.enc /usr/share/texmf/ttf2pk/T1-WGL4.enc /usr/share/texmf/ttf2pk/VPS.rpl /usr/share/texmf/ttf2pk/ttfonts.map %dir /usr/share/texmf/ttf2tfm /usr/share/texmf/ttf2tfm/Big5.sfd /usr/share/texmf/ttf2tfm/EUC.sfd /usr/share/texmf/ttf2tfm/SJIS.sfd /usr/share/texmf/ttf2tfm/UBg5plus.sfd /usr/share/texmf/ttf2tfm/UBig5.sfd /usr/share/texmf/ttf2tfm/UGBK.sfd /usr/share/texmf/ttf2tfm/UGB.sfd /usr/share/texmf/ttf2tfm/UJIS.sfd /usr/share/texmf/ttf2tfm/UKS.sfd /usr/share/texmf/ttf2tfm/Unicode.sfd /usr/share/texmf/ttf2tfm/ET5.enc /usr/share/texmf/ttf2tfm/T1-WGL4.enc /usr/share/texmf/ttf2tfm/VPS.rpl /usr/share/man/man1/ttf2pk.1.gz /usr/share/man/man1/ttf2bdf.1.gz /usr/share/man/man1/ttf2tfm.1.gz %dir /etc/ttf2pk %config /etc/ttf2pk/ttfonts.map %changelog * Fri Jun 05 2009 nadvornik@suse.cz - fixed to build with the new glibc * Wed Dec 10 2008 olh@suse.de - use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade (bnc#437293) * Thu Oct 30 2008 olh@suse.de - obsolete old -XXbit packages (bnc#437293) * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support * Wed Apr 02 2008 crrodriguez@suse.de - fix file-not-in-lang rpmlint errors * Wed May 16 2007 mfabian@suse.de - adapt /etc/ttf2pk/ttfonts.map to the changes in the cjk-latex font setup for the Arphic fonts needed for texlive. * Sun Apr 22 2007 ro@suse.de - use texlive-devel for building * Wed Aug 16 2006 werner@suse.de - Create extend sub dir under freetype include dir to support this * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Fri Feb 25 2005 mfabian@suse.de - add entries to /etc/ttf2pk/ttfonts.map to support the use of the IPA fonts. * Fri Oct 15 2004 mfabian@suse.de - add entries to /etc/ttf2pk/ttfonts.map to support the use of the Novell-ricoh-fonts. * Fri Oct 01 2004 mfabian@suse.de - add entries to /etc/ttf2pk/ttfonts.map to support the use of the Sazanami fonts (which replaced the dropped Kochi fonts) with CJK-LaTeX. * Mon Apr 26 2004 mfabian@suse.de - Bugzilla #39459: add entries to /etc/ttf2pk/ttfonts.map to support the use of the Chinese "Founder" fonts with CJK-LaTeX. * Tue Feb 10 2004 nadvornik@suse.cz - compiled with -fno-strict-aliasing * Sat Jan 10 2004 adrian@suse.de - add %%defattr * Sun Aug 24 2003 mfabian@suse.de - add entries to /etc/ttf2pk/ttfonts.map to support the use of the Mika-Chan fonts with CJK-LaTeX. * Fri Jun 13 2003 kukuk@suse.de - add missing directories to filelist * Wed May 28 2003 nadvornik@suse.cz - remove/install unpackaged files from buildroot * Sat Jan 25 2003 mfabian@suse.de - rename the utilities to avoid the name conflict with the same utilities from freetype2: ftdump -> ft1dump, ftview -> ft1view etc ... * Tue Nov 26 2002 nadvornik@suse.cz - fixed to compile with new gcc * Tue Sep 17 2002 ro@suse.de - removed bogus self-provides * Mon Aug 05 2002 nadvornik@suse.cz - added PreReq: fileutils * Sat Jul 27 2002 adrian@suse.de - add %%run_ldconfig * Wed Jun 12 2002 ro@suse.de - hack ltconfig for ppc64 * Thu Apr 11 2002 nadvornik@suse.cz - fixed to build with new gcc * Wed Feb 13 2002 nadvornik@suse.cz - used macro %%{_libdir} * Mon Dec 10 2001 schwab@suse.de - Fix undefined operation in ttf2bdf. - Fix configuration of ttf2pk: don't add /usr/include to search path. * Sat Oct 06 2001 mfabian@suse.de - add entries to /etc/ttf2pk/ttfonts.map to support the use of the Kochi, the Baekmuk, and the Arphic PL fonts in UTF-8 encoding with CJK-LaTeX. * Tue Aug 07 2001 mfabian@suse.de - add entries to /etc/ttf2pk/ttfonts.map to support the free Japanese TrueType fonts kochi-mincho.ttf and kochi-gothic.ttf from the ttf-kochi-mincho and ttf-kochi-gothic packages (needed by the cjk-latex-package) * Mon May 07 2001 mfabian@suse.de - bzip2 sources * Fri Mar 16 2001 nadvornik@suse.cz - disabled compilation of bytecode interpreter * Sun Mar 04 2001 schwab@suse.de - Don't use uninitialized data in ttf2tfm. - Default to RPM_OPT_FLAGS in all compilations. * Thu Feb 15 2001 mfabian@suse.de - add entries to /etc/ttf2pk/ttfonts.map to support the free Japanese TrueType fonts watanabe-mincho.ttf and wadalab-gothic.ttf from the xtt-fonts package (needed by the cjk-latex-package) * Sun Jan 21 2001 mfabian@suse.de - add entries to /etc/ttf2pk/ttfonts.map to support the Korean Baekmuk TrueType fonts (needed by the cjk-latex package). - mark ttfonts.map with %%config in spec file * Fri Dec 08 2000 mfabian@suse.de - don't pack getafm, because it is in the package psutils, packing it here would result in a conflict. * Mon Dec 04 2000 mfabian@suse.de - don't pack /usr/bin/t1asm, because this file is in the package t1utils, packing it here to would result in a conflict. * Mon Dec 04 2000 mfabian@suse.de - added entries for the Bitstream Cyberbit True Type fonts and Microsofts Japanese True Type fonts msmincho.ttc and msgothic.ttc to ttfonts.map * Thu Nov 30 2000 mfabian@suse.de - make new sub-package "freetype-tools". I choose this name because the equivalent Debian package has this name. This sub package contains some tools for FreeType which are needed by CJK-LaTeX. - included the Debian patches by Anthony Fok <foka@debian.org> for ttfonts.map and UBig5.sfd which make changes necessary to use the free Arphic PL fonts for Chinese. - also included the Debian patch to fix a va_arg problem which prevents the build on powerpc. * Thu Apr 27 2000 nadvornik@suse.cz - changed Group tag * Mon Apr 10 2000 nadvornik@suse.cz - fixed URL * Fri Apr 07 2000 bk@suse.de - added suse update config macro * Tue Apr 04 2000 nadvornik@suse.cz - added BuildRoot - added URL * Wed Jan 19 2000 ro@suse.de - update to 1.3.1 - includes now in /usr/include/freetype * Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Mon Jun 28 1999 ro@suse.de - update to 1.2 * Mon Jun 29 1998 ro@suse.de - update to version 1.1 * Tue Mar 10 1998 ro@suse.de - added include file * Mon Mar 09 1998 ro@suse.de - created new package / uses gettext / version 1.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor