1 Summary: X-Resource extension client library
6 Group: System Environment/Libraries
9 Source0: %{name}-%{version}.tar.gz
11 BuildRequires: pkgconfig(xext)
12 BuildRequires: pkgconfig(resourceproto)
13 BuildRequires: pkgconfig(xorg-macros)
14 BuildRequires: pkgconfig(xproto)
17 X-Resource is an extension that allows a client to query
18 the X server about its usage of various resources.
21 Summary: Development files for %{name}
22 Group: Development/Libraries
23 Requires: %{name} = %{version}-%{release}
24 Provides: libxres-devel
27 X.Org X11 libXres 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 # We intentionally don't ship *.la files
43 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
48 rm -rf $RPM_BUILD_ROOT
50 %post -p /sbin/ldconfig
51 %postun -p /sbin/ldconfig
54 %defattr(-,root,root,-)
55 %doc AUTHORS COPYING ChangeLog
56 %{_libdir}/libXRes.so.1
57 %{_libdir}/libXRes.so.1.0.0
60 %defattr(-,root,root,-)
61 %{_includedir}/X11/extensions/XRes.h
63 %{_libdir}/pkgconfig/xres.pc
64 #%dir %{_mandir}/man3x