5 Summary: X Display Manager Control Protocol library
7 Group: System Environment/Libraries
9 Source: %{name}-%{version}.tar.bz2
11 BuildRequires: pkgconfig(xorg-macros)
12 BuildRequires: pkgconfig(xproto)
15 X Display Manager Control Protocol library.
18 Summary: Development files for %{name}
19 Group: Development/Libraries
20 Requires: %{name} = %{version}
21 Provides: libxdmcp-devel
24 libXdmcp development package.
30 %reconfigure --disable-static \
31 LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
36 make install DESTDIR=%{buildroot} INSTALL="install -p"
38 # We intentionally don't ship *.la files
39 rm -f %{buildroot}%{_libdir}/*.la
42 rm -rf %{buildroot}%{_docdir}
46 %post -p /sbin/ldconfig
47 %postun -p /sbin/ldconfig
50 %defattr(-,root,root,-)
51 %doc AUTHORS COPYING ChangeLog Wraphelp.README.crypto
52 %{_libdir}/libXdmcp.so.6
53 %{_libdir}/libXdmcp.so.6.0.0
56 %defattr(-,root,root,-)
57 %{_includedir}/X11/Xdmcp.h
58 %{_libdir}/libXdmcp.so
59 %{_libdir}/pkgconfig/xdmcp.p