1 Summary: X.Org X11 ICE runtime library
6 Group: System Environment/Libraries
9 Source0: %{name}-%{version}.tar.gz
11 BuildRequires: pkgconfig
12 BuildRequires: pkgconfig(xproto)
13 BuildRequires: pkgconfig(xorg-macros)
14 BuildRequires: xorg-x11-xtrans-devel >= 1.0.3-5
17 The X.Org X11 ICE (Inter-Client Exchange) runtime library.
20 Summary: X.Org X11 ICE development package
21 Group: Development/Libraries
22 Requires: %{name} = %{version}-%{release}
25 The X.Org X11 ICE (Inter-Client Exchange) development package.
31 %reconfigure --disable-static \
32 LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
36 rm -rf $RPM_BUILD_ROOT
37 mkdir -p %{buildroot}/usr/share/license
38 cp -af COPYING %{buildroot}/usr/share/license/%{name}
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 /usr/share/license/%{name}
56 #%doc AUTHORS COPYING ChangeLog
57 %{_libdir}/libICE.so.6
58 %{_libdir}/libICE.so.6.3.0
61 %defattr(-,root,root,-)
63 %{_includedir}/X11/ICE
65 %{_libdir}/pkgconfig/ice.pc