Blame SPECS/libXt.spec

eefebd
%global tarball libXt
eefebd
#global gitdate 20130524
eefebd
%global gitversion 1f4802b74
eefebd
eefebd
Summary: X.Org X11 libXt runtime library
eefebd
Name: libXt
eefebd
Version: 1.1.4
405ba3
Release: 6.1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
eefebd
License: MIT
eefebd
Group: System Environment/Libraries
eefebd
URL: http://www.x.org
eefebd
eefebd
%if 0%{?gitdate}
eefebd
Source0:    %{tarball}-%{gitdate}.tar.bz2
eefebd
Source1:    make-git-snapshot.sh
eefebd
Source2:    commitid
eefebd
%else
eefebd
Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
eefebd
%endif
eefebd
eefebd
Requires: libX11 >= 1.5.99.902
eefebd
eefebd
BuildRequires: xorg-x11-util-macros
eefebd
BuildRequires: autoconf automake libtool
eefebd
BuildRequires: pkgconfig(xproto) pkgconfig(x11) pkgconfig(sm)
eefebd
BUildRequires: libX11-devel >= 1.5.99.902
eefebd
eefebd
%description
eefebd
X.Org X11 libXt runtime library
eefebd
eefebd
%package devel
eefebd
Summary: X.Org X11 libXt development package
eefebd
Group: Development/Libraries
eefebd
Requires: %{name} = %{version}-%{release}
eefebd
eefebd
%description devel
eefebd
X.Org X11 libXt development package
eefebd
eefebd
%prep
eefebd
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
eefebd
eefebd
%build
eefebd
autoreconf -v --install --force
eefebd
# FIXME: Work around pointer aliasing warnings from compiler for now
eefebd
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
eefebd
%configure --disable-static \
eefebd
  --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"
eefebd
eefebd
make %{?_smp_mflags}
eefebd
eefebd
%install
eefebd
rm -rf $RPM_BUILD_ROOT
eefebd
eefebd
make install DESTDIR=$RPM_BUILD_ROOT
eefebd
mkdir -p -m 0755 $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults
eefebd
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
eefebd
eefebd
%clean
eefebd
rm -rf $RPM_BUILD_ROOT
eefebd
eefebd
%post -p /sbin/ldconfig
eefebd
%postun -p /sbin/ldconfig
eefebd
eefebd
%files
eefebd
%defattr(-,root,root,-)
eefebd
%doc COPYING
eefebd
%{_libdir}/libXt.so.6
eefebd
%{_libdir}/libXt.so.6.0.0
eefebd
%dir %{_datadir}/X11/app-defaults
eefebd
eefebd
%files devel
eefebd
%defattr(-,root,root,-)
eefebd
%{_datadir}/doc/%{name}
eefebd
%{_includedir}/X11/CallbackI.h
eefebd
%{_includedir}/X11/Composite.h
eefebd
%{_includedir}/X11/CompositeP.h
eefebd
%{_includedir}/X11/ConstrainP.h
eefebd
%{_includedir}/X11/Constraint.h
eefebd
%{_includedir}/X11/ConvertI.h
eefebd
%{_includedir}/X11/Core.h
eefebd
%{_includedir}/X11/CoreP.h
eefebd
%{_includedir}/X11/CreateI.h
eefebd
%{_includedir}/X11/EventI.h
eefebd
%{_includedir}/X11/HookObjI.h
eefebd
%{_includedir}/X11/InitialI.h
eefebd
%{_includedir}/X11/Intrinsic.h
eefebd
%{_includedir}/X11/IntrinsicI.h
eefebd
%{_includedir}/X11/IntrinsicP.h
eefebd
%{_includedir}/X11/Object.h
eefebd
%{_includedir}/X11/ObjectP.h
eefebd
%{_includedir}/X11/PassivGraI.h
eefebd
%{_includedir}/X11/RectObj.h
eefebd
%{_includedir}/X11/RectObjP.h
eefebd
%{_includedir}/X11/ResConfigP.h
eefebd
%{_includedir}/X11/ResourceI.h
eefebd
%{_includedir}/X11/SelectionI.h
eefebd
%{_includedir}/X11/Shell.h
eefebd
%{_includedir}/X11/ShellI.h
eefebd
%{_includedir}/X11/ShellP.h
eefebd
%{_includedir}/X11/StringDefs.h
eefebd
%{_includedir}/X11/ThreadsI.h
eefebd
%{_includedir}/X11/TranslateI.h
eefebd
%{_includedir}/X11/VarargsI.h
eefebd
%{_includedir}/X11/Vendor.h
eefebd
%{_includedir}/X11/VendorP.h
eefebd
%{_includedir}/X11/Xtos.h
eefebd
%{_libdir}/libXt.so
eefebd
%{_libdir}/pkgconfig/xt.pc
eefebd
%{_mandir}/man3/*.3*
eefebd
eefebd
%changelog
405ba3
* Wed Feb 12 2014 Adam Jackson <ajax@redhat.com> 1.1.4-6.1
405ba3
- Mass rebuild
405ba3
405ba3
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.1.4-6
405ba3
- Mass rebuild 2013-12-27
405ba3
eefebd
* Fri May 31 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.1.4-5
eefebd
- libXt 1.1.4
eefebd
eefebd
* Mon May 27 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.1.3-5.20130524git1f4802b74
eefebd
- Require libX11 1.6RC2 for _XEatDataWords
eefebd
eefebd
* Fri May 24 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.1.3-4.20130524git1f4802b74
eefebd
- Update to git snapshot to fix CVEs listed below:
eefebd
- CVE-2013-2002
eefebd
- CVE-2013-2005
eefebd
eefebd
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.1.3-3
eefebd
- autoreconf for aarch64
eefebd
eefebd
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-2
eefebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
eefebd
eefebd
* Thu Jul 26 2012 Adam Jackson <ajax@redhat.com> 1.1.3-1
eefebd
- libXt 1.1.3
eefebd
eefebd
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-3
eefebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
eefebd
eefebd
* Thu Mar 15 2012 Adam Jackson <ajax@redhat.com> 1.1.2-2
eefebd
- libXt-1.1.2-git.patch: Bugfix from git.
eefebd
eefebd
* Thu Mar 08 2012 Adam Jackson <ajax@redhat.com> 1.1.2-1
eefebd
- libXt 1.1.2
eefebd
eefebd
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
eefebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
eefebd
eefebd
* Thu Mar 10 2011 Adam Jackson <ajax@redhat.com> 1.1.1-1
eefebd
- libXt 1.1.1
eefebd
eefebd
* Mon Mar 07 2011 Adam Jackson <ajax@redhat.com> 1.1.0-1
eefebd
- libXt 1.1.0
eefebd
eefebd
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-2
eefebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
eefebd
eefebd
* Mon Nov 08 2010 Adam Jackson <ajax@redhat.com> 1.0.9-1
eefebd
- libXt 1.0.9
eefebd
eefebd
* Tue Oct 13 2009 Adam Jackson <ajax@redhat.com> 1.0.7-1
eefebd
- libXt 1.0.7
eefebd
eefebd
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-3
eefebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
eefebd
eefebd
* Thu Jul 23 2009 Adam Jackson <ajax@redhat.com> 1.0.6-2
eefebd
- Un-require xorg-x11-filesystem
eefebd
- Remove useless %%dir
eefebd
eefebd
* Thu Jul 02 2009 Adam Jackson <ajax@redhat.com> 1.0.6-1
eefebd
- libXt 1.0.6
eefebd
eefebd
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-2
eefebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
eefebd
eefebd
* Thu Sep 04 2008 Adam Jackson <ajax@redhat.com> 1.0.5-1
eefebd
- libXt 1.0.5
eefebd
eefebd
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.4-5
eefebd
- Autorebuild for GCC 4.3
eefebd
eefebd
* Tue Jan 15 2008 parag <paragn@fedoraproject.org> - 1.0.4-4
eefebd
- Merge-Review #226090
eefebd
- Removed XFree86-libs, xorg-x11-libs XFree86-devel, xorg-x11-devel as Obsoletes
eefebd
- Removed BR:pkgconfig
eefebd
- Removed zero-length README AUTHORS NEWS file
eefebd
eefebd
* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.4-3
eefebd
- Rebuild for build id
eefebd
eefebd
* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-2
eefebd
- Don't install INSTALL
eefebd
eefebd
* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.4-1.fc7
eefebd
- Update to 1.0.4
eefebd
eefebd
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.2-3.1.fc6
eefebd
- rebuild
eefebd
eefebd
* Tue Jul 11 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-3.fc6
eefebd
- Add the {_datadir}/X11/app-defaults directory to the file manifest, as
eefebd
  libXt is the canonical owner of the directory.  Discovered in (#198025).
eefebd
eefebd
* Wed Jun 28 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-2
eefebd
- Added libXt-1.0.2-libsm-fix.patch to remove libSM from the Requires: line
eefebd
  in the installed pkgconfig file.  Apps should link against libSM if they
eefebd
  need it, but we shouldn't force them to link against it if they don't.
eefebd
eefebd
* Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-1
eefebd
- Updated libXt to version 1.0.2 from X11R7.1
eefebd
eefebd
* Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
eefebd
- Added "Requires: xorg-x11-proto-devel" to devel package for xt.pc
eefebd
eefebd
* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
eefebd
- Added "BuildRequires: pkgconfig" for (#193503)
eefebd
- Replace "makeinstall" with "make install DESTDIR=..."
eefebd
- Remove package ownership of mandir/libdir/etc.
eefebd
eefebd
* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
eefebd
- Update to 1.0.1
eefebd
eefebd
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.2
eefebd
- bump again for double-long bug on ppc(64)
eefebd
eefebd
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.1
eefebd
- rebuilt for new gcc4.1 snapshot and glibc changes
eefebd
eefebd
* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
eefebd
- Bumped and rebuilt
eefebd
eefebd
* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
eefebd
- Updated libXt to version 1.0.0 from X11R7 RC4
eefebd
- Added makestrs and it's manpage to the devel subpackage.
eefebd
eefebd
* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-1
eefebd
- Updated libXt to version 0.99.3 from X11R7 RC3
eefebd
- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
eefebd
  that /usr/lib/X11 and /usr/include/X11 pre-exist.
eefebd
- Removed 'x' suffix from manpage directories to match RC3 upstream.
eefebd
eefebd
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
eefebd
- rebuilt
eefebd
eefebd
* Fri Dec 02 2005 Kristian Høgsberg <krh@redhat.com> 0.99.2-3
eefebd
- Use the default value from configure.ac for --with-xfile-search-path
eefebd
  except with %%{_datadir} instead of $(libdir), so Xt can search for
eefebd
  app-default files as usual.
eefebd
- Move the --with-xfile-search-path outside the with_static condition.
eefebd
eefebd
* Tue Nov 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
eefebd
- Invoke ./configure --with-xfile-search-path=%%{_datadir}/X11/app-defaults
eefebd
  to make sure Xt is looking in the right place for app-defaults files.
eefebd
eefebd
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
eefebd
- Updated libXt to version 0.99.2 from X11R7 RC2
eefebd
- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
eefebd
- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
eefebd
eefebd
* Wed Nov 02 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-3
eefebd
- Actually spell RPM_OPT_FLAGS correctly this time.
eefebd
eefebd
* Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
eefebd
- Build with -fno-strict-aliasing to work around possible pointer aliasing
eefebd
  issue
eefebd
eefebd
* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
eefebd
- Updated libXt to version 0.99.1 from X11R7 RC1
eefebd
- Updated file manifest to find manpages in 'man3x'
eefebd
eefebd
* Thu Oct 06 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-5
eefebd
- Added Requires: libX11-devel to libXt-devel subpackage, as Xt headers
eefebd
  include Xlib headers causing xterm and other things to fail to compile.
eefebd
eefebd
* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-4
eefebd
- Renamed package to remove xorg-x11 from the name due to unanimous decision
eefebd
  between developers.
eefebd
- Use Fedora Extras style BuildRoot tag.
eefebd
- Disable static library creation by default.
eefebd
- Add missing defattr to devel subpackage
eefebd
- Add missing documentation files to doc macro
eefebd
- Fix BuildRequires to use new style X library package names
eefebd
eefebd
* Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
eefebd
- Changed all virtual BuildRequires to the "xorg-x11-" prefixed non-virtual
eefebd
  package names, as we want xorg-x11 libs to explicitly build against
eefebd
  X.Org supplied libs, rather than "any implementation", which is what the
eefebd
  virtual provides is intended for.
eefebd
eefebd
* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
eefebd
- Renamed package to prepend "xorg-x11" to the name for consistency with
eefebd
  the rest of the X11R7 packages.
eefebd
- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
eefebd
  subpackage to ensure the devel package matches the installed shared libs.
eefebd
- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
eefebd
  allow applications to use implementation agnostic dependencies.
eefebd
- Added post/postun scripts which call ldconfig.
eefebd
- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
eefebd
  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
eefebd
eefebd
* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
eefebd
- Initial build.