2 Summary: X.Org X11 libXrandr runtime library
5 Group: System/Libraries
8 Source0: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.gz
9 Requires(post): /sbin/ldconfig
10 Requires(postun): /sbin/ldconfig
11 BuildRequires: pkgconfig(randrproto) >= 1.3
12 BuildRequires: pkgconfig(xproto)
13 BuildRequires: pkgconfig(xextproto)
14 BuildRequires: pkgconfig(randrproto)
15 BuildRequires: pkgconfig(x11)
16 BuildRequires: pkgconfig(xext)
17 BuildRequires: pkgconfig(xrender)
18 BuildRequires: pkgconfig(xorg-macros)
22 Xorg libXrandr runtime library
26 Summary: Development components for the libXrandr library
27 Group: Development/Libraries
28 Requires: %{name} = %{version}-%{release}
29 Requires: libxrender-devel
32 Xorg libXrandr development package
36 %setup -q -n %{name}-%{version}
40 export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed"
41 %reconfigure --disable-static
51 %post -p /sbin/ldconfig
53 %postun -p /sbin/ldconfig
60 %defattr(-,root,root,-)
62 %{_libdir}/libXrandr.so.2
63 %{_libdir}/libXrandr.so.2.2.0
67 %defattr(-,root,root,-)
68 %doc AUTHORS ChangeLog
69 %dir %{_includedir}/X11
70 %dir %{_includedir}/X11/extensions
71 %{_includedir}/X11/extensions/Xrandr.h
72 %{_libdir}/libXrandr.so
73 %{_libdir}/pkgconfig/xrandr.pc
74 %doc %{_mandir}/man3/*.3*