Blob Blame History Raw
Name: wmx
Version: 6pl1
Release: 13%{?dist}
Summary: A really simple window manager for X
License: BSD
Group: User Interface/X
URL: http://www.all-day-breakfast.com/wmx/
Source0: http://www.all-day-breakfast.com/wmx/%{name}-%{version}.tar.gz
Source1: wmx-defaults.tar.gz
Source2: background.xpm
Source3: wmx.desktop
Source4: Xclients.wmx.sh
Patch0: wmx-6pl1-cvs20060602.patch
Patch1: wmx-6pl1-64b.patch
Patch2: wmx-6pl1-cfgbug.patch
Patch3: wmx-6pl1-cfg.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: xorg-x11-proto-devel libX11-devel libXpm-devel libXext-devel libXaw-devel libXt-devel

%description
A really simple window manager for X, based on wm2, with a minimal set of
configurable options.

%prep
%setup -q
%setup -a 1
%{__install} -p %{SOURCE2} .
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1

%build
%configure --x-libraries=%{_libdir} --x-includes=%{_includedir}/X11
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__install} -D -m 0755 wmx %{buildroot}%{_bindir}/wmx
%{__install} -d -m 0755 %{buildroot}%{_datadir}/%{name}
%{__install} -m 0755 wmx-defaults/* %{buildroot}%{_datadir}/%{name}
%{__chmod} 0644 %{buildroot}%{_datadir}/%{name}/startup
%{__install} -D -m 0644 %{SOURCE3} %{buildroot}%{_datadir}/xsessions/wmx.desktop
%{__install} -D -m 0755 %{SOURCE4} %{buildroot}%{_sysconfdir}/X11/xinit/Xclients.d/Xclients.wmx.sh

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README* UPDATES ANNOYING-BUGS
%{_bindir}/*
%{_datadir}/*
%{_sysconfdir}/X11/xinit/Xclients.d/*

%changelog
* Wed Jun 08 2006 Gabriel Somlo <somlo@cmu.edu> 6pl1-13
- rebuild

* Wed Jun 08 2006 Gabriel Somlo <somlo@cmu.edu> 6pl1-12
- more X11 buildrequires (thanks tibbs@math.uh.edu and Jarod Wilson)

* Wed Jun 07 2006 Gabriel Somlo <somlo@cmu.edu> 6pl1-11
- fixed modular X11 build-requires

* Mon Jun 05 2006 Gabriel Somlo <somlo@cmu.edu> 6pl1-10
- gave up on conditional build-requires for X based on fedora version

* Sun Jun 04 2006 Gabriel Somlo <somlo@cmu.edu> 6pl1-9
- added patch containing latest cvs fixes
- both monolithic and modular X supported in the same specfile (to be removed when we drop support for fc4)
- added patch by zpetkovic@acm.org for dynamic config string termination bug
- cvs patch screws up ALT key define, subsequent config patch puts it back

* Fri May 19 2006 Gabriel Somlo <somlo@cmu.edu> 6pl1-8
- Don't strip binary during install to preserve debuginfo (bugzilla #192435)

* Thu Feb 16 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net>
- Fixed 64-bit build

* Sat Dec 31 2005 Gabriel Somlo <somlo@cmu.edu> 6pl1-7
- added BuildRequires for X

* Thu Dec 29 2005 Gabriel Somlo <somlo@cmu.edu> 6pl1-6
- more spec file fixes as per I. Vazquez
- default startup script tweaks

* Mon Dec 19 2005 Gabriel Somlo <somlo@cmu.edu> 6pl1-5
- removed example .xsession file
- added /etc/X11/xinit/Xclients.d/Xclients.wmx.sh startup script
- fixed up some of the default menu entries

* Mon Dec 19 2005 Gabriel Somlo <somlo@cmu.edu> 6pl1-4
- spec file fixes as per J. Carlson
- desktop file for xdm login screen

* Fri Dec 16 2005 Gabriel Somlo <somlo@cmu.edu> 6pl1-3
- spec file fixes as per P. Lemenkov and I. Vazquez
- default menu entries now go in /usr/share/wmx/menu
- example wmx .xsession file added to %doc
- gave up on using /usr/X11R6/bin -- using %{_bindir} instead 

* Wed Dec 14 2005 Gabriel Somlo <somlo@cmu.edu> 6pl1-2
- increased bump-distance parameter for easier placement at edge of screen
- 'fix' patch now cleans up dead files from source directory

* Wed Sep 07 2005 Gabriel Somlo <somlo@cmu.edu> 6pl1-1
- upgrade to 6pl1
- added better looking window-tab background.xpm
- fixed license (bsd, not gpl)

* Tue Aug 09 2005 Gabriel Somlo <somlo@cmu.edu> 6pl1-0
- rebuilt for Fedora Core 4

* Wed May 23 2004 Gabriel Somlo <somlo@acns.colostate.edu>
- initial spec and packages.