File xorg-x11-libXau.spec of Package xorg-x11-libXau
#
# spec file for package xorg-x11-libXau (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-libXau
%define dirsuffix 1.0.4
BuildRequires: pkgconfig xorg-x11-proto-devel
Url: http://xorg.freedesktop.org/
Version: 7.4
Release: 1
License: X11/MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: System/Libraries
Provides: xorg-x11-libs:/usr/X11R6/%{_lib}/libXau.so.6
Summary: X.Org Xau library
Source: libXau-%{dirsuffix}.tar.bz2
%description
This package contains the X.Org Xau library.
Authors:
--------
Keith Packard
%package devel
License: X11/MIT
Summary: Include Files and Libraries mandatory for Development.
Group: System/Libraries
Provides: xorg-x11-devel:/usr/X11R6/%{_lib}/libXau.so
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.
Authors:
--------
Keith Packard
%prep
%setup -q -n libXau-%{dirsuffix}
%build
#autoreconf -fi
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
grep -r include %{buildroot}%{_includedir}
%if %suse_version > 1030
%{__rm} -f %{buildroot}%{_libdir}/libXau.la
%endif
%clean
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
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
/usr/include/X11/*.h
%{_libdir}/*.a
%if %suse_version <= 1030
%{_libdir}/*.la
%endif
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_mandir}/man3/*
%changelog
* Thu Sep 11 2008 sndirsch@suse.de
- bumped release number to 7.4
* Wed Aug 27 2008 sndirsch@suse.de
- libXau 1.0.4
* SVR4 (including Solaris) puts gethostbyname_r in libnsl instead
of libc
* Bug 17314: libXau's Makefile.am should have proper man creation
rules
* Bug #11097: libXau COPYING fix (add missing copyright dates)
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Fri Mar 14 2008 sndirsch@suse.de
- readded libXau.la for openSUSE <= 10.3 (bnc #371041)
* Wed Jan 02 2008 crrodriguez@suse.de
- fix library-without-ldconfig-* error
- add missing PreReq coreutils
- remove libXau.la (empty dependency_libs)
* Sat Sep 29 2007 sndirsch@suse.de
- bumped version to 7.3
* Mon Dec 18 2006 sndirsch@suse.de
- updated libXau to release 1.0.3
* Makefile.am: make ChangeLog hook safer
* Thu Oct 26 2006 sndirsch@suse.de
- set version to 7.2 in specfile
* Wed Aug 02 2006 sndirsch@suse.de
- fix setup line
* Sat Jul 29 2006 sndirsch@suse.de
- updated libXau to release 1.0.2
* 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