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