1 Summary: X Athena Widget Set
7 Group: System Environment/Libraries
9 Source0: %{name}-%{version}.tar.gz
11 BuildRequires: pkgconfig(xproto) pkgconfig(x11) pkgconfig(xt)
12 BuildRequires: pkgconfig(xmu) pkgconfig(xpm) pkgconfig(xext)
13 BuildRequires: pkgconfig(xorg-macros)
14 # Required by the configury.
16 BuildRequires: xorg-x11-xutils-dev
19 Xaw is a widget set based on the X Toolkit Intrinsics (Xt) Library.
22 Summary: Development files for %{name}
23 Group: Development/Libraries
24 Provides: libxaw-devel
25 Requires: %{name} = %{version}-%{release}
27 Requires: pkgconfig(xproto) pkgconfig(xmu) pkgconfig(xt) pkgconfig(xpm)
30 X.Org X11 libXaw development package
36 export CFLAGS="${CFLAGS} $RPM_OPT_FLAGS -Os"
38 LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed" \
39 --disable-xaw8 --disable-static \
44 rm -rf $RPM_BUILD_ROOT
46 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
47 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
52 rm -rf $RPM_BUILD_ROOT
54 %post -p /sbin/ldconfig
55 %postun -p /sbin/ldconfig
58 %defattr(-,root,root,-)
59 %doc COPYING README ChangeLog
60 %{_libdir}/libXaw.so.7
61 %{_libdir}/libXaw7.so.7
62 %{_libdir}/libXaw7.so.7.0.0
65 %defattr(-,root,root,-)
66 %dir %{_includedir}/X11/Xaw
68 %{_includedir}/X11/Xaw/*.h
69 # FIXME: Is this C file really supposed to be here?
70 %{_includedir}/X11/Xaw/Template.c
73 %{_libdir}/pkgconfig/xaw7.pc
75 #%dir %{_docdir}/%{name}-%{version}-%{release}
76 #%{_docdir}/%{name}-%{version}-%{release}/*.xml
77 #{_docdir}/%{name}-%{version}-%{release}/%{name}.html
78 #{_docdir}/%{name}-%{version}-%{release}/%{name}.txt