mharris 17165e
Summary: X.Org X11 libX11 runtime library
mharris 532b9a
Name: libX11
daa676
Version: 1.1.4
daa676
Release: 1%{?dist}
mharris 17165e
License: MIT/X11
mharris 17165e
Group: System Environment/Libraries
mharris 17165e
URL: http://www.x.org
mharris 532b9a
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
mharris 4a14ff
daa676
Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
mharris 4a14ff
mharris cdd600
Patch0: libX11-0.99.3-datadir-locale-dir-fix.patch
mharris db2efb
# FIXME: https://bugs.freedesktop.org/show_bug.cgi?id=3646 seems to indicate
mharris db2efb
# this patch is now committed upstream.  When libX11-1.0.4 is released,
mharris db2efb
# manually confirm each patch hunk before removal.
sandmann 0df621
Patch2: dont-forward-keycode-0.patch
mharris 17165e
mharris 76a59c
BuildRequires: pkgconfig
mharris 41e39a
# xproto >= 7.0.6 required
mharris 41e39a
BuildRequires: xorg-x11-proto-devel >= 7.1-2
3786b2
BuildRequires: xorg-x11-xtrans-devel >= 1.0.3-4
0b657a
BuildRequires: libxcb-devel
mharris 17165e
BuildRequires: libXau-devel
mharris 17165e
BuildRequires: libXdmcp-devel
mharris 17165e
mharris 4a14ff
Requires(pre): xorg-x11-filesystem >= 0.99.2-3
3f3de5
mharris f72efe
Obsoletes: XFree86-libs, xorg-x11-libs
mharris 17165e
mharris 17165e
%description
mharris 17165e
X.Org X11 libX11 runtime library
mharris 17165e
mharris 17165e
%package devel
mharris ccc67e
Summary: X.Org X11 libX11 development package
mharris 17165e
Group: Development/Libraries
mharris e2e3b1
Requires(pre): xorg-x11-filesystem >= 0.99.2-3
mharris f2856f
Requires: %{name} = %{version}-%{release}
mharris f2856f
mharris 41e39a
# xproto >= 7.0.6 required
mharris 41e39a
Requires: xorg-x11-proto-devel >= 7.1-2
958699
Requires: libXau-devel, libXdmcp-devel, libxcb-devel
Kristian Høgsberg 228894
Requires: pkgconfig
mharris 17165e
mharris f72efe
Obsoletes: XFree86-devel, xorg-x11-devel
mharris 17165e
mharris 17165e
%description devel
mharris ccc67e
X.Org X11 libX11 development package
mharris 17165e
mharris 17165e
%prep
mharris 532b9a
%setup -q
mharris 41e39a
# FIXME: We are keeping this around, as upstream has a tendency for random
mharris 41e39a
# people to revert fixes other people have applied, and have a 6-8 month tug
mharris 41e39a
# of war with these things.  It's easier to leave this here than to try and
mharris 41e39a
# find it later.
mharris 41e39a
#%patch0 -p0 -b .datadir-locale-dir-fix
sandmann 0df621
%patch2 -p1 -b .dont-forward-keycode-0
mharris 17165e
mharris 17165e
%build
mharris 532b9a
%configure \
mharris cdd600
	--disable-dependency-tracking \
mharris 532b9a
	--disable-static
mharris cdd600
mharris 779a44
make %{?_smp_mflags}
mharris 17165e
mharris 17165e
%install
mharris 17165e
rm -rf $RPM_BUILD_ROOT
mharris 532b9a
mharris 779a44
make install DESTDIR=$RPM_BUILD_ROOT
mharris 17165e
mharris 17165e
# We intentionally don't ship *.la files
mharris cdd600
find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || :
mharris cdd600
mharris 76a59c
# FIXME: Don't install Xcms.txt - find out why upstream still ships this.
mharris cdd600
find $RPM_BUILD_ROOT -name 'Xcms.txt' -exec rm -f {} \;
mharris 17165e
mharris 17165e
%clean
mharris 17165e
rm -rf $RPM_BUILD_ROOT
mharris 17165e
mharris 17165e
%post -p /sbin/ldconfig
mharris 17165e
%postun -p /sbin/ldconfig
mharris 17165e
mharris 17165e
%files
mharris 17165e
%defattr(-,root,root,-)
e027b9
%doc AUTHORS COPYING README ChangeLog NEWS
mharris 17165e
%dir %{_datadir}/X11
daa676
%{_datadir}/X11/locale/
mharris 17165e
%{_datadir}/X11/XErrorDB
mharris 17165e
%{_datadir}/X11/XKeysymDB
mharris 17165e
%{_libdir}/libX11.so.6
mharris 17165e
%{_libdir}/libX11.so.6.2.0
0b657a
%{_libdir}/libX11-xcb.so.1
0b657a
%{_libdir}/libX11-xcb.so.1.0.0
mharris 17165e
mharris 17165e
%files devel
mharris 532b9a
%defattr(-,root,root,-)
mharris 17165e
%dir %{_includedir}/X11
mharris 17165e
%{_includedir}/X11/ImUtil.h
mharris 17165e
%{_includedir}/X11/XKBlib.h
mharris 17165e
%{_includedir}/X11/Xcms.h
mharris 17165e
%{_includedir}/X11/Xlib.h
mharris 17165e
%{_includedir}/X11/XlibConf.h
mharris 17165e
%{_includedir}/X11/Xlibint.h
0b657a
%{_includedir}/X11/Xlib-xcb.h
mharris 17165e
%{_includedir}/X11/Xlocale.h
mharris 17165e
%{_includedir}/X11/Xregion.h
mharris 17165e
%{_includedir}/X11/Xresource.h
mharris 17165e
%{_includedir}/X11/Xutil.h
mharris 17165e
%{_includedir}/X11/cursorfont.h
mharris 17165e
%{_libdir}/libX11.so
0b657a
%{_libdir}/libX11-xcb.so
mharris 17165e
%{_libdir}/pkgconfig/x11.pc
0b657a
%{_libdir}/pkgconfig/x11-xcb.pc
mharris f2856f
#%dir %{_mandir}/man3x
0b657a
%{_mandir}/man3/*.3*
mharris 17165e
mharris 17165e
%changelog
daa676
* Thu Mar 06 2008 Adam Jackson <ajax@redhat.com> 1.1.4-1
daa676
- libX11 1.1.4
daa676
cda2d2
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.3-5
cda2d2
- Autorebuild for GCC 4.3
cda2d2
Kristian Høgsberg c20ecc
* Fri Oct 19 2007 Kristian Høgsberg <krh@redhat.com> - 1.1.3-4
Kristian Høgsberg c20ecc
- Add patch from upstream to add keysyms for brightness buttons (#330491).
Kristian Høgsberg c20ecc
958699
* Tue Oct 16 2007 Adam Jackson <ajax@redhat.com> 1.1.3-3
958699
- libX11-devel Requires: libxcb-devel.
958699
d5325a
* Wed Oct 10 2007 Adam Jackson <ajax@redhat.com> 1.1.3-2
d5325a
- libX11-1.1.3-xkb-lock-fix.patch: Don't LockDisplay() recursively.  Fixes
d5325a
  Gnome hang at logout. (#326461)
d5325a
89dce4
* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.1.3-1
89dce4
- libX11 1.1.3
89dce4
3786b2
* Thu Sep 20 2007 Adam Jackson <ajax@redhat.com> 1.1.2-4
3786b2
- Update xtrans dep and rebuild.
3786b2
b8f706
* Mon Sep 17 2007 Adam Jackson <ajax@redhat.com> 1.1.2-3
b8f706
- libX11-1.1.2-GetMotionEvents.patch: Fix the definition of XGetMotionEvents
b8f706
  to match the argument order in the headers. (#274671)
b8f706
6f5009
* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.1.2-2
6f5009
- Rebuild for build id
6f5009
0b657a
* Mon Jul 23 2007 Adam Jackson <ajax@redhat.com> 1.1.2-1
0b657a
- libX11 1.1.2.
0b657a
- Enable XCB for libX11 transport.
0b657a
e027b9
* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.3-9
e027b9
- Don't install INSTALL
e027b9
505d73
* Fri Apr 06 2007 Adam Jackson <ajax@redhat.com> 1.0.3-8
505d73
- Fix for CVE 2007-1667.
505d73
5857eb
* Mon Jan 29 2007 Adam Jackson <ajax@redhat.com> 1.0.3-7
5857eb
- Fix xim fd leak.
5857eb
cchance cd0a25
* Thu Nov 09 2006 Caius Chance <cchance@redhat.com> 1.0.3-6.fc7
6f6f4a
- Fix XIM hangs when switching input context (Soren Sandmann, #201284)
cchance cd0a25
Kristian Høgsberg 228894
* Fri Oct 13 2006 Kristian Høgsberg <krh@redhat.com> 1.0.3-5.fc7
Kristian Høgsberg 228894
- Add pkgconfig dependency for -devel package.
Kristian Høgsberg 228894
sandmann 1b75bc
* Sat Sep 30 2006 Soren Sandmann <sandmann@redhat.com> 1.0.3-4.fc6
sandmann 68447c
- Fix patch so it actually applies. (#208508)
sandmann 68447c
sandmann 68447c
* Sat Sep 30 2006 Soren Sandmann <sandmann@redhat.com> 1.0.3-4.fc6
sandmann 1b75bc
- Fix typos in patch for indic locales (#208580)
sandmann 1b75bc
sandmann 0df621
* Wed Sep 20 2006 Soren Sandmann <sandmann@redhat.com> 1.0.3-3.fc6
sandmann 0df621
- Add patch to not forward keycode 0 (#194357).
sandmann 0df621
mharris db2efb
* Wed Jul 19 2006 Mike A. Harris <mharris@redhat.com> 1.0.3-2.fc6
mharris db2efb
- Added libX11-nls-indic-locales-bug185376.patch to add support for various
mharris db2efb
  indic locales which have now been committed upstream (#185376)
mharris db2efb
mharris db2efb
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.3-1.1.fc6
495561
- rebuild
495561
mharris 6b7814
* Mon Jul 10 2006 Mike A. Harris <mharris@redhat.com> 1.0.3-1.fc6
mharris 3a3e62
- Updated libX11 to version 1.0.3
mharris 3a3e62
- Remove libX11-1.0.1-setuid.diff as it is included in the 1.0.3 release.
mharris 3a3e62
- Added 'dist' tag to "Release:"
mharris 3a3e62
mharris 41e39a
* Wed Jun 28 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-1
mharris 41e39a
- Updated libX11 to version 1.0.2
mharris 41e39a
- Bump BuildRequires and Requires to "xorg-x11-proto-devel >= 7.1-2" to meet
mharris 41e39a
  new "xproto >= 7.0.6" dependency.
mharris 41e39a
- Disable libX11-0.99.3-datadir-locale-dir-fix.patch as it is now included
mharris 41e39a
  upstream.
mharris 41e39a
- Remove autoconf dependency as we no longer need it.
mharris 41e39a
mharris 4a14ff
* Tue Jun 20 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
mharris 4a14ff
- Added libX11-1.0.1-setuid.diff to fix potential security issue (#196094)
mharris 4a14ff
- Change dependency on "filesystem" package to "xorg-x11-filesystem" package,
mharris 4a14ff
  so we can control this dep centrally.
mharris 4a14ff
- Added NEWS to doc list.
mharris 4a14ff
mharris f2856f
* Wed Jun 07 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
mharris f2856f
- Remove package ownership of mandir/libdir/etc.
mharris f2856f
7b1265
* Fri May 12 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
7b1265
- Bump to 1.0.1
7b1265
mharris 4a14ff
* Thu Feb 23 2006 Christopher Aillon <caillon@redhat.com> 1.0.0-3
c7664a
- Look for the versioned libXcursor.so.1 (fixes 179044)
c7664a
mharris 4a14ff
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.2
f9101f
- bump again for double-long bug on ppc(64)
f9101f
mharris 4a14ff
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.1
3e98d2
- rebuilt for new gcc4.1 snapshot and glibc changes
3e98d2
mharris f4087a
* Sat Dec 24 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-2
mharris f4087a
- Added "Requires: libXau-devel, libXdmcp-devel" to -devel subpackage (#176313)
mharris f4087a
mharris e2e3b1
* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
mharris e2e3b1
- Updated libX11 to version 1.0.0 from X11R7 RC4
mharris e2e3b1
mharris e2e3b1
* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.4-1
mharris e2e3b1
- Updated libX11 to version 0.99.4 from X11R7 RC3
mharris e2e3b1
- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
mharris e2e3b1
  that /usr/lib/X11 and /usr/include/X11 pre-exist.
mharris e2e3b1
- Removed 'x' suffix from manpage directories to match RC3 upstream.
mharris e2e3b1
2a4267
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
2a4267
- rebuilt
2a4267
mharris cdd600
* Tue Nov 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-4
mharris cdd600
- Added libX11-0.99.3-datadir-locale-dir-fix.patch, to fix build to install
mharris af3f28
  the locale data files into datadir instead of libdir. (#173282)
mharris cdd600
mharris 4a14ff
* Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> 0.99.3-3
3f3de5
- require newer filesystem package (#172610)
3f3de5
mharris 779a44
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-2
mharris 779a44
- Moved _smp_mflags from 'make install' to 'make' invocation, duh.
mharris 779a44
mharris f72efe
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-1
mharris f72efe
- Updated libX11 to version 0.99.3 from X11R7 RC2
mharris f72efe
- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
mharris f72efe
- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
mharris f72efe
mharris 4a14ff
* Mon Nov 07 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
mharris ccc67e
- Fix devel subpackage summary and description with s/libXdmcp/libX11/
mharris ccc67e
mharris ccc67e
* Fri Oct 21 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
mharris 76a59c
- Updated to libX11-0.99.2 from the X11R7 RC1 release.
mharris 76a59c
- Added en_GR.UTF-8 locale to file manifest.
mharris 76a59c
- Forcibly remove Xcms.txt
mharris 76a59c
mharris 4a14ff
* Sun Oct 02 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-4
mharris eb0a76
- Added _smp_mflags to make invocation to speed up SMP builds
mharris eb0a76
mharris ccc67e
* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
mharris 532b9a
- Renamed package to remove xorg-x11 from the name due to unanimous decision
mharris 532b9a
  between developers.
mharris 532b9a
- Use Fedora Extras style BuildRoot tag.
mharris 532b9a
- Disable static library creation by default.
mharris 532b9a
- Add missing defattr to devel subpackage
mharris 532b9a
- Add missing documentation files to doc macro
mharris 532b9a
mharris 17165e
* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
mharris 17165e
- Renamed package to prepend "xorg-x11" to the name for consistency with
mharris 17165e
  the rest of the X11R7 packages.
mharris 17165e
- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
mharris 17165e
  subpackage to ensure the devel package matches the installed shared libs.
mharris 17165e
- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
mharris 17165e
  allow applications to use implementation agnostic dependencies.
mharris 17165e
- Added post/postun scripts which call ldconfig.
mharris 17165e
- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
mharris 17165e
  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
mharris 17165e
mharris 17165e
* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1.1
mharris 17165e
- Added Requires: xorg-x11-proto-devel to libX11-devel subpackage
mharris 17165e
mharris 17165e
* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
mharris 17165e
- Initial build.