5 Summary: Data files for the imake utility
6 Url: http://xorg.freedesktop.org/
7 Group: Development/Tools/Building
8 Source0: http://xorg.freedesktop.org/releases/individual/util/%{name}-%{version}.tar.bz2
9 BuildRequires: font-util >= 1.1
10 BuildRequires: pkgconfig(xorg-macros) >= 1.4
14 # This was part of the xorg-x11-util-devel package up to version 7.6
18 The xorg-cf-files package contains the data files for the imake utility,
19 defining the known settings for a wide variety of platforms (many of
20 which have not been verified or tested in over a decade), and for many
21 of the libraries formerly delivered in the X.Org monolithic releases.
23 The X Window System used imake extensively up through the X11R6.9
24 release, for both full builds within the source tree and external
25 software. X has since moved to GNU autoconf and automake for its build
26 system in X11R7.0 and later releases, but still maintains imake for
27 building existing external software programs that have not yet
30 %define _configdir %{_datadir}/X11/config
35 #define ConfigDir %_configdir
36 #define XAppLoadDir /usr/share/X11/app-defaults
37 #define UseSeparateConfDir NO
38 #define ManPath /usr/share/man
39 %ifarch ppc64 s390x x86_64 sparc64
40 #define ModuleDir /usr/lib64/xorg/modules
42 #define ModuleDir /usr/lib/xorg/modules
44 #ifdef i386Architecture
45 #undef DefaultGcc2i386Opt
46 #define DefaultGcc2i386Opt %{optflags} -fno-strict-aliasing
48 #ifdef MipsArchitecture
49 #undef DefaultGcc2MipsOpt
50 #define DefaultGcc2MipsOpt %{optflags} -fno-strict-aliasing
52 #ifdef PpcArchitecture
53 #undef DefaultGcc2PpcOpt
54 #define DefaultGcc2PpcOpt %{optflags} -fno-strict-aliasing
56 #ifdef Ppc64Architecture
57 #undef DefaultGcc2Ppc64Opt
58 #define DefaultGcc2Ppc64Opt %{optflags} -fno-strict-aliasing
60 #ifdef AMD64Architecture
61 #undef DefaultGcc2AMD64Opt
62 #define DefaultGcc2AMD64Opt %{optflags} -fno-strict-aliasing
64 #ifdef s390xArchitecture
65 #undef OptimizedCDebugFlags
66 #define OptimizedCDebugFlags %{optflags} -fno-strict-aliasing
68 #ifdef ia64Architecture
69 #undef OptimizedCDebugFlags
70 #define OptimizedCDebugFlags %{optflags} -fno-strict-aliasing
72 #if defined(SparcArchitecture) || defined(Sparc64Architecture)
73 #undef OptimizedCDebugFlags
74 #define OptimizedCDebugFlags %{optflags} -fno-strict-aliasing
76 #if defined(Sparc64Architecture)
77 # define HaveLib64 YES
85 %configure --with-config-dir=%_configdir
93 %doc ChangeLog COPYING README
95 %{_datadir}/X11/config/