File xorg-x11-libXext.spec of Package xorg-x11-libXext
#
# spec file for package xorg-x11-libXext (Version 7.6_1.2.0)
#
# 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-libXext
%define dirsuffix 1.2.0
BuildRequires: fdupes pkgconfig xorg-x11-libX11-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-proto-devel xorg-x11-xtrans-devel
Url: http://xorg.freedesktop.org/
Version: 7.6_%{dirsuffix}
Release: 1
License: MIT License (or similar)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: System/Libraries
Provides: xorg-x11-libs:/usr/X11R6/%{_lib}/libXext.so.6
Summary: X.Org Xext library
Source: libXext-%{dirsuffix}.tar.bz2
Source2: baselibs.conf
%description
This package contains the X.Org Xext library.
Authors:
--------
Bob Scheifler
C. Kantarjiev
D. Converse,
D. Lemke
D. Tonogai
Dave Carver
Dave Wiggens
David Wiggens
Ian Elliot
J Fulton
Jeff Vroom
Jeffrey Friedberg
Jim Gettys
Jonathan Corbet
Kaleb S. Keithley
Keith Packard
Kieron Drake
Larry Seiler
Peter Daifuku
R. Mor
R. Tice
Rob Lembree
Tim Glauert
%package devel
License: MIT License (or similar)
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/X11
Provides: xorg-x11-devel:/usr/X11R6/%{_lib}/libXext.so
Requires: xorg-x11-proto-devel xorg-x11-xtrans-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-libX11-devel
Requires: %{name} = %{version}
AutoReqProv: on
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
Bob Scheifler
C. Kantarjiev
D. Converse,
D. Lemke
D. Tonogai
Dave Carver
Dave Wiggens
David Wiggens
Ian Elliot
J Fulton
Jeff Vroom
Jeffrey Friedberg
Jim Gettys
Jonathan Corbet
Kaleb S. Keithley
Keith Packard
Kieron Drake
Larry Seiler
Peter Daifuku
R. Mor
R. Tice
Rob Lembree
Tim Glauert
%prep
%setup -q -n libXext-%{dirsuffix}
%build
#autoreconf -fi
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
%configure \
%if %suse_version > 1110
--disable-static \
%endif
--with-pic
%{__make} %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%if %suse_version > 1110
%{__rm} -f %{buildroot}%{_libdir}/*.la
%endif
%fdupes -s $RPM_BUILD_ROOT/%_mandir
%clean
rm -rf "$RPM_BUILD_ROOT"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
/usr/include/X11/extensions
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_mandir}/man3/*
%if %suse_version <= 1110
%{_libdir}/*.a
%{_libdir}/*.la
%endif
%doc %{_datadir}/doc/libXext
%changelog