File xorg-x11-xtrans-devel.spec of Package xorg-x11-xtrans-devel
#
# spec file for package xorg-x11-xtrans-devel (Version 7.4)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: xorg-x11-xtrans-devel
Url: http://xorg.freedesktop.org/
%define tarball_version 1.2.1
Version: 7.4
Release: 4
License: X11/MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: Development/Libraries/X11
Requires: xorg-x11-proto-devel
Summary: Include Files and Libraries mandatory for X11 Development.
Source: xtrans-%{tarball_version}.tar.bz2
Patch: p_xauth.diff
Patch1: xtrans-sig11.diff
%description
This package contains all necessary include files and libraries needed
to develop X11 applications that require these.
Authors:
--------
Sebastien Marineau
Holger Veit
David Dawes
Egbert Eich
Alan Coopersmith
Marc La France
J. Kean Johnston
Frank Giessler
Jean-Claude Michot
Matthieu Herrb
%prep
%setup -n xtrans-%{tarball_version}
%patch -p2
%patch1 -p1
%build
#autoreconf -fi
./configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
--prefix=/usr --libdir=%{_libdir}
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf "$RPM_BUILD_ROOT"
%pre
test -L usr/include/X11 && rm usr/include/X11
exit 0
%files
%defattr(-,root,root)
%dir /usr/include/X11/Xtrans
/usr/include/X11/Xtrans/*
/usr/%{_lib}/pkgconfig/*.pc
/usr/share/aclocal/*.m4
%changelog
* Sat Oct 25 2008 sndirsch@suse.de
- xtrans-sig11.diff
* Before accessing the string it needs to be checked if the
string isn't NULL. (Egbert Eich, bnc #419576)
* Thu Sep 11 2008 sndirsch@suse.de
- bumped release number to 7.4
* Fri Jul 04 2008 sndirsch@suse.de
- xtrans 1.2.1
* Connection failure for abstract socket is ECONNREFUSED, not
ENOENT.
* LocalClose() takes a ConnInfoPtr, not an fd
* Clear some pointer type mismatch warnings
* Ignore mkdir() errors when creating the abstract socket.
* Remove extraneous execute bit from .c file
* Launchd: This functionality has been moved into xorg-server
* Thu May 08 2008 sndirsch@suse.de
- xtrans 1.2
* Among other things, this release fixes the linux abstract
socket support which was broken in 1.1 (fdo bug#15677). Also
various bug fixes and win32 updates.
* Thu Mar 06 2008 sndirsch@suse.de
- xtrans 1.1
* Sat Sep 29 2007 sndirsch@suse.de
- bumped version to 7.3
* Fri Aug 24 2007 sndirsch@suse.de
- xtrans 1.0.4:
* Fix typo in Xtranslcl.c (sprintf with size argument should be
snprintf)
* Mon Dec 18 2006 sndirsch@suse.de
- updated to release 1.0.3
* Makefile.am: make ChangeLog hook safer
* Sat Oct 14 2006 sndirsch@suse.de
- updated to X.Org 7.2RC1
* Thu Aug 17 2006 sndirsch@suse.de
- removed xorg-x11-xproto-devel from BuildRequires to improve
autobuild deps
* Sun Aug 06 2006 sndirsch@suse.de
- p_xauth.diff:
* Let X authorization be tolerant to hostname changes (Bug #98627)
* Wed Aug 02 2006 ro@suse.de
- fix setup line
* Fri Jul 28 2006 sndirsch@suse.de
- use "-fno-strict-aliasing"
* Thu Jul 27 2006 sndirsch@suse.de
- use $RPM_OPT_FLAGS
- remove existing /usr/include/X11 symlink in %%pre
* Thu Jun 22 2006 sndirsch@suse.de
- created package