d8b7c5
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
d8b7c5
d8b7c5
# NOTE: This package contains only C source and header files and pkg-config
d8b7c5
# *.pc files, and does not contain any ELF binaries or DSOs, so we disable
d8b7c5
# debuginfo generation.
d8b7c5
%global debug_package %{nil}
d8b7c5
d8b7c5
Summary: X.Org X11 developmental X transport library
d8b7c5
Name: xorg-x11-xtrans-devel
d8b7c5
Version: 1.4.0
d8b7c5
Release: 8%{?dist}
d8b7c5
License: MIT
d8b7c5
URL: http://www.x.org
d8b7c5
BuildArch: noarch
d8b7c5
d8b7c5
Source0: https://xorg.freedesktop.org/archive/individual/lib/xtrans-%{version}.tar.bz2
d8b7c5
d8b7c5
# Fedora specific patch
d8b7c5
Patch1: xtrans-1.0.3-avoid-gethostname.patch
d8b7c5
d8b7c5
BuildRequires: make
d8b7c5
BuildRequires: pkgconfig
d8b7c5
BuildRequires: xorg-x11-util-macros
d8b7c5
d8b7c5
%description
d8b7c5
X.Org X11 developmental X transport library
d8b7c5
d8b7c5
%prep
d8b7c5
%setup -q -n xtrans-%{version}
d8b7c5
%patch1 -p1 -b .my-name-is-unix
d8b7c5
d8b7c5
%build
d8b7c5
# yes, this looks horrible, but it's to get the .pc file in datadir
d8b7c5
%configure --libdir=%{_datadir} --disable-docs
d8b7c5
# Running 'make' not needed.
d8b7c5
d8b7c5
%install
d8b7c5
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
d8b7c5
d8b7c5
%files
d8b7c5
%doc AUTHORS COPYING ChangeLog README.md
d8b7c5
%dir %{_includedir}/X11
d8b7c5
%dir %{_includedir}/X11/Xtrans
d8b7c5
%{_includedir}/X11/Xtrans/Xtrans.c
d8b7c5
%{_includedir}/X11/Xtrans/Xtrans.h
d8b7c5
%{_includedir}/X11/Xtrans/Xtransint.h
d8b7c5
%{_includedir}/X11/Xtrans/Xtranslcl.c
d8b7c5
%{_includedir}/X11/Xtrans/Xtranssock.c
d8b7c5
%{_includedir}/X11/Xtrans/Xtransutil.c
d8b7c5
%{_includedir}/X11/Xtrans/transport.c
d8b7c5
%{_datadir}/aclocal/xtrans.m4
d8b7c5
%{_datadir}/pkgconfig/xtrans.pc
d8b7c5
d8b7c5
%changelog
d8b7c5
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.4.0-8
d8b7c5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
d8b7c5
  Related: rhbz#1991688
d8b7c5
d8b7c5
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.4.0-7
d8b7c5
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
d8b7c5
d8b7c5
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-6
d8b7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d8b7c5
d8b7c5
* Thu Nov  5 11:05:08 AEST 2020 Peter Hutterer <peter.hutterer@redhat.com> - 1.4.0-5
d8b7c5
- Add BuildRequires for make
d8b7c5
d8b7c5
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-4
d8b7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d8b7c5
d8b7c5
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
d8b7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
d8b7c5
d8b7c5
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
d8b7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d8b7c5
d8b7c5
* Thu Mar 21 2019 Adam Jackson <ajax@redhat.com> - 1.4.0-1
d8b7c5
- xtrans 1.4.0
d8b7c5
d8b7c5
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-8
d8b7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d8b7c5
d8b7c5
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-7
d8b7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d8b7c5
d8b7c5
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-6
d8b7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d8b7c5
d8b7c5
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-5
d8b7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d8b7c5
d8b7c5
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-4
d8b7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d8b7c5
d8b7c5
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-3
d8b7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d8b7c5
d8b7c5
* Wed Jan 20 2016 Peter Hutterer <peter.hutterer@redhat.com>
d8b7c5
- s/define/global/
d8b7c5
d8b7c5
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.5-2
d8b7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d8b7c5
d8b7c5
* Tue Sep 23 2014 Adam Jackson <ajax@redhat.com> 1.3.5-1
d8b7c5
- xtrans 1.3.5
d8b7c5
d8b7c5
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-2
d8b7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d8b7c5
d8b7c5
* Mon Mar 31 2014 Hans de Goede <hdegoede@redhat.com> - 1.3.4-1
d8b7c5
- xtrans 1.3.4
d8b7c5
d8b7c5
* Tue Jan 28 2014 Hans de Goede <hdegoede@redhat.com> - 1.3.3-1
d8b7c5
- xtrans 1.3.3
d8b7c5
- drop unnecessary autoreconf call
d8b7c5
d8b7c5
* Mon Dec  2 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.3.2-2
d8b7c5
- Install docs to %%{_pkgdocdir} where available (#993878).
d8b7c5
d8b7c5
* Mon Nov 18 2013 Dave Airlie <airlied@redhat.com> 1.3.2-1
d8b7c5
- xtrans 1.3.2
d8b7c5
d8b7c5
* Wed Nov 06 2013 Adam Jackson <ajax@redhat.com> 1.3.0-1
d8b7c5
- xtrans 1.3.0
d8b7c5
d8b7c5
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.7-5
d8b7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d8b7c5
d8b7c5
* Thu Mar 07 2013 Dave Airlie <airlied@redhat.com> 1.2.7-4
d8b7c5
- autoreconf for aarch64
d8b7c5
d8b7c5
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.7-3
d8b7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d8b7c5
d8b7c5
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.7-2
d8b7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d8b7c5
d8b7c5
* Mon Apr 09 2012 Adam Jackson <ajax@redhat.com> 1.2.7-1
d8b7c5
- xtrans 1.2.7 (#806309)
d8b7c5
d8b7c5
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.6-3
d8b7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d8b7c5
d8b7c5
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.6-2
d8b7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d8b7c5
d8b7c5
* Tue Nov 09 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.2.6-1
d8b7c5
- xtrans 1.2.6
d8b7c5
d8b7c5
* Sat Sep 25 2010 Parag Nemade <paragn AT fedoraproject.org> - 1.2.2-5
d8b7c5
- Merge-review cleanup (#226656)
d8b7c5
d8b7c5
* Mon Aug 03 2009 Adam Jackson <ajax@redhat.com> 1.2.2-4
d8b7c5
- Un-Requires xorg-x11-filesystem
d8b7c5
d8b7c5
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-3
d8b7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d8b7c5
d8b7c5
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-2
d8b7c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d8b7c5
d8b7c5
* Tue Dec 09 2008 Adam Jackson <ajax@redhat.com> 1.2.2-1
d8b7c5
- xtrans 1.2.2
d8b7c5
- Move to BuildArch: noarch.
d8b7c5
d8b7c5
* Tue Jul 15 2008 Adam Jackson <ajax@redhat.com> 1.2.1-2
d8b7c5
- Fix license tag.
d8b7c5
d8b7c5
* Wed Jul 02 2008 Adam Jackson <ajax@redhat.com> 1.2.1-1
d8b7c5
- xtrans 1.2.1
d8b7c5
d8b7c5
* Tue May 06 2008 Bill Nottingham <notting@redhat.com> 1.1-2
d8b7c5
- xtrans-1.1-abstract.patch: Don't worry about making /tmp/.X11-unix
d8b7c5
  (or failure to do so) if you're using an abstract socket (#445303)
d8b7c5
d8b7c5
* Wed Mar 05 2008 Adam Jackson <ajax@redhat.com> 1.1-1
d8b7c5
- xtrans 1.1
d8b7c5
d8b7c5
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.3-6
d8b7c5
- Autorebuild for GCC 4.3
d8b7c5
d8b7c5
* Mon Oct 01 2007 Adam Jackson <ajax@redhat.com> 1.0.3-5
d8b7c5
- xtrans-1.0.3-avoid-gethostname.patch: Don't trust gethostname() output
d8b7c5
  when building networkIds for AF_UNIX sockets.  Fixes application launch
d8b7c5
  delays and failures when dhclient changes your hostname from under you.
d8b7c5
d8b7c5
* Thu Sep 20 2007 Adam Jackson <ajax@redhat.com> 1.0.3-4
d8b7c5
- Fix a bug in automatic port generation for abstract sockets.  Fixes fast
d8b7c5
  user switching, among other things.
d8b7c5
d8b7c5
* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> 1.0.3-3
d8b7c5
- Abstract sockets for PF_UNIX.
d8b7c5
d8b7c5
* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.3-2
d8b7c5
- Don't install INSTALL
d8b7c5
d8b7c5
* Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.0.3-1
d8b7c5
- Update to 1.0.3
d8b7c5
d8b7c5
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-1.1
d8b7c5
- rebuild
d8b7c5
d8b7c5
* Mon Jul 10 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1.fc6
d8b7c5
- Update to xtrans-1.0.1
d8b7c5
- Remove xtrans-1.0.0-setuid.diff as it is included in 1.0.1
d8b7c5
d8b7c5
* Tue Jun 20 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-4
d8b7c5
- Added xtrans-1.0.0-setuid.diff to fix potential security issue (#195555)
d8b7c5
- Use setup -n instead of -c, and remove extraneous calls to cd from build
d8b7c5
  and install sections.
d8b7c5
- Use "make install DESTDIR=$RPM_BUILD_ROOT" instead of makeinstall macro.
d8b7c5
- Added "AUTHORS ChangeLog COPYING INSTALL NEWS README" to doc macro.
d8b7c5
d8b7c5
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-3.2
d8b7c5
- bump again for double-long bug on ppc(64)
d8b7c5
d8b7c5
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-3.1
d8b7c5
- rebuilt for new gcc4.1 snapshot and glibc changes
d8b7c5
d8b7c5
* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-3
d8b7c5
- Bump and rebuild.
d8b7c5
d8b7c5
* Fri Dec 23 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-2
d8b7c5
- Bump and rebuild.
d8b7c5
d8b7c5
* Thu Dec 15 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
d8b7c5
- Update to xtrans-1.0.0 from X11R7 RC4 release.
d8b7c5
d8b7c5
* Tue Nov 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
d8b7c5
- Add "Requires(pre): xorg-x11-filesystem >= 0.99.2-3" to avoid bug (#173384).
d8b7c5
d8b7c5
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
d8b7c5
- Update to xtrans-0.99.2 from X11R7 RC2 release.
d8b7c5
d8b7c5
* Thu Oct 20 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
d8b7c5
- Update to xtrans-0.99.1 from X11R7 RC1 release.
d8b7c5
- This package contains only C source and header files and pkg-config
d8b7c5
  *.pc files, and does not contain any ELF binaries or DSOs, so we disable
d8b7c5
  debuginfo generation.
d8b7c5
d8b7c5
* Sun Oct 02 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
d8b7c5
- Use Fedora-Extras style BuildRoot tag
d8b7c5
- Add tarball URL
d8b7c5
d8b7c5
* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
d8b7c5
- Initial build.