1 Summary: X.Org X11 libXrandr runtime library
6 Group: System Environment/Libraries
9 Source0: %{name}-%{version}.tar.gz
11 BuildRequires: pkgconfig(xorg-macros)
12 BuildRequires: pkgconfig(xproto)
13 BuildRequires: pkgconfig(randrproto) >= 1.3.0
14 BuildRequires: pkgconfig(xrender)
15 BuildRequires: pkgconfig(xext)
18 X.Org X11 libXrandr runtime library
21 Summary: X.Org X11 libXrandr development package
22 Group: Development/Libraries
23 Requires: %{name} = %{version}-%{release}
24 Provides: libxrandr-devel
27 X.Org X11 libXrandr development package
33 %reconfigure --disable-static \
34 LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
38 rm -rf $RPM_BUILD_ROOT
40 make install DESTDIR=$RPM_BUILD_ROOT
42 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
47 rm -rf $RPM_BUILD_ROOT
49 %post -p /sbin/ldconfig
50 %postun -p /sbin/ldconfig
53 %defattr(-,root,root,-)
54 %doc AUTHORS COPYING ChangeLog
55 %{_libdir}/libXrandr.so.2
56 %{_libdir}/libXrandr.so.2.2.0
59 %defattr(-,root,root,-)
60 %{_includedir}/X11/extensions/Xrandr.h
61 %{_libdir}/libXrandr.so
62 %{_libdir}/pkgconfig/xrandr.pc
63 #%dir %{_mandir}/man3x