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