%define pkgname xsm
Summary: X.Org X11 X Session Manager
Name: xorg-x11-%{pkgname}
Version: 0.99.2
Release: 3
License: MIT/X11
Group: User Interface/X
URL: http://www.x.org
%define xorgurl http://xorg.freedesktop.org/releases/X11R7.0-RC2/everything
Source0: http://xorg.freedesktop.org/releases/X11R7.0-RC2/everything/xsm-0.99.2.tar.bz2
Source1: http://xorg.freedesktop.org/releases/X11R7.0-RC2/everything/smproxy-0.99.1.tar.bz2
Source2: http://xorg.freedesktop.org/releases/X11R7.0-RC2/everything/rstart-0.99.1.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# FIXME: The BuildRequires are all missing here and need to be figured out.
# That's low priority for now though, unless we encounter real build
# failures in beehive.
BuildRequires: pkgconfig
# libxkbfile-devel needed for setxkbmap, xkbcomp, xkbevd, xkbprint
#BuildRequires: libxkbfile-devel
# FIXME: check if still needed for X11R7
Requires(pre): filesystem >= 2.3.6-1
Provides: xsm, smproxy, rstart
# NOTE: xsm, smproxy, rstart used to be part of the XFree86/xorg-x11 package
Obsoletes: XFree86, xorg-x11
%description
X.Org X11 X Session Manager
%prep
%setup -q -c %{name}-%{version} -a1 -a2
%build
# Build everything
{
for pkg in xsm smproxy rstart ; do
pushd $pkg-*
%configure
make
popd
done
}
%install
rm -rf $RPM_BUILD_ROOT
# Install everything
{
for pkg in xsm smproxy rstart ; do
pushd $pkg-*
%makeinstall
popd
done
}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc
%dir %{_bindir}
%{_bindir}/rstart
%{_bindir}/rstartd
%{_bindir}/smproxy
%{_bindir}/xsm
%dir %{_libdir}/X11
%dir %{_libdir}/X11/app-defaults
%{_libdir}/X11/app-defaults/XSm
%dir %{_libdir}/X11/rstart/commands
%{_libdir}/X11/rstart/commands/@List
%{_libdir}/X11/rstart/commands/ListContexts
%{_libdir}/X11/rstart/commands/ListGenericCommands
%dir %{_libdir}/X11/rstart/commands/x11r6
%{_libdir}/X11/rstart/commands/x11r6/@List
%{_libdir}/X11/rstart/commands/x11r6/LoadMonitor
%{_libdir}/X11/rstart/commands/x11r6/Terminal
%{_libdir}/X11/rstart/config
%dir %{_libdir}/X11/rstart/contexts
%{_libdir}/X11/rstart/contexts/@List
%{_libdir}/X11/rstart/contexts/default
%{_libdir}/X11/rstart/contexts/x11r6
%{_libdir}/X11/rstart/rstartd.real
%dir %{_libdir}/X11/xsm
%{_libdir}/X11/xsm/system.xsm
%dir %{_mandir}
%dir %{_mandir}/man1x
%{_mandir}/man1x/rstart.1x*
%{_mandir}/man1x/rstartd.1x*
%{_mandir}/man1x/smproxy.1x*
%{_mandir}/man1x/xsm.1x*
%changelog
* Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> - 0.99.2-3
- require newer filesystem package (#172610)
* Sun Nov 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
- Added "Obsoletes: XFree86, xorg-x11", as all of these used to be in there.
- Rebuild against new libXaw 0.99.2-2, which has fixed DT_SONAME. (#173027)
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
- Initial build of xsm, smproxy, and rstart from X11R7 RC1