File xorg-x11-xtrans-devel.spec of Package xorg-x11-xtrans-devel
#
# spec file for package xorg-x11-xtrans-devel (Version 7.6)
#
# Copyright (c) 2010 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.6
Version: 7.6
Release: 1
License: MIT License (or similar)
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
%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 -p0
%build
#autoreconf -fi
./configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
--prefix=/usr --libdir=%{_libdir}
make %{?jobs:-j%jobs};
%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)
%doc /usr/share/doc/xtrans/
%dir /usr/include/X11/Xtrans
/usr/include/X11/Xtrans/*
%{_datadir}/pkgconfig/*.pc
/usr/share/aclocal/*.m4
%changelog