commit 88aa3b30994fe9ffc3a3607d297c5569efb74731209e85a5aa2129e60a907c5d Author: Stefan Dirsch Date: Thu Apr 19 09:41:22 2012 +0000 Accepting request 114551 from home:vuntz:branches:X11:XOrg New package, split from xorg-x11-util-devel OBS-URL: https://build.opensuse.org/request/show/114551 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-cf-files?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/xorg-cf-files-1.0.4.tar.bz2 b/xorg-cf-files-1.0.4.tar.bz2 new file mode 100644 index 0000000..57c0385 --- /dev/null +++ b/xorg-cf-files-1.0.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:36e9ce83e4978f59909c6f44c43002d9b240ae66e23984ea1086f0b18c810669 +size 367380 diff --git a/xorg-cf-files.changes b/xorg-cf-files.changes new file mode 100644 index 0000000..b5664bd --- /dev/null +++ b/xorg-cf-files.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Fri Apr 13 08:46:08 UTC 2012 - vuntz@opensuse.org + +- Split xorg-cf-files from xorg-x11-util-devel. + Initial version: 1.0.4. + diff --git a/xorg-cf-files.spec b/xorg-cf-files.spec new file mode 100644 index 0000000..4e09651 --- /dev/null +++ b/xorg-cf-files.spec @@ -0,0 +1,116 @@ +# +# spec file for package xorg-cf-files +# +# Copyright (c) 2012 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/ +# + +Name: xorg-cf-files +Version: 1.0.4 +Release: 0 +License: MIT +Summary: Data files for the imake utility +Url: http://xorg.freedesktop.org/ +Group: Development/Tools/Building +Source0: http://xorg.freedesktop.org/releases/individual/util/%{name}-%{version}.tar.bz2 +BuildRequires: font-util >= 1.1 +BuildRequires: pkgconfig(xorg-macros) >= 1.4 +Requires: gccmakedep +Requires: imake +Requires: makedepend +# This was part of the xorg-x11-util-devel package up to version 7.6 +Conflicts: xorg-x11-util-devel <= 7.6 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%description +The xorg-cf-files package contains the data files for the imake utility, +defining the known settings for a wide variety of platforms (many of +which have not been verified or tested in over a decade), and for many +of the libraries formerly delivered in the X.Org monolithic releases. + +The X Window System used imake extensively up through the X11R6.9 +release, for both full builds within the source tree and external +software. X has since moved to GNU autoconf and automake for its build +system in X11R7.0 and later releases, but still maintains imake for +building existing external software programs that have not yet +converted. + +%define _configdir %{_datadir}/X11/config + +%prep +%setup -q +cat > host.def << EOF +#define ConfigDir %_configdir +#define XAppLoadDir /usr/share/X11/app-defaults +#define UseSeparateConfDir NO +#define ManPath /usr/share/man +%ifarch ppc64 s390x x86_64 sparc64 +#define ModuleDir /usr/lib64/xorg/modules +%else +#define ModuleDir /usr/lib/xorg/modules +%endif +#ifdef i386Architecture +#undef DefaultGcc2i386Opt +#define DefaultGcc2i386Opt $RPM_OPT_FLAGS -fno-strict-aliasing +#endif +#ifdef MipsArchitecture +#undef DefaultGcc2MipsOpt +#define DefaultGcc2MipsOpt $RPM_OPT_FLAGS -fno-strict-aliasing +#endif +#ifdef PpcArchitecture +#undef DefaultGcc2PpcOpt +#define DefaultGcc2PpcOpt $RPM_OPT_FLAGS -fno-strict-aliasing +#endif +#ifdef Ppc64Architecture +#undef DefaultGcc2Ppc64Opt +#define DefaultGcc2Ppc64Opt $RPM_OPT_FLAGS -fno-strict-aliasing +#endif +#ifdef AMD64Architecture +#undef DefaultGcc2AMD64Opt +#define DefaultGcc2AMD64Opt $RPM_OPT_FLAGS -fno-strict-aliasing +#endif +#ifdef s390xArchitecture +#undef OptimizedCDebugFlags +#define OptimizedCDebugFlags $RPM_OPT_FLAGS -fno-strict-aliasing +#endif +#ifdef ia64Architecture +#undef OptimizedCDebugFlags +#define OptimizedCDebugFlags $RPM_OPT_FLAGS -fno-strict-aliasing +#endif +#if defined(SparcArchitecture) || defined(Sparc64Architecture) +#undef OptimizedCDebugFlags +#define OptimizedCDebugFlags $RPM_OPT_FLAGS -fno-strict-aliasing +# undef HaveLib64 +#if defined(Sparc64Architecture) +# define HaveLib64 YES +#else +# define HaveLib64 NO +#endif +#endif +EOF + +%build +%configure --with-config-dir=%_configdir +make %{?_smp_mflags} + +%install +%make_install + +%files +%defattr(-,root,root) +%doc ChangeLog COPYING README +%dir %{_datadir}/X11 +%{_datadir}/X11/config/ + +%changelog