Peter Hutterer 2890ef6
%global tarball libX11
Peter Hutterer 8104634
#global gitdate 20130524
Peter Hutterer 2890ef6
%global gitversion a3bdd2b09
7fbd223
paragn 3ebc591
Summary: Core X11 protocol client library
mharris 532b9a3
Name: libX11
Peter Hutterer 5bb4724
Version: 1.6.8
Peter Hutterer 5bb4724
Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
4c5fd07
License: MIT
mharris 17165e7
URL: http://www.x.org
mharris 4a14ff4
Peter Hutterer 2890ef6
%if 0%{?gitdate}
Peter Hutterer 2890ef6
Source0:    %{tarball}-%{gitdate}.tar.bz2
Peter Hutterer 2890ef6
Source1:    make-git-snapshot.sh
Peter Hutterer 2890ef6
Source2:    commitid
Peter Hutterer 2890ef6
%else
c22400e
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
Peter Hutterer 2890ef6
%endif
mharris 4a14ff4
sandmann 0df6210
Patch2: dont-forward-keycode-0.patch
Peter Hutterer fa446d4
Peter Hutterer 7cae5b4
BuildRequires: xorg-x11-util-macros >= 1.11
ced3471
BuildRequires: pkgconfig(xproto) >= 7.0.15
3786b2a
BuildRequires: xorg-x11-xtrans-devel >= 1.0.3-4
9088a9b
BuildRequires: libxcb-devel >= 1.2
9ec9a2b
BuildRequires: pkgconfig(xau) pkgconfig(xdmcp)
Peter Hutterer 3e7e870
BuildRequires: perl(Pod::Usage)
mharris 17165e7
c36b847
Requires: %{name}-common >= %{version}-%{release}
3f3de5e
mharris 17165e7
%description
paragn 3ebc591
Core X11 protocol client library.
mharris 17165e7
461c9c8
%package common
paragn 3ebc591
Summary: Common data for libX11
461c9c8
BuildArch: noarch
461c9c8
461c9c8
%description common
a30e4f3
libX11 common data
461c9c8
mharris 17165e7
%package devel
paragn 3ebc591
Summary: Development files for %{name}
mharris f2856f3
Requires: %{name} = %{version}-%{release}
b6693a0
Requires: %{name}-xcb = %{version}-%{release}
mharris f2856f3
mharris 17165e7
%description devel
mharris ccc67e3
X.Org X11 libX11 development package
mharris 17165e7
b6693a0
%package xcb
b6693a0
Summary: XCB interop for libX11
b6693a0
Conflicts: %{name} < %{version}-%{release}
b6693a0
b6693a0
%description xcb
b6693a0
libX11/libxcb interoperability library
b6693a0
mharris 17165e7
%prep
Peter Hutterer 2890ef6
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
sandmann 0df6210
%patch2 -p1 -b .dont-forward-keycode-0
mharris 17165e7
mharris 17165e7
%build
Peter Hutterer 5d08bf3
autoreconf -v --install --force
Rex Dieter 5257e43
%configure --disable-silent-rules --disable-static
mharris cdd6002
mharris 779a441
make %{?_smp_mflags}
mharris 17165e7
mharris 17165e7
%install
paragn 3ebc591
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
mharris 17165e7
Rex Dieter 5257e43
# create/own compose cache dir
Rex Dieter 5257e43
mkdir -p $RPM_BUILD_ROOT/var/cache/libX11/compose
Rex Dieter 5257e43
mharris 17165e7
# We intentionally don't ship *.la files
a77b5de
find $RPM_BUILD_ROOT -type f -name '*.la' -delete
mharris cdd6002
mharris 76a59c4
# FIXME: Don't install Xcms.txt - find out why upstream still ships this.
a77b5de
find $RPM_BUILD_ROOT -name 'Xcms.txt' -delete
mharris 17165e7
9ec9a2b
# FIXME package these properly
9ec9a2b
rm -rf $RPM_BUILD_ROOT%{_docdir}
9ec9a2b
Peter Hutterer ff2b363
%check
Peter Hutterer ff2b363
make %{?_smp_mflags} check
Peter Hutterer ff2b363
0eb7353
%ldconfig_post
0eb7353
%ldconfig_postun
mharris 17165e7
mharris 17165e7
%files
461c9c8
%{_libdir}/libX11.so.6
b229a10
%{_libdir}/libX11.so.6.3.0
b6693a0
b6693a0
%files xcb
461c9c8
%{_libdir}/libX11-xcb.so.1
461c9c8
%{_libdir}/libX11-xcb.so.1.0.0
461c9c8
461c9c8
%files common
Peter Hutterer 5bb4724
%doc AUTHORS COPYING README.md NEWS
daa676b
%{_datadir}/X11/locale/
mharris 17165e7
%{_datadir}/X11/XErrorDB
Rex Dieter 5257e43
%dir /var/cache/libX11
Rex Dieter 5257e43
%dir /var/cache/libX11/compose
mharris 17165e7
mharris 17165e7
%files devel
mharris 17165e7
%{_includedir}/X11/ImUtil.h
mharris 17165e7
%{_includedir}/X11/XKBlib.h
mharris 17165e7
%{_includedir}/X11/Xcms.h
mharris 17165e7
%{_includedir}/X11/Xlib.h
mharris 17165e7
%{_includedir}/X11/XlibConf.h
mharris 17165e7
%{_includedir}/X11/Xlibint.h
0b657aa
%{_includedir}/X11/Xlib-xcb.h
mharris 17165e7
%{_includedir}/X11/Xlocale.h
mharris 17165e7
%{_includedir}/X11/Xregion.h
mharris 17165e7
%{_includedir}/X11/Xresource.h
mharris 17165e7
%{_includedir}/X11/Xutil.h
mharris 17165e7
%{_includedir}/X11/cursorfont.h
mharris 17165e7
%{_libdir}/libX11.so
0b657aa
%{_libdir}/libX11-xcb.so
mharris 17165e7
%{_libdir}/pkgconfig/x11.pc
0b657aa
%{_libdir}/pkgconfig/x11-xcb.pc
0b657aa
%{_mandir}/man3/*.3*
b45694d
%{_mandir}/man5/*.5*
mharris 17165e7
mharris 17165e7
%changelog
Peter Hutterer 5bb4724
* Thu Jun 20 2019 Peter Hutterer <peter.hutterer@redhat.com> 1.6.8-1
Peter Hutterer 5bb4724
- libX11 1.6.8
Peter Hutterer 5bb4724
534e8d6
* Thu Mar 21 2019 Adam Jackson <ajax@redhat.com> - 1.6.7-3
534e8d6
- Rebuild for xtrans 1.4.0
534e8d6
dba44e1
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.7-2
dba44e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
dba44e1
8ec5545
* Tue Oct 09 2018 Adam Jackson <ajax@redhat.com> - 1.6.7-1
8ec5545
- libX11 1.6.7
8ec5545
f224813
* Tue Aug 21 2018 Adam Jackson <ajax@redhat.com> - 1.6.6-1
f224813
- libX11 1.6.6
f224813
fd5deaf
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.5-9
fd5deaf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
fd5deaf
0eb7353
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 1.6.5-8
0eb7353
- Use ldconfig scriptlet macros
0eb7353
Peter Hutterer f9ed500
* Fri Mar 23 2018 Peter Hutterer <peter.hutterer@redhat.com> 1.6.5-7
Peter Hutterer f9ed500
- Fix FTBS caused by fake size in the XimCacheStruct (#1556616)
Peter Hutterer f9ed500
627e6d7
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.5-6
627e6d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
627e6d7
Peter Hutterer ff2b363
* Tue Oct 17 2017 Peter Hutterer <peter.hutterer@redhat.com> 1.6.5-5
Peter Hutterer ff2b363
- run make check as part of the build (#1502658)
Peter Hutterer ff2b363
b6693a0
* Tue Aug 01 2017 Adam Jackson <ajax@redhat.com> - 1.6.5-4
b6693a0
- Split libX11-xcb to its own subpackage. This doesn't have much effect at
b6693a0
  the moment because x11-xcb.pc still lists both libX11 and libxcb in
b6693a0
  Requires, but once that's fixed eg. libEGL should be able to be installed
b6693a0
  without libX11.
b6693a0
03c99bc
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.5-3
03c99bc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
03c99bc
f8cbb31
* Fri May 12 2017 Hans de Goede <hdegoede@redhat.com> - 1.6.5-2
f8cbb31
- Rebuild against new xproto to pick up support for new keysyms
f8cbb31
c22400e
* Wed Apr 26 2017 Adam Jackson <ajax@redhat.com> - 1.6.5-1
c22400e
- libX11 1.6.5
c22400e
Rex Dieter 5257e43
* Thu Feb 16 2017 Rex Dieter <rdieter@fedoraproject.org> - 1.6.4-6
Rex Dieter 5257e43
- create/own /var/cache/libx11/compose (#962764)
Rex Dieter 5257e43
- %%build: --disable-silent-rules
Rex Dieter 5257e43
1019ae7
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4-5
1019ae7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1019ae7
Peter Hutterer a2c5de2
* Fri Jan 20 2017 Peter Hutterer <peter.hutterer@redhat.com> 1.6.4-4
Peter Hutterer a2c5de2
- Actually apply the patch from 1.6.4-3
Peter Hutterer a2c5de2
Peter Hutterer 4500ea9
* Mon Jan 09 2017 Peter Hutterer <peter.hutterer@redhat.com> 1.6.4-3
Peter Hutterer 4500ea9
- Fix a bug in the memory leak fix from 1.6.4-2
Peter Hutterer 4500ea9
Peter Hutterer fa446d4
* Thu Jan 05 2017 Peter Hutterer <peter.hutterer@redhat.com> 1.6.4-2
Peter Hutterer fa446d4
- Plug a memory leak in XListFonts()
Peter Hutterer fa446d4
6a33092
* Wed Oct 05 2016 Adam Jackson <ajax@redhat.com> - 1.6.4-1
6a33092
- libX11 1.6.4
6a33092
3e7489c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-3
3e7489c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3e7489c
Peter Hutterer a26d511
* Thu Jan 28 2016 Peter Hutterer <peter.hutterer@redhat.com>
Peter Hutterer a26d511
- Remove unnecessary defattr
Peter Hutterer a26d511
0d0961e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.3-2
0d0961e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0d0961e
0635bb7
* Tue Mar 10 2015 Adam Jackson <ajax@redhat.com> 1.6.3-1
0635bb7
- libX11 1.6.3
0635bb7
7b73f40
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-2
7b73f40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
7b73f40
c36b847
* Mon Jun 30 2014 Adam Jackson <ajax@redhat.com> 1.6.2-1
c36b847
- libX11 1.6.2 plus a fix for interleaved xcb/xlib usage
c36b847
- Use >= for the -common Requires
c36b847
1f3c151
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-2
1f3c151
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1f3c151
Peter Hutterer dccb24e
* Tue Jul 30 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.6.1-1
Peter Hutterer dccb24e
- libX11 1.6.1
Peter Hutterer dccb24e
Peter Hutterer 9e6de17
* Tue Jun 04 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.6.0-1
Peter Hutterer 9e6de17
- libX11 1.6.0