408703
%global tarball libXt
408703
#global gitdate 20130524
408703
%global gitversion 1f4802b74
408703
408703
Summary: X.Org X11 libXt runtime library
408703
Name: libXt
408703
Version: 1.1.5
cf0dd1
Release: 12%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
408703
License: MIT
408703
URL: http://www.x.org
408703
408703
%if 0%{?gitdate}
408703
Source0:    %{tarball}-%{gitdate}.tar.bz2
408703
Source1:    make-git-snapshot.sh
408703
Source2:    commitid
408703
%else
408703
Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
408703
%endif
408703
cf0dd1
Patch1:  0001-no-need-to-check-XFree-arguments.patch
cf0dd1
Patch2:  0002-no-need-to-check-args-for-free.patch
cf0dd1
Patch3:  0003-resolv-shadows-a-global-declaration.patch
cf0dd1
Patch4:  0004-fix-build-when-XT_GEO_TATTLER-is-defined.patch
cf0dd1
Patch5:  0005-fix-bug-introduced-by.patch
cf0dd1
Patch6:  0006-Use-standard-size_t-type-in-the-casts-for-length-par.patch
cf0dd1
Patch7:  0007-Fix-leaks-detected-by-covscan.patch
cf0dd1
Patch8:  0008-dummy-fix-for-covscan.patch
cf0dd1
Patch9:  0009-Fix-covscan-complain.patch
cf0dd1
408703
Requires: libX11%{?_isa} >= 1.5.99.902
408703
408703
BuildRequires: xorg-x11-util-macros
408703
BuildRequires: autoconf automake libtool
408703
BuildRequires: pkgconfig(xproto) pkgconfig(x11) pkgconfig(sm)
408703
BUildRequires: libX11-devel >= 1.5.99.902
408703
408703
%description
408703
X.Org X11 libXt runtime library
408703
408703
%package devel
408703
Summary: X.Org X11 libXt development package
408703
Requires: %{name}%{?_isa} = %{version}-%{release}
408703
408703
%description devel
408703
X.Org X11 libXt development package
408703
408703
%prep
408703
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
cf0dd1
%patch1  -p1 -b .git_102ba41a668568d7e7e506b0ab9f064d1f2c4ec5
cf0dd1
%patch2  -p1 -b .git_12eda76f2c7ff5d43dd68d7ff0ebc29cf27e9897
cf0dd1
%patch3  -p1 -b .git_57c8b133bbcf38a9a1e345eabeeabe2a3e07c1c8
cf0dd1
%patch4  -p1 -b .git_fe32434ab1a6a85d222b15e730fed9a5d8a74a2d
cf0dd1
%patch5  -p1 -b .git_283db645c56a5aa55af1665c309182e492a3c863
cf0dd1
%patch6  -p1 -b .git_91c08f4d9cb915d5f7c3074db3e72ad15ec14c01
cf0dd1
%patch7  -p1 -b .git_bca67f981dd3bcf730ac3816836b66049dd09f33
cf0dd1
%patch8  -p1 -b .git_6a7584e0337bb5cfec7f786231597f46c6d5fb16
cf0dd1
%patch9  -p1 -b .git_ba4ec937680ee72f2fcd463752766340a4b3729d
408703
408703
%build
408703
autoreconf -v --install --force
408703
# FIXME: Work around pointer aliasing warnings from compiler for now
408703
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
408703
%configure --disable-static \
408703
  --with-xfile-search-path="%{_sysconfdir}/X11/%%L/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%l/%%T/\%%N%%C%%S:%{_sysconfdir}/X11/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%L/%%T/%%N%%S:%{_sysconfdir}/X\11/%%l/%%T/%%N%%S:%{_sysconfdir}/X11/%%T/%%N%%S:%{_datadir}/X11/%%L/%%T/%%N%%C%%S:%{_datadir}/X1\1/%%l/%%T/%%N%%C%%S:%{_datadir}/X11/%%T/%%N%%C%%S:%{_datadir}/X11/%%L/%%T/%%N%%S:%{_datadir}/X11/%%\l/%%T/%%N%%S:%{_datadir}/X11/%%T/%%N%%S"
408703
408703
V=1 make %{?_smp_mflags}
408703
408703
%install
408703
rm -rf $RPM_BUILD_ROOT
408703
408703
make install DESTDIR=$RPM_BUILD_ROOT
408703
mkdir -p -m 0755 $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults
408703
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
408703
408703
# adding to installed docs in order to avoid using %%doc magic
408703
cp -p COPYING ${RPM_BUILD_ROOT}%{_datadir}/doc/%{name}/COPYING
408703
408703
%ldconfig_post
408703
%ldconfig_postun
408703
408703
%files
408703
%{_libdir}/libXt.so.6
408703
%{_libdir}/libXt.so.6.0.0
408703
%dir %{_datadir}/X11/app-defaults
408703
# not using %%doc because of side-effect (#1001246)
408703
%dir %{_docdir}/%{name}
408703
%{_docdir}/%{name}/COPYING
408703
408703
%files devel
408703
%{_docdir}/%{name}/*.xml
408703
%{_includedir}/X11/CallbackI.h
408703
%{_includedir}/X11/Composite.h
408703
%{_includedir}/X11/CompositeP.h
408703
%{_includedir}/X11/ConstrainP.h
408703
%{_includedir}/X11/Constraint.h
408703
%{_includedir}/X11/ConvertI.h
408703
%{_includedir}/X11/Core.h
408703
%{_includedir}/X11/CoreP.h
408703
%{_includedir}/X11/CreateI.h
408703
%{_includedir}/X11/EventI.h
408703
%{_includedir}/X11/HookObjI.h
408703
%{_includedir}/X11/InitialI.h
408703
%{_includedir}/X11/Intrinsic.h
408703
%{_includedir}/X11/IntrinsicI.h
408703
%{_includedir}/X11/IntrinsicP.h
408703
%{_includedir}/X11/Object.h
408703
%{_includedir}/X11/ObjectP.h
408703
%{_includedir}/X11/PassivGraI.h
408703
%{_includedir}/X11/RectObj.h
408703
%{_includedir}/X11/RectObjP.h
408703
%{_includedir}/X11/ResConfigP.h
408703
%{_includedir}/X11/ResourceI.h
408703
%{_includedir}/X11/SelectionI.h
408703
%{_includedir}/X11/Shell.h
408703
%{_includedir}/X11/ShellI.h
408703
%{_includedir}/X11/ShellP.h
408703
%{_includedir}/X11/StringDefs.h
408703
%{_includedir}/X11/ThreadsI.h
408703
%{_includedir}/X11/TranslateI.h
408703
%{_includedir}/X11/VarargsI.h
408703
%{_includedir}/X11/Vendor.h
408703
%{_includedir}/X11/VendorP.h
408703
%{_includedir}/X11/Xtos.h
408703
%{_libdir}/libXt.so
408703
%{_libdir}/pkgconfig/xt.pc
408703
%{_mandir}/man3/*.3*
408703
408703
%changelog
cf0dd1
* Tue Jun  4 2019 Olivier Fourdan <ofourdan@redhat.com> - 1.1.5-12
cf0dd1
- Bump version for gating
cf0dd1
cf0dd1
* Fri Apr 12 2019 Benjamin Tissoires - 1.1.5-11
cf0dd1
- add covscan fixes
cf0dd1
cf0dd1
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-10
cf0dd1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
cf0dd1
cf0dd1
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-9
cf0dd1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
cf0dd1
408703
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 1.1.5-8
408703
- Use ldconfig scriptlet macros
408703
408703
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-7
408703
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
408703
408703
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-6
408703
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
408703
408703
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-5
408703
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
408703
408703
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-4
408703
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
408703
408703
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-3
408703
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
408703
408703
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.5-2
408703
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
408703
408703
* Fri May 01 2015 Adam Jackson <ajax@redhat.com> 1.1.5-1
408703
- libXt 1.1.5
408703
408703
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-10
408703
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
408703
408703
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-9
408703
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
408703
408703
* Fri Dec 13 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 1.1.4-8
408703
- Fix duplicate documentation (#1001246) by not using %%doc
408703
- Turn on verbose build output via V=1 make
408703
- Remove %%defattr
408703
- Use %%?_isa in explicit package deps
408703
408703
* Wed Oct 02 2013 Adam Jackson <ajax@redhat.com> 1.1.4-7
408703
- Exclude docs from main package
408703
408703
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-6
408703
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
408703
408703
* Fri May 31 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.1.4-5
408703
- libXt 1.1.4
408703
408703
* Mon May 27 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.1.3-5.20130524git1f4802b74
408703
- Require libX11 1.6RC2 for _XEatDataWords
408703
408703
* Fri May 24 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.1.3-4.20130524git1f4802b74
408703
- Update to git snapshot to fix CVEs listed below:
408703
- CVE-2013-2002
408703
- CVE-2013-2005
408703
408703
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.1.3-3
408703
- autoreconf for aarch64
408703
408703
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-2
408703
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
408703
408703
* Thu Jul 26 2012 Adam Jackson <ajax@redhat.com> 1.1.3-1
408703
- libXt 1.1.3
408703
408703
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-3
408703
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
408703
408703
* Thu Mar 15 2012 Adam Jackson <ajax@redhat.com> 1.1.2-2
408703
- libXt-1.1.2-git.patch: Bugfix from git.
408703
408703
* Thu Mar 08 2012 Adam Jackson <ajax@redhat.com> 1.1.2-1
408703
- libXt 1.1.2
408703
408703
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
408703
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
408703
408703
* Thu Mar 10 2011 Adam Jackson <ajax@redhat.com> 1.1.1-1
408703
- libXt 1.1.1
408703
408703
* Mon Mar 07 2011 Adam Jackson <ajax@redhat.com> 1.1.0-1
408703
- libXt 1.1.0
408703
408703
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-2
408703
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
408703
408703
* Mon Nov 08 2010 Adam Jackson <ajax@redhat.com> 1.0.9-1
408703
- libXt 1.0.9
408703
408703
* Tue Oct 13 2009 Adam Jackson <ajax@redhat.com> 1.0.7-1
408703
- libXt 1.0.7
408703
408703
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-3
408703
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
408703
408703
* Thu Jul 23 2009 Adam Jackson <ajax@redhat.com> 1.0.6-2
408703
- Un-require xorg-x11-filesystem
408703
- Remove useless %%dir
408703
408703
* Thu Jul 02 2009 Adam Jackson <ajax@redhat.com> 1.0.6-1
408703
- libXt 1.0.6
408703
408703
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-2
408703
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
408703
408703
* Thu Sep 04 2008 Adam Jackson <ajax@redhat.com> 1.0.5-1
408703
- libXt 1.0.5
408703
408703
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.4-5
408703
- Autorebuild for GCC 4.3
408703
408703
* Tue Jan 15 2008 parag <paragn@fedoraproject.org> - 1.0.4-4
408703
- Merge-Review #226090
408703
- Removed XFree86-libs, xorg-x11-libs XFree86-devel, xorg-x11-devel as Obsoletes
408703
- Removed BR:pkgconfig
408703
- Removed zero-length README AUTHORS NEWS file
408703
408703
* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.4-3
408703
- Rebuild for build id
408703
408703
* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-2
408703
- Don't install INSTALL
408703
408703
* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.4-1.fc7
408703
- Update to 1.0.4
408703
408703
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.2-3.1.fc6
408703
- rebuild
408703
408703
* Tue Jul 11 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-3.fc6
408703
- Add the {_datadir}/X11/app-defaults directory to the file manifest, as
408703
  libXt is the canonical owner of the directory.  Discovered in (#198025).
408703
408703
* Wed Jun 28 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-2
408703
- Added libXt-1.0.2-libsm-fix.patch to remove libSM from the Requires: line
408703
  in the installed pkgconfig file.  Apps should link against libSM if they
408703
  need it, but we shouldn't force them to link against it if they don't.
408703
408703
* Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-1
408703
- Updated libXt to version 1.0.2 from X11R7.1
408703
408703
* Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
408703
- Added "Requires: xorg-x11-proto-devel" to devel package for xt.pc
408703
408703
* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
408703
- Added "BuildRequires: pkgconfig" for (#193503)
408703
- Replace "makeinstall" with "make install DESTDIR=..."
408703
- Remove package ownership of mandir/libdir/etc.
408703
408703
* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
408703
- Update to 1.0.1
408703
408703
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.2
408703
- bump again for double-long bug on ppc(64)
408703
408703
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.1
408703
- rebuilt for new gcc4.1 snapshot and glibc changes
408703
408703
* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
408703
- Bumped and rebuilt
408703
408703
* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
408703
- Updated libXt to version 1.0.0 from X11R7 RC4
408703
- Added makestrs and it's manpage to the devel subpackage.
408703
408703
* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-1
408703
- Updated libXt to version 0.99.3 from X11R7 RC3
408703
- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
408703
  that /usr/lib/X11 and /usr/include/X11 pre-exist.
408703
- Removed 'x' suffix from manpage directories to match RC3 upstream.
408703
408703
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
408703
- rebuilt
408703
408703
* Fri Dec 02 2005 Kristian Høgsberg <krh@redhat.com> 0.99.2-3
408703
- Use the default value from configure.ac for --with-xfile-search-path
408703
  except with %%{_datadir} instead of $(libdir), so Xt can search for
408703
  app-default files as usual.
408703
- Move the --with-xfile-search-path outside the with_static condition.
408703
408703
* Tue Nov 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
408703
- Invoke ./configure --with-xfile-search-path=%%{_datadir}/X11/app-defaults
408703
  to make sure Xt is looking in the right place for app-defaults files.
408703
408703
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
408703
- Updated libXt to version 0.99.2 from X11R7 RC2
408703
- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
408703
- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
408703
408703
* Wed Nov 02 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-3
408703
- Actually spell RPM_OPT_FLAGS correctly this time.
408703
408703
* Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
408703
- Build with -fno-strict-aliasing to work around possible pointer aliasing
408703
  issue
408703
408703
* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
408703
- Updated libXt to version 0.99.1 from X11R7 RC1
408703
- Updated file manifest to find manpages in 'man3x'
408703
408703
* Thu Oct 06 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-5
408703
- Added Requires: libX11-devel to libXt-devel subpackage, as Xt headers
408703
  include Xlib headers causing xterm and other things to fail to compile.
408703
408703
* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-4
408703
- Renamed package to remove xorg-x11 from the name due to unanimous decision
408703
  between developers.
408703
- Use Fedora Extras style BuildRoot tag.
408703
- Disable static library creation by default.
408703
- Add missing defattr to devel subpackage
408703
- Add missing documentation files to doc macro
408703
- Fix BuildRequires to use new style X library package names
408703
408703
* Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
408703
- Changed all virtual BuildRequires to the "xorg-x11-" prefixed non-virtual
408703
  package names, as we want xorg-x11 libs to explicitly build against
408703
  X.Org supplied libs, rather than "any implementation", which is what the
408703
  virtual provides is intended for.
408703
408703
* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
408703
- Renamed package to prepend "xorg-x11" to the name for consistency with
408703
  the rest of the X11R7 packages.
408703
- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
408703
  subpackage to ensure the devel package matches the installed shared libs.
408703
- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
408703
  allow applications to use implementation agnostic dependencies.
408703
- Added post/postun scripts which call ldconfig.
408703
- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
408703
  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
408703
408703
* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
408703
- Initial build.