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
39 mkdir -p %{buildroot}/usr/share/license
40 cp -af COPYING %{buildroot}/usr/share/license/%{name}
41 make install DESTDIR=$RPM_BUILD_ROOT
43 # We intentionally don't ship *.la files
44 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
49 rm -rf $RPM_BUILD_ROOT
51 %post -p /sbin/ldconfig
52 %postun -p /sbin/ldconfig
55 %defattr(-,root,root,-)
56 /usr/share/license/%{name}
58 %{_libdir}/libXRes.so.1
59 %{_libdir}/libXRes.so.1.0.0
62 %defattr(-,root,root,-)
63 %{_includedir}/X11/extensions/XRes.h
65 %{_libdir}/pkgconfig/xres.pc
66 #%dir %{_mandir}/man3x