File xorg-x11-libXau.spec of Package xorg-x11-libXau

# spec file for package xorg-x11-libXau (Version 7.6_1.0.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

# norootforbuild

Name:           xorg-x11-libXau
%define dirsuffix 1.0.6
BuildRequires:  fdupes pkgconfig xorg-x11-proto-devel
Version:        7.6_%{dirsuffix}
Release:        1
License:        MIT
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          System/Libraries
Provides:       xorg-x11-libs:/usr/X11R6/%{_lib}/
Summary:        X.Org Xau library
Source:         libXau-%{dirsuffix}.tar.bz2
Source2:        baselibs.conf

This package contains the X.Org Xau library.

    Keith Packard

%package devel
License:        MIT
Summary:        Include Files and Libraries mandatory for Development
Group:          Development/Libraries/X11
Provides:       xorg-x11-devel:/usr/X11R6/%{_lib}/
Requires:       xorg-x11-proto-devel %{name} = %{version}
PreReq:         coreutils

%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.

    Keith Packard

%setup -q -n libXau-%{dirsuffix}

#autoreconf -fi
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure \
%if %suse_version > 1110
--disable-static \
%{__make} %{?jobs:-j%jobs}

%if %suse_version > 1030
%{__rm} -f %{buildroot}%{_libdir}/
%fdupes -s $RPM_BUILD_ROOT/%_mandir

rm -rf "$RPM_BUILD_ROOT"

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%pre devel
test -L usr/include/X11 && rm usr/include/X11
exit 0


%files devel
%if %suse_version <= 1030
%if %suse_version <= 1110

openSUSE Build Service is sponsored by