15c435b
Name: wmx
31fa191
Version: 7
Gabriel L. Somlo 4e0e4f1
Release: 7%{?dist}
15c435b
Summary: A really simple window manager for X
15c435b
License: BSD
15c435b
Group: User Interface/X
15c435b
URL: http://www.all-day-breakfast.com/wmx/
15c435b
Source0: http://www.all-day-breakfast.com/wmx/%{name}-%{version}.tar.gz
db80549
Source1: wmx-defaults-1.tar.gz
15c435b
Source2: background.xpm
15c435b
Source3: wmx.desktop
15c435b
Source4: Xclients.wmx.sh
db80549
Source5: xnodecor.c
9268e81
Patch0: wmx-7-composite.patch
9268e81
Patch1: wmx-7-cfg.patch
15c435b
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
9268e81
BuildRequires: xorg-x11-proto-devel libX11-devel libXpm-devel libXext-devel libXaw-devel libXt-devel libXcomposite-devel freetype-devel libXft-devel
15c435b
15c435b
%description
15c435b
A really simple window manager for X, based on wm2, with a minimal set of
15c435b
configurable options.
15c435b
15c435b
%prep
15c435b
%setup -q
31fa191
%setup -q -a 1
31fa191
%{__install} -p -m 0644 %{SOURCE2} .
15c435b
%patch0 -p1
9268e81
%patch1 -p1
15c435b
15c435b
%build
Gabriel L. Somlo 4e0e4f1
%configure --x-libraries=%{_libdir} --x-includes=%{_includedir}/X11 LIBS=-lfontconfig
15c435b
%{__make} %{?_smp_mflags}
db80549
%{__cc} -o xnodecor %{SOURCE5} -Werror -lX11
15c435b
15c435b
%install
15c435b
%{__rm} -rf %{buildroot}
40d8679
%{__install} -D -m 0755 wmx %{buildroot}%{_bindir}/wmx
db80549
%{__install} -D -m 0755 xnodecor %{buildroot}%{_bindir}/xnodecor
15c435b
%{__install} -d -m 0755 %{buildroot}%{_datadir}/%{name}
db80549
%{__install} -m 0755 wmx-defaults-1/* %{buildroot}%{_datadir}/%{name}
15c435b
%{__chmod} 0644 %{buildroot}%{_datadir}/%{name}/startup
15c435b
%{__install} -D -m 0644 %{SOURCE3} %{buildroot}%{_datadir}/xsessions/wmx.desktop
15c435b
%{__install} -D -m 0755 %{SOURCE4} %{buildroot}%{_sysconfdir}/X11/xinit/Xclients.d/Xclients.wmx.sh
15c435b
15c435b
%clean
15c435b
%{__rm} -rf %{buildroot}
15c435b
15c435b
%files
15c435b
%defattr(-,root,root)
31fa191
%doc README* UPDATES TODO.netwm rsharman-patch/
15c435b
%{_bindir}/*
f669f03
%{_datadir}/%{name}
f669f03
%{_datadir}/xsessions/*
15c435b
%{_sysconfdir}/X11/xinit/Xclients.d/*
15c435b
15c435b
%changelog
Gabriel L. Somlo 4e0e4f1
* Tue Dec 07 2010 Gabriel Somlo <somlo@cmu.edu> 7-7
Gabriel L. Somlo 4e0e4f1
- explicitly link against libfontconfig (BZ 660741)
Gabriel L. Somlo 4e0e4f1
f669f03
* Mon Mar 01 2010 Gabriel Somlo <somlo@cmu.edu> 7-6
f669f03
- fixed directory ownership (BZ 569408)
f669f03
7cb411e
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7-5
7cb411e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7cb411e
7037473
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7-4
7037473
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7037473
9268e81
* Mon Jan 19 2009 Gabriel Somlo <somlo@cmu.edu> 7-3
9268e81
- applied patch for use of compositing offscreen storage to speed up rendering
9268e81
- added buildreq for libxcomposite-devel
9268e81
9268e81
* Tue Jan 13 2009 Gabriel Somlo <somlo@cmu.edu> 7-2
84d2877
- re-enabled scroll-wheel-cycles-channels feature
84d2877
9268e81
* Sat Jan 10 2009 Gabriel Somlo <somlo@cmu.edu> 7-1
31fa191
- update to 7
31fa191
8e1946f
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 6pl1-18
8e1946f
- Autorebuild for GCC 4.3
8e1946f
ae2e969
* Tue Dec 25 2007 Gabriel Somlo <somlo@cmu.edu> 6pl1-17
ae2e969
- changed build config option to use default X cursor fonts
ae2e969
22d824c
* Sat Nov 17 2007 Gabriel Somlo <somlo@cmu.edu> 6pl1-16
22d824c
- rebuild
22d824c
db80549
* Tue Nov 13 2007 Gabriel Somlo <somlo@cmu.edu> 6pl1-15
db80549
- patch containing latest cvs fixes
db80549
- added xnodecor.c from ftp://ftp.42.org/pub/wmx/contrib/xnodecor.c
db80549
- updated default menu entries
db80549
9038a4d
* Fri Sep 08 2006 Gabriel Somlo <somlo@cmu.edu> 6pl1-14
9038a4d
- rebuilt for FC6MassRebuild
9038a4d
2a176b2
* Wed Jun 08 2006 Gabriel Somlo <somlo@cmu.edu> 6pl1-13
2a176b2
- rebuild
2a176b2
a960c73
* Wed Jun 08 2006 Gabriel Somlo <somlo@cmu.edu> 6pl1-12
a960c73
- more X11 buildrequires (thanks tibbs@math.uh.edu and Jarod Wilson)
a960c73
ced5e89
* Wed Jun 07 2006 Gabriel Somlo <somlo@cmu.edu> 6pl1-11
ced5e89
- fixed modular X11 build-requires
ced5e89
ced5e89
* Mon Jun 05 2006 Gabriel Somlo <somlo@cmu.edu> 6pl1-10
0a694db
- gave up on conditional build-requires for X based on fedora version
0a694db
51c1aed
* Sun Jun 04 2006 Gabriel Somlo <somlo@cmu.edu> 6pl1-9
51c1aed
- added patch containing latest cvs fixes
51c1aed
- both monolithic and modular X supported in the same specfile (to be removed when we drop support for fc4)
51c1aed
- added patch by zpetkovic@acm.org for dynamic config string termination bug
51c1aed
- cvs patch screws up ALT key define, subsequent config patch puts it back
51c1aed
40d8679
* Fri May 19 2006 Gabriel Somlo <somlo@cmu.edu> 6pl1-8
40d8679
- Don't strip binary during install to preserve debuginfo (bugzilla #192435)
40d8679
45afd9b
* Thu Feb 16 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net>
45afd9b
- Fixed 64-bit build
45afd9b
15c435b
* Sat Dec 31 2005 Gabriel Somlo <somlo@cmu.edu> 6pl1-7
15c435b
- added BuildRequires for X
15c435b
15c435b
* Thu Dec 29 2005 Gabriel Somlo <somlo@cmu.edu> 6pl1-6
15c435b
- more spec file fixes as per I. Vazquez
15c435b
- default startup script tweaks
15c435b
15c435b
* Mon Dec 19 2005 Gabriel Somlo <somlo@cmu.edu> 6pl1-5
15c435b
- removed example .xsession file
15c435b
- added /etc/X11/xinit/Xclients.d/Xclients.wmx.sh startup script
15c435b
- fixed up some of the default menu entries
15c435b
15c435b
* Mon Dec 19 2005 Gabriel Somlo <somlo@cmu.edu> 6pl1-4
15c435b
- spec file fixes as per J. Carlson
15c435b
- desktop file for xdm login screen
15c435b
15c435b
* Fri Dec 16 2005 Gabriel Somlo <somlo@cmu.edu> 6pl1-3
15c435b
- spec file fixes as per P. Lemenkov and I. Vazquez
15c435b
- default menu entries now go in /usr/share/wmx/menu
31fa191
- example wmx .xsession file added to doc
9268e81
- gave up on using /usr/X11R6/bin -- using bindir instead
15c435b
15c435b
* Wed Dec 14 2005 Gabriel Somlo <somlo@cmu.edu> 6pl1-2
15c435b
- increased bump-distance parameter for easier placement at edge of screen
15c435b
- 'fix' patch now cleans up dead files from source directory
15c435b
15c435b
* Wed Sep 07 2005 Gabriel Somlo <somlo@cmu.edu> 6pl1-1
15c435b
- upgrade to 6pl1
15c435b
- added better looking window-tab background.xpm
15c435b
- fixed license (bsd, not gpl)
15c435b
15c435b
* Tue Aug 09 2005 Gabriel Somlo <somlo@cmu.edu> 6pl1-0
15c435b
- rebuilt for Fedora Core 4
15c435b
15c435b
* Wed May 23 2004 Gabriel Somlo <somlo@acns.colostate.edu>
15c435b
- initial spec and packages.