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