auto-import libXrandr-1.2.0-1.fc7 on branch devel from

libXrandr-1.2.0-1.fc7.src.rpm
This commit is contained in:
Adam Jackson 2007-02-21 20:34:56 +00:00
parent 2fe2320765
commit 2abe8a7a85
3 changed files with 11 additions and 17 deletions

View File

@ -1 +1 @@
libXrandr-1.1.2.tar.bz2
libXrandr-1.2.0.tar.bz2

View File

@ -1,6 +1,6 @@
Summary: X.Org X11 libXrandr runtime library
Name: libXrandr
Version: 1.1.2
Version: 1.2.0
Release: 1%{?dist}
License: MIT/X11
Group: System Environment/Libraries
@ -10,8 +10,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
BuildRequires: pkgconfig
# xrandr.pc Requires: xproto randrproto >= 1.1
BuildRequires: xorg-x11-proto-devel
# xrandr.pc Requires: xproto randrproto >= 1.2.1
BuildRequires: xorg-x11-proto-devel >= 7.2
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXrender-devel
@ -27,7 +27,7 @@ Group: Development/Libraries
Requires(pre): xorg-x11-filesystem >= 0.99.2-3
Requires: %{name} = %{version}-%{release}
# xrandr.pc Requires: xproto randrproto >= 1.1
# xrandr.pc Requires: xproto randrproto >= 1.2.1
Requires: xorg-x11-proto-devel
Obsoletes: XFree86-devel, xorg-x11-devel
@ -38,14 +38,8 @@ X.Org X11 libXrandr development package
%prep
%setup -q
# Disable static library creation by default.
%define with_static 0
%build
%configure \
%if ! %{with_static}
--disable-static
%endif
%configure --disable-static
make
%install
@ -66,22 +60,22 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%doc AUTHORS COPYING README INSTALL ChangeLog
%{_libdir}/libXrandr.so.2
%{_libdir}/libXrandr.so.2.0.0
%{_libdir}/libXrandr.so.2.1.0
%files devel
%defattr(-,root,root,-)
%dir %{_includedir}/X11
%dir %{_includedir}/X11/extensions
%{_includedir}/X11/extensions/Xrandr.h
%if %{with_static}
%{_libdir}/libXrandr.a
%endif
%{_libdir}/libXrandr.so
%{_libdir}/pkgconfig/xrandr.pc
#%dir %{_mandir}/man3x
%{_mandir}/man3/*.3*
%changelog
* Wed Feb 21 2007 Adam Jackson <ajax@redhat.com> 1.2.0-1
- libXrandr 1.2.0
* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.1.1-2.1
- Update to 1.1.2

View File

@ -1 +1 @@
962946952a01650bb43206043a3c0e12 libXrandr-1.1.2.tar.bz2
10b5f39f267da31fbe885771d4e3d27f libXrandr-1.2.0.tar.bz2