Sisyphus repositório
Última atualização: 27 setembro 2021 | SRPMs: 17343 | Visitas: 21961199
en ru br
ALT Linux repositórios
S:1.0.6-alt1
5.0: 1.0.2-alt1
4.1: 1.0.2-alt1
4.0: 1.0.2-alt1

Group :: Desenvolvimento/C
RPM: xorg-cf-files

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: xorg-cf-files
Version: 1.0.6
Release: alt1
Summary: config files for Xorg build
License: MIT/X11
Group: Development/C
Url: http://xorg.freedesktop.org
Source: %name-%version.tar.bz2

BuildRequires: xorg-util-macros xorg-font-utils

%description
Config files for Xorg build

%prep
%setup

%build
%autoreconf
%configure \
--with-config-dir=%_datadir/X11/config
%make

cat > host.def << EOF
#define XFree86CustomVersion "ALT Linux build: 7.6.0"
#define BuilderString "Build Host: %(hostname)\n"

#define XFree86RedHatCustom YES

#define BootstrapCFlags $RPM_OPT_FLAGS
#define DefaultGcc2i386Opt $RPM_OPT_FLAGS -fno-strength-reduce GccAliasingArgs -pipe
#define DefaultGcc2x86_64Opt $RPM_OPT_FLAGS -fno-strength-reduce GccAliasingArgs -pipe
#define DefaultGcc2AxpOpt $RPM_OPT_FLAGS -Wa,-m21164a GccAliasingArgs -pipe
#define DefaultGcc2PpcOpt $RPM_OPT_FLAGS GccAliasingArgs -pipe

#define ConfigDir %_datadir/X11/config

#define X11ProjectRoot %prefix
#define ProjectRoot %prefix
#define XBinDir %_bindir
#define BinDir %_bindir
#define XUsrLibDirPath %_libdir
#define UsrLibDir %_libdir
#define LibDir %_datadir/X11
#define IncRoot %_includedir
#define ManDirectoryRoot %_mandir
#define AdmDir %_logdir
#define LbxproxyDir %_sysconfdir/X11/lbxproxy
#define ProxyManagerDir %_sysconfdir/X11/proxymngr
#define ServerConfigDir %_sysconfdir/X11/xserver
#define XdmDir %_sysconfdir/X11/xdm
#define XConfigDir %_sysconfdir/X11
#define XinitDir %_sysconfdir/X11/xinit
#define EtcX11Directory %_sysconfdir/X11
#define XAppLoadDir %_sysconfdir/X11/app-defaults
#define XPrintDir %_sysconfdir/X11/xprint
#define DefaultRGBDatabase %_datadir/X11/rgb
#define DefaultFSConfigFile %_sysconfdir/X11/fs/config
#define FontDir %_datadir/X11/fonts

#define XOrgNameString ALTLinux X.Org Maintainer Team

#define XOrgWebSupportAddress https://bugzilla.altlinux.org
#define BuilderEMailAddr "xorg at packages.altlinux.org"

#define BuildHtmlManPages       NO

#define ManSuffix 1
#define LibManSuffix 3
#define DriverManSuffix 4
#define FileManSuffix 5
#define MiscManSuffix 7

EOF

%install
%make DESTDIR=%buildroot install

# XXX repocop suxx

mkdir -p %buildroot%_libdir/%name
for f in host.def linux.cf sgi.cf; do
 mv %buildroot%_datadir/X11/config/$f %buildroot%_libdir/%name/;
 ln -s `relative %buildroot%_libdir/%name/$f %buildroot%_datadir/X11/config/$f` %buildroot%_datadir/X11/config/$f
done

%files
%_datadir/X11/config
%_libdir/%name/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009