Name: wmii Version: 3.5.1 Release: 1%{?dist} Summary: Dynamic window manager improved 2 for X11 Group: User Interface/Desktops License: MIT URL: http://wmii.de Source0: http://suckless.org/download/wmii-%{version}.tar.gz Source1: wmii.desktop Patch0: wmii-3.5.1-flags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: xorg-x11-proto-devel libixp-devel Requires: dmenu libixp %description wmii is a dynamic window manager for X11. It supports classic and dynamic window management with extended keyboard, mouse, and filesystem based remote control. It replaces the workspace paradigm with a new tagging approach. Its minimalist philosophy attempts to not exceed 10.000 lines of code (including all shipped utilities and libraries), to enforce simplicity and clarity. %prep %setup -q %patch0 -p1 sed -i 's/\t@/\t/' Makefile %build export CFLAGS="$RPM_OPT_FLAGS" export LDFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} \ PREFIX="%{_prefix}"\ MANPREFIX="%{_mandir}"\ CONFPREFIX="%{_sysconfdir}"\ CC="gcc" %install rm -rf $RPM_BUILD_ROOT export CFLAGS="$RPM_OPT_FLAGS" export LDFLAGS="$RPM_OPT_FLAGS" make install DESTDIR=$RPM_BUILD_ROOT\ PREFIX="%{_prefix}"\ MANPREFIX="%{_mandir}"\ CONFPREFIX="%{_sysconfdir}"\ CC="gcc" mkdir -p $RPM_BUILD_ROOT%{_datadir}/xsessions/ install -m 0644 -p %SOURCE1 $RPM_BUILD_ROOT%{_datadir}/xsessions/ %clean rm -rf $RPM_BUILD_ROOT %files %defattr(0644,root,root,0755) %doc LICENSE README %{_mandir}/man1/wmii* %{_datadir}/xsessions/%{name}.desktop %defattr(0755,root,root,0755) %config(noreplace) %{_sysconfdir}/wmii-3.5/ %{_bindir}/wmii* %changelog * Wed Feb 28 2007 Till Maas - 3.5.1-1 - initial spec for Fedora Extras