967c844
Name:		9wm
967c844
Summary:	Emulation of the Plan 9 window manager 8 1/2
967c844
Version:	1.2
5c8577b
Release:	3%{?dist}
967c844
License:	MIT
967c844
Group:		User Interface/Desktops
967c844
Source0:	http://unauthorised.org/dhog/9wm/pre-9wm-%{version}.tar.gz
967c844
Source1:	9wm.desktop
967c844
# Patch from Debian, minor cleanups
967c844
Patch0:		9wm_1.2-9.diff
967c844
URL:		http://unauthorised.org/dhog/9wm.html
967c844
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
967c844
BuildRequires:	imake, libXext-devel, libX11-devel, desktop-file-utils
967c844
# It needs this to open a terminal.
967c844
Requires:	xterm
967c844
967c844
%description
967c844
9wm is an X window manager which attempts to emulate the Plan 9 window
967c844
manager 8-1/2 as far as possible within the constraints imposed by X.
967c844
It provides a simple yet comfortable user interface, without garish
967c844
decorations or title-bars. Or icons.  And it's click-to-type.
967c844
967c844
%prep
967c844
%setup -q -n pre-9wm-%{version}
967c844
%patch0 -p1 -b .cleanups
967c844
967c844
%build
967c844
xmkmf
967c844
make %{?_smp_mflags} CDEBUGFLAGS="$RPM_OPT_FLAGS"
967c844
967c844
%install
967c844
rm -rf $RPM_BUILD_ROOT
967c844
make DESTDIR=$RPM_BUILD_ROOT install install.man
967c844
desktop-file-install					\
967c844
--dir=${RPM_BUILD_ROOT}%{_datadir}/xsessions/		\
967c844
%{SOURCE1}
967c844
967c844
%clean
967c844
rm -rf $RPM_BUILD_ROOT
967c844
967c844
%files
967c844
%defattr(-,root,root,-)
967c844
%doc README
967c844
%{_bindir}/9wm
967c844
%{_datadir}/xsessions/9wm.desktop
967c844
%{_mandir}/man1/9wm.*
967c844
967c844
%changelog
5c8577b
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
5c8577b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5c8577b
967c844
* Thu Oct 8 2009 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-2
967c844
- fix defattr invocation
967c844
967c844
* Tue Oct 6 2009 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-1
967c844
- Initial package for Fedora