%global clearlooks_version 0.9 Name: icewm Version: 1.3.7 Release: 4%{?dist} Summary: Light and configurable window manager Group: User Interface/Desktops License: LGPLv2+ URL: http://www.icewm.org Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source1: icewm.desktop Source2: icewm-startup Source3: http://mmoeller.fedorapeople.org/icewm/themes/clearlooks-%{clearlooks_version}.tar.gz Source4: http://mmoeller.fedorapeople.org/icewm/icewm-xdg-menu/icewm-xdg-menu Source5: icewm-startup BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: giflib-devel BuildRequires: libXinerama-devel BuildRequires: imlib-devel BuildRequires: xorg-x11-proto-devel BuildRequires: libXinerama-devel BuildRequires: libXft-devel BuildRequires: libICE-devel BuildRequires: gettext BuildRequires: gnome-desktop-devel BuildRequires: fribidi-devel BuildRequires: libgnomeui-devel BuildRequires: gnome-vfs2-devel BuildRequires: popt BuildRequires: popt-devel Requires: bluecurve-icon-theme Requires: alsa-utils Requires: xterm Requires: xdg-utils Patch0: icewm-configure.patch Patch1: icewm-wmclient.patch Patch2: icewm-1.3.7-menuiconsize.patch %description IceWM is a window manager for the X Window System (freedesktop, XFree86). The goal of IceWM is speed, simplicity, and not getting in the user's way. %package gnome Summary: GNOME menu support for IceWM window manager Group: User Interface/Desktops Requires: gnome-menus Requires: icewm = %{version}-%{release} %description gnome IceWM-gnome adds gnome-menu support for the IceWM window manager. %package xdgmenu License: Public Domain Summary: Automatically generate the main IceWM menu Group: User Interface/Desktops Requires: pyxdg Requires: icewm = %{version}-%{release} %description xdgmenu IceWM-xdgmenu generates static IceWM menu files from the existing freedesktop.org .desktop files. Files are re-generated each time the user logs-in. %package clearlooks Summary: Clearlooks like theme for IceWM Group: User Interface/Desktops BuildArch: noarch Requires: ImageMagick Requires: icewm = %{version}-%{release} %description clearlooks An IceWM theme that mimics the GNOME ClearLooks theme used by older Fedora releases and RHEL. %prep %setup -q %patch0 -p1 -b .configure %patch1 -p0 %patch2 -p1 iconv -f iso8859-1 -t utf-8 CHANGES > CHANGES.conv && mv -f CHANGES.conv CHANGES %build # Configure sets the CXXFLAGS to: -fpermissive -fno-exceptions -fno-rtti -Wxxx... # In general it doesn't seem to break anything. BZ# if you hit something bad. ./autogen.sh %configure --enable-gradients \ --enable-antialiasing \ --enable-i18n \ --enable-menus-gnome2 \ --disable-menus-gnome1 \ --with-cfgdir=%{_sysconfdir}/icewm make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 %{__install} -p -m 644 doc/icewm.1.man $RPM_BUILD_ROOT/%{_mandir}/man1/icewm.1 %{__install} -p -m 755 %{SOURCE4} $RPM_BUILD_ROOT/%{_bindir} %{__install} -p -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/icewm/startup %{__install} -p -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/icewm/startup mkdir -p $RPM_BUILD_ROOT/%{_datadir}/xsessions/ %{__install} -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/ mkdir -p $RPM_BUILD_ROOT%{_datadir}/icewm/themes tar -C $RPM_BUILD_ROOT%{_datadir}/icewm/themes -xzf %{SOURCE3} mv $RPM_BUILD_ROOT%{_datadir}/icewm/themes/clearlooks-%{clearlooks_version} $RPM_BUILD_ROOT%{_datadir}/icewm/themes/clearlooks echo "Theme=\"clearlooks/default.theme\"" > $RPM_BUILD_ROOT%{_datadir}/icewm/theme %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %post clearlooks [ ! -z "$(cat /etc/issue | grep Fedora)" ] && \ [ -d /usr/share/icewm/themes/clearlooks ] && [ -x /usr/bin/convert ] && \ convert /usr/share/icons/hicolor/24x24/apps/fedora-logo-icon.png \ /usr/share/icewm/themes/clearlooks/taskbar/icewm.xpm || echo -n %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS BUGS CHANGES COPYING README README.wm-session TODO doc/*.html %exclude %{_datadir}/icewm/startup %exclude %{_datadir}/icewm/themes/clearlooks %{_datadir}/icewm %{_datadir}/xsessions/icewm.desktop %{_mandir}/man1/icewm.1* %{_bindir}/icewmbg %{_bindir}/icehelp %{_bindir}/icesh %{_bindir}/icewm %{_bindir}/icewm-session %{_bindir}/icewmhint %{_bindir}/icewmtray %files gnome %defattr(-,root,root,-) %{_bindir}/icewm-menu-gnome2 %{_bindir}/icewm-set-gnomewm %files xdgmenu %defattr(-,root,root,-) %{_bindir}/icewm-xdg-menu* %{_datadir}/icewm/startup %files clearlooks %defattr(-,root,root,-) %{_datadir}/icewm/themes/clearlooks %changelog * Thu Nov 17 2011 Marcus Moeller - 1.3.7-4 - added license information for icewm-xdg-menu * Wed Nov 16 2011 Marcus Moeller - 1.3.7-3 - added menuiconsize patch * Tue Nov 15 2011 Marcus Moeller - 1.3.7-2 - added wmclient patch * Tue Nov 15 2011 Marcus Moeller - 1.3.7-1 - initial build of 1.3.7 * Fri Jan 22 2010 Gilboa Davara - 1.2.37-7 - Fix missing backspace. - Fix duplicate clearlooks theme. (#545268) * Fri Jan 22 2010 Rahul Sundaram - 1.2.37-6 - Rebuild for libgnome-desktop soname bump - Fix mixed use of tabs and spaces * Wed Sep 24 2009 Gilboa Davara - 1.2.37-5 - Patch in missing fribidi support. (#515134) * Fri Jul 24 2009 Fedora Release Engineering - 1.2.37-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Jul 15 2009 Gilboa Davara - 1.2.37-1 - 1.2.37. - Fix missing directory ownership. (#483346) * Tue Feb 24 2009 Fedora Release Engineering - 1.2.36-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Jan 6 2009 Caolán McNamara - 1.2.36-3 - pkg-config --cflags gnome-desktop-2.0 doesn't implicitly include libgnomeui-2.0 anymore, so add it in explicitly * Mon Jan 5 2009 Gilboa Davara - 1.2.36-2 - Missing BR libgnomeui-devel. (devel) - Missing BR gnome-vfs2-devel. (devel) * Thu Jan 24 2008 - 1.2.35-3 - Fix broken -devel BR (truetype). * Sat Jan 19 2008 - 1.2.35-2 - Disable xorg-x11-fonts-truetype in -devel. * Mon Jan 14 2008 - 1.2.35-1 - 1.2.35. - Missing BR: xorg-x11-fonts-truetype. (#351811) * Wed Oct 09 2007 - 1.2.32-5 - EL-5 support. - Missing BR - libgif-devel. - Devel: Replace redhat-artwork with bluecurve-icon-theme. * Sun Sep 02 2007 - 1.2.32-4 - Fix mangled if/else. (Again...) * Sat Sep 01 2007 - 1.2.32-3 - Fix missing BR: libXinerama-devel. - Fix broken source file. * Mon Aug 27 2007 - 1.2.32-2 - Fix bad %%{_fedora} if/else. * Sun Aug 26 2007 - 1.2.32-1 - Fixed license tag. - Fixed F8 BR - popt-devel. - Remove APMstatus fix. - 1.2.32 * Mon Apr 09 2007 - 1.2.30-13 - APMStatus crash fix. (Icewm #1696182) * Sat Feb 10 2007 - 1.2.30-12 - Add missing dot in the -gnome sub-package description. - Replace REQ icewm (in both -gnome and -xdgmenu) with icewm-x.x.x. - Fix -xdgmenu file list and %%install section. - Preserve the source time-stamp. * Sun Feb 04 2007 - 1.2.30-11 - Remove .Xdefaults fix from startup. (reported upstream). - Replace buildroot with RPM_BUILD_ROOT. * Sun Jan 28 2007 - 1.2.30-10 - Missing REQ: icewm (both -gnome and -xdgmenu) - Updated menu.in patch. - Updated startup script. (-xdgmenu) - Updated icewm-xdg-menu script. (-xdgmenu) * Thu Jan 25 2007 - 1.2.30-9 - Remove redundant icewm-xdg-menu* %%file entry. - Change sub-package name to xdgmenu. - Move icewm-xdg-menu to xdgmenu sub-package. - Removed the icewm-generate-menu script. * Sat Jan 20 2007 - 1.2.30-8 - Fix source1 URL. (2nd is a winner) - Fix -gnome summery. - New sub-package: icewm-xdg-menu - ALPHA: icewm-generate-menu script added to use icewm-xdg-menu to generate static menus. * Sat Jan 20 2007 - 1.2.30-7 - Fix source1 URL. - Fix xdg-menu* owner. - Replace default terminal icon to reduce dep-chain. - Fix icewm-gnome description. - Replace install with %%{_install} - Push -gnome's BR to main package. - Change hard-coded sysconf path. * Tue Jan 18 2007 - 1.2.30-6 - Change license back to LGPL. - Change summery. - New sub-package: -gnome. (GNOME menu support.) - Missing REQ: xterm. - Missing REQ: htmlview. - Remove redundant %%_sysconf section. - Remove redundant redhat-xxx icons. - New REQ: redhat-artwork. (icons) - Better man pages handling. - Customize keys to better match fedora. - New REQ: eject. (keys) - New REQ: alsautils. (keys) * Wed Jan 17 2007 - 1.2.30-5 - Fix Source0 URL. - Replace cp with install. - Do not gzip the man page, just copy it. - Use htmlview instead of firefox. - Use BlueCurve icons instead of the mozilla ones. - Re-fix lang support. - Return the default configuration files to %%_datadir - Add gdm session support. - Remove gnome-menus from default menu - replace it with pyxdg/icewm-xdg-menu. * Tue Jan 16 2007 - 1.2.30-4 - Fix man page name. - Remove missing menu items. - Convert GNOME-menu patch to configure.in patch. - Push default configuration into /etc/icewm - Remove the default KDE support. (At least for now) - Require firefox (default browser in Fedora). - Add missing firefox icon. (No source - manual convert) - Add missing gnome-menus. (required for GNOME2 menus) - Fix missing gettext BR. - Fix missing lang support. * Sat Jan 13 2007 - 1.2.30-3 - Fix wrong license. (Was LGPL, should be GPL.) * Tue Jan 11 2007 - 1.2.30-2 - Manually add missing man page. * Tue Jan 11 2007 - 1.2.30-1 - Initial release.