Accepting request 43598 from home:tiwai:branches:M17N

Copy from home:tiwai:branches:M17N/freetype2 via accept of submit request 43598 revision 2.
Request was accepted with message:
ok.

OBS-URL: https://build.opensuse.org/request/show/43598
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=29
This commit is contained in:
2010-07-21 10:18:38 +00:00
committed by Git OBS Bridge
parent 07386eb854
commit db2f6cb2c1
14 changed files with 39 additions and 93 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package ft2demos (Version 2.3.12)
# spec file for package ft2demos (Version 2.4.1)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -24,8 +24,8 @@ License: GPLv2+
Group: Productivity/Publishing/Other
AutoReqProv: on
Supplements: fonts-config
Version: 2.3.12
Release: 5
Version: 2.4.1
Release: 1
%define freetype_version %{version}
Url: http://www.freetype.org
Summary: Freetype2 Utilities and Demo Programs
@@ -37,14 +37,10 @@ Source0: http://savannah.nongnu.org/download/freetype/freetype-%{version}
# Uncomment to save space:
#NoSource: 0
Source1: http://savannah.nongnu.org/download/freetype/ft2demos-%{version}.tar.bz2
# pregenerated to avoid build-dependence on python:
Source2: freetype-doc-reference.tar.bz2
Patch4: ft2-stream-compat.diff
Patch9: fix-build.patch
Patch308961: bugzilla-308961-cmex-workaround.patch
Patch50: ft2demos-build-testname.patch
Patch100: freetype2-bc.patch
Patch101: ft2demos-bc.patch
Patch200: freetype2-subpixel.patch
Patch201: use_unix.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -53,15 +49,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
Freetype2 utilities and demo programs.
%prep
# The byte code interpreter is compiled in by default
# because of the following option.
# For most fonts it is disabled again by default in the
# fontconfig setup in /etc/fonts. But if it is already
# enabled at compilation time, it can be easily enabled
# at runtime. See also the variable BYTECODE_BW_MAX_PIXEL
# in /etc/sysconfig/fonts-config.
#
%define enable_bytecode_interpreter 1
%define enable_subpixel_rendering 0%{?opensuse_bs}
%setup -n freetype-%{freetype_version} -b 1
%patch4 -p 1 -b .ft2-stream-compat
@@ -72,19 +59,10 @@ Freetype2 utilities and demo programs.
pushd ../ft2demos-%{version}
%patch50 -p 1
popd
%if %{enable_bytecode_interpreter}
%patch100 -p 1 -b .bytecode
%endif
# pushd ../ft2demos-%{version}
# %patch101 -p 1
# popd
%if %{enable_subpixel_rendering}
%patch200 -p 1 -b .subpixel
%endif
%patch201 -p1
pushd docs
tar xf $RPM_SOURCE_DIR/freetype-doc-reference.tar.bz2
popd
find . -name CVS -type d | xargs rm -rf
find . -name ".cvsignore" | xargs rm -f
cp /usr/share/automake*/config.{guess,sub} builds/unix