967c844
Name:		9wm
967c844
Summary:	Emulation of the Plan 9 window manager 8 1/2
96a910d
Version:	1.3.4
bddd730
Release:	1%{?dist}
967c844
License:	MIT
967c844
Group:		User Interface/Desktops
bddd730
Source0:	https://woozle.org/neale/g.cgi/x11/9wm/snapshot/9wm-%{version}.tar.gz
967c844
Source1:	9wm.desktop
bddd730
URL:		https://woozle.org/neale/src/9wm/
967c844
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
bddd730
BuildRequires:	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
bddd730
%setup -q -n 9wm-%{version}
967c844
967c844
%build
bddd730
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -DSHAPE"
967c844
967c844
%install
bddd730
mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man1
f17f734
make DESTDIR=%{buildroot} BIN=%{buildroot}%{_bindir} MANDIR=%{buildroot}%{_mandir}/man1 install install.man
967c844
desktop-file-install					\
967c844
--dir=${RPM_BUILD_ROOT}%{_datadir}/xsessions/		\
967c844
%{SOURCE1}
967c844
967c844
%files
bddd730
%doc README CREDITS
bddd730
%license LICENSE
967c844
%{_bindir}/9wm
967c844
%{_datadir}/xsessions/9wm.desktop
967c844
%{_mandir}/man1/9wm.*
967c844
967c844
%changelog
96a910d
* Tue Nov 17 2015 Tom Callaway <spot@fedoraproject.org> - 1.3.4-1
96a910d
- update to 1.3.4
96a910d
bddd730
* Thu Oct 29 2015 Tom Callaway <spot@fedoraproject.org> - 1.3.2-1
bddd730
- update to 1.3.2
bddd730
33fc3de
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-10
33fc3de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
33fc3de
152b601
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-9
152b601
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
152b601
655cd6f
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8
655cd6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
655cd6f
95b432f
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7
95b432f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
95b432f
a4a5c68
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-6
a4a5c68
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a4a5c68
3e03a5e
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5
3e03a5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3e03a5e
1505470
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
1505470
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1505470
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