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