Репозитории ALT
S: | 1.8.6-alt1 |
5.1: | 1.3.2-alt1 |
4.1: | 1.1.4-alt5.M41.1 |
4.0: | 1.1.2-alt3 |
Группа :: Система/Библиотеки
Пакет: libX11
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define xorgversion 7.3
%define xorgold xorg-x11
%define xf86 XFree86
%def_disable static
%def_disable ipv6
%def_disable loadable_i18n
%def_disable xlocaledir
%def_without xcb
Name: libX11
Version: 1.1.2
Release: alt3
Serial: 3
Summary: X11 Library
License: MIT/X11
Group: System/Libraries
Url: http://xorg.freedesktop.org
Source: %name-%version.tar.bz2
Patch0: libX11-1.0.99.2-alt-locale-ru_RU.utf8.patch
Patch1: libX11-0.99.3-alt-xls_locale_en_US.patch
Patch3: libX11-1.0.99.2-alt-i18n-cp866.patch
Patch4: libX11-1.0.3-alt-datadir.patch
Patch100: libX11-1.1.2-git-XGetMotionEvents-arg-order.patch
Patch101: libX11-1.1.2-git-XGetWindowAttributes.patch
Packager: XOrg Maintainer Team <xorg at packages.altlinux.org>
PreReq: filesystem > 2.3.1-alt1
Requires: %name-locales = %version-%release
BuildRequires: libXdmcp-devel libXau-devel pkg-config xorg-x11-xtrans-devel
BuildRequires: xorg-x11-util-macros
%if_with xcb
BuildRequires: libxcb-devel
%endif
%description
X11 Library
%package devel
Summary: X11 Libraries and Header Files
Group: Development/C
PreReq: xorg-x11-proto-devel
Requires: %name = %version-%release libXdmcp-devel libXau-devel
%if_with xcb
Requires: libxcb-devel
%endif
Conflicts: XFree86-devel < 4.4 xorg-x11-devel <= 6.9.0
%description devel
%name-devel contains the libraries and header files needed to
develop programs which make use of %name.
%package locales
Summary: Xorg locales
Group: System/Internationalization
Obsoletes: %xf86-locales %xorgold-locales
Provides: %xf86-locales = 4.4 %xorgold-locales = %xorgversion-%release
Conflicts: %name <= 1.1.1-alt2
%description locales
This package contains set of Xorg locales.
%prep
%setup -q
%patch0 -p0
%patch1 -p0
%patch3 -p1
%patch4 -p1
%patch100 -p1
%patch101 -p1
%build
%__autoreconf
%configure \
%{subst_enable ipv6} \
%{subst_enable static} \
%{subst_enable loadable_i18n} \
%{subst_enable xlocaledir} \
%{subst_with xcb}
%make_build
%install
%make DESTDIR=%buildroot install
%if_enabled loadable_i18n
%__rm -f %buildroot%_libdir/X11/locale/common/*.la
%endif
# ld.so.conf.d xorg-6.9 compatibility
%__mkdir_p %buildroot%_sysconfdir/ld.so.conf.d
echo "%_prefix/X11R6/%_lib" > %buildroot%_sysconfdir/ld.so.conf.d/xorg6.9-compat.conf
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%doc AUTHORS COPYING NEWS README
%_sysconfdir/ld.so.conf.d/xorg6.9-compat.conf
%_libdir/*.so.*
%if_enabled loadable_i18n
%_libdir/X11/locale
%endif
%dir %_datadir/X11
%_datadir/X11/X*
%files devel
%_includedir/X11/*
%_libdir/*.so
%_pkgconfigdir/*.pc
%_man3dir/*
%files locales
%_datadir/X11/locale
%changelog
…
Полный changelog можно просмотреть здесь
%define xorgold xorg-x11
%define xf86 XFree86
%def_disable static
%def_disable ipv6
%def_disable loadable_i18n
%def_disable xlocaledir
%def_without xcb
Name: libX11
Version: 1.1.2
Release: alt3
Serial: 3
Summary: X11 Library
License: MIT/X11
Group: System/Libraries
Url: http://xorg.freedesktop.org
Source: %name-%version.tar.bz2
Patch0: libX11-1.0.99.2-alt-locale-ru_RU.utf8.patch
Patch1: libX11-0.99.3-alt-xls_locale_en_US.patch
Patch3: libX11-1.0.99.2-alt-i18n-cp866.patch
Patch4: libX11-1.0.3-alt-datadir.patch
Patch100: libX11-1.1.2-git-XGetMotionEvents-arg-order.patch
Patch101: libX11-1.1.2-git-XGetWindowAttributes.patch
Packager: XOrg Maintainer Team <xorg at packages.altlinux.org>
PreReq: filesystem > 2.3.1-alt1
Requires: %name-locales = %version-%release
BuildRequires: libXdmcp-devel libXau-devel pkg-config xorg-x11-xtrans-devel
BuildRequires: xorg-x11-util-macros
%if_with xcb
BuildRequires: libxcb-devel
%endif
%description
X11 Library
%package devel
Summary: X11 Libraries and Header Files
Group: Development/C
PreReq: xorg-x11-proto-devel
Requires: %name = %version-%release libXdmcp-devel libXau-devel
%if_with xcb
Requires: libxcb-devel
%endif
Conflicts: XFree86-devel < 4.4 xorg-x11-devel <= 6.9.0
%description devel
%name-devel contains the libraries and header files needed to
develop programs which make use of %name.
%package locales
Summary: Xorg locales
Group: System/Internationalization
Obsoletes: %xf86-locales %xorgold-locales
Provides: %xf86-locales = 4.4 %xorgold-locales = %xorgversion-%release
Conflicts: %name <= 1.1.1-alt2
%description locales
This package contains set of Xorg locales.
%prep
%setup -q
%patch0 -p0
%patch1 -p0
%patch3 -p1
%patch4 -p1
%patch100 -p1
%patch101 -p1
%build
%__autoreconf
%configure \
%{subst_enable ipv6} \
%{subst_enable static} \
%{subst_enable loadable_i18n} \
%{subst_enable xlocaledir} \
%{subst_with xcb}
%make_build
%install
%make DESTDIR=%buildroot install
%if_enabled loadable_i18n
%__rm -f %buildroot%_libdir/X11/locale/common/*.la
%endif
# ld.so.conf.d xorg-6.9 compatibility
%__mkdir_p %buildroot%_sysconfdir/ld.so.conf.d
echo "%_prefix/X11R6/%_lib" > %buildroot%_sysconfdir/ld.so.conf.d/xorg6.9-compat.conf
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%doc AUTHORS COPYING NEWS README
%_sysconfdir/ld.so.conf.d/xorg6.9-compat.conf
%_libdir/*.so.*
%if_enabled loadable_i18n
%_libdir/X11/locale
%endif
%dir %_datadir/X11
%_datadir/X11/X*
%files devel
%_includedir/X11/*
%_libdir/*.so
%_pkgconfigdir/*.pc
%_man3dir/*
%files locales
%_datadir/X11/locale
%changelog
…
Полный changelog можно просмотреть здесь