- Merge review cleanups. (#226063)

This commit is contained in:
Adam Jackson 2009-02-21 20:56:19 +00:00
parent 2a165ee174
commit a4317d45cf

View File

@ -1,7 +1,7 @@
Summary: X.Org X11 libXau runtime library
Name: libXau
Version: 1.0.4
Release: 1%{?dist}
Release: 2%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.x.org
@ -12,8 +12,6 @@ Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
BuildRequires: pkgconfig
BuildRequires: xorg-x11-proto-devel
Obsoletes: XFree86-libs, xorg-x11-libs
%description
X.Org X11 libXau runtime library
@ -23,28 +21,19 @@ Group: Development/Libraries
Requires(pre): xorg-x11-filesystem >= 0.99.2-3
Requires: %{name} = %{version}-%{release}
Requires: xorg-x11-proto-devel
# xorg-x11-proto-devel needed by xau.pc
Requires: pkgconfig
BuildRequires: xorg-x11-proto-devel
Obsoletes: XFree86-devel, xorg-x11-devel
%description devel
X.Org X11 libXau development package
%prep
%setup -q
# Disable static library creation by default.
%define with_static 0
%build
%configure \
%if ! %{with_static}
--disable-static
%endif
make
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
@ -70,15 +59,15 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%dir %{_includedir}/X11
%{_includedir}/X11/Xauth.h
%if %{with_static}
%{_libdir}/libXau.a
%endif
%{_libdir}/libXau.so
%{_libdir}/pkgconfig/xau.pc
#%dir %{_mandir}/man3x
%{_mandir}/man3/*.3*
%changelog
* Sat Feb 21 2009 Adam Jackson <ajax@redhat.com> 1.0.4-2
- Merge review cleanups. (#226063)
* Thu Sep 04 2008 Adam Jackson <ajax@redhat.com> 1.0.4-1
- libXau 1.0.4