1 # TODO: libXmuu split and/or elf filter emulation
3 Summary: X.Org X11 libXmu/libXmuu runtime libraries
8 Group: System Environment/Libraries
11 Source0: %{name}-%{version}.tar.gz
13 BuildRequires: pkgconfig(xorg-macros)
14 BuildRequires: xorg-x11-xutils-dev
15 BuildRequires: libX11-devel
16 BuildRequires: libXext-devel
17 BuildRequires: libXt-devel
20 X.Org X11 libXmu/libXmuu runtime libraries
23 Summary: X.Org X11 libXmu development package
24 Group: Development/Libraries
25 Requires: %{name} = %{version}-%{release}
26 Provides: libxmu-devel
29 X.Org X11 libXmu development package
35 %reconfigure --disable-static \
36 LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
40 rm -rf $RPM_BUILD_ROOT
41 mkdir -p %{buildroot}/usr/share/license
42 cp -af COPYING %{buildroot}/usr/share/license/%{name}
43 make install DESTDIR=$RPM_BUILD_ROOT
45 # We intentionally don't ship *.la files
46 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
49 rm -rf $RPM_BUILD_ROOT%{_docdir}
54 rm -rf $RPM_BUILD_ROOT
56 %post -p /sbin/ldconfig
57 %postun -p /sbin/ldconfig
60 %defattr(-,root,root,-)
61 /usr/share/license/%{name}
62 %doc COPYING README ChangeLog
63 %{_libdir}/libXmu.so.6
64 %{_libdir}/libXmu.so.6.2.0
65 %{_libdir}/libXmuu.so.1
66 %{_libdir}/libXmuu.so.1.0.0
69 %defattr(-,root,root,-)
70 %dir %{_includedir}/X11/Xmu
71 %{_includedir}/X11/Xmu/Atoms.h
72 %{_includedir}/X11/Xmu/CharSet.h
73 %{_includedir}/X11/Xmu/CloseHook.h
74 %{_includedir}/X11/Xmu/Converters.h
75 %{_includedir}/X11/Xmu/CurUtil.h
76 %{_includedir}/X11/Xmu/CvtCache.h
77 %{_includedir}/X11/Xmu/DisplayQue.h
78 %{_includedir}/X11/Xmu/Drawing.h
79 %{_includedir}/X11/Xmu/Editres.h
80 %{_includedir}/X11/Xmu/EditresP.h
81 %{_includedir}/X11/Xmu/Error.h
82 %{_includedir}/X11/Xmu/ExtAgent.h
83 %{_includedir}/X11/Xmu/Initer.h
84 %{_includedir}/X11/Xmu/Lookup.h
85 %{_includedir}/X11/Xmu/Misc.h
86 %{_includedir}/X11/Xmu/StdCmap.h
87 %{_includedir}/X11/Xmu/StdSel.h
88 %{_includedir}/X11/Xmu/SysUtil.h
89 %{_includedir}/X11/Xmu/WhitePoint.h
90 %{_includedir}/X11/Xmu/WidgetNode.h
91 %{_includedir}/X11/Xmu/WinUtil.h
92 %{_includedir}/X11/Xmu/Xct.h
93 %{_includedir}/X11/Xmu/Xmu.h
96 %{_libdir}/pkgconfig/xmu.pc
97 %{_libdir}/pkgconfig/xmuu.pc