# Enable LTO optimization %global optflags %{optflags} -flto %global build_ldflags %{build_ldflags} -flto Name: icewm Version: 1.5.5 Release: 7%{?dist} Summary: Window manager designed for speed, usability, and consistency License: LGPLv2+ URL: https://github.com/bbidulock/icewm Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz # https://www.box-look.org/p/1310273/ Source1: IceClearlooks2-ColorsMas_theme_pack-0.8.tar.bz2 Source11: %{name}-fedora.tar.xz # https://www.box-look.org/p/1266477/ Source2: KDE-Core-20181026134422.tar.bz2 # https://www.box-look.org/p/1163246/ Source3: Windows7ice1.tar.xz # Better fonts Source4: local.conf Patch0: %{name}-keys.patch Patch1: %{name}-toolbar.patch Patch2: %{name}-default-theme.patch BuildRequires: asciidoc BuildRequires: autoconf BuildRequires: automake BuildRequires: fribidi-devel BuildRequires: gcc-c++ BuildRequires: giflib-devel BuildRequires: gnome-vfs2-devel BuildRequires: imlib-devel BuildRequires: libgnomeui-devel BuildRequires: libICE-devel BuildRequires: libjpeg-turbo-devel BuildRequires: libtool BuildRequires: libXft-devel BuildRequires: libXinerama-devel BuildRequires: perl-Pod-Html BuildRequires: popt-devel BuildRequires: xorg-x11-proto-devel BuildRequires: intltool BuildRequires: pkgconfig(xpm) BuildRequires: libsndfile-devel BuildRequires: librsvg2-devel %if 0%{?fedora} BuildRequires: gnome-desktop-devel BuildRequires: gdk-pixbuf2-xlib-devel %endif Requires: alsa-utils Requires: gnome-icon-theme Requires: xdg-utils Requires: xterm Recommends: abattis-cantarell-fonts Recommends: gnome-backgrounds Recommends: gnome-terminal Recommends: redshift-gtk Recommends: rofi Suggests: deepin-screenshot %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. %prep %setup -q %patch0 -p1 %patch1 -p1 %setup -q -D -T -a 1 %setup -q -D -T -a 11 %patch2 -p1 %setup -q -D -T -a 2 %setup -q -D -T -a 3 %build # Enable LTO optimization export AR=%{_bindir}/gcc-ar export RANLIB=%{_bindir}/gcc-ranlib export NM=%{_bindir}/gcc-nm autoreconf -vif %configure \ %if 0%{?fedora} --enable-menus-gnome2 \ %endif --with-cfgdir=%{_sysconfdir}/%{name} %make_build %install %make_install mv IceClearlooks2-* %{buildroot}%{_datadir}/%{name}/themes/ cp -rf icewm-fedora/themes %{buildroot}%{_datadir}/%{name}/ mv KDE-Core %{buildroot}%{_datadir}/%{name}/themes/ mv Windows7ice1 %{buildroot}%{_datadir}/%{name}/themes/ echo "Theme=\"IceClearlooks2-Magi/default.theme\"" > %{buildroot}%{_datadir}/icewm/theme mkdir -p %{buildroot}/%{_sysconfdir}/fonts install -p -m 644 %{SOURCE4} %{buildroot}/%{_sysconfdir}/fonts/ %find_lang %{name} # Better font rendering on non HiDPI screens # %%post # ln -s /usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf /etc/fonts/conf.d/ # ln -s /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d/ %files -f %{name}.lang %doc README.md %license COPYING %{_bindir}/%{name}-menu-fdo %{_bindir}/%{name}-menu-xrandr %{_bindir}/%{name}-session %{_bindir}/%{name}-set-gnomewm %{_bindir}/icehelp %{_bindir}/icesh %{_bindir}/icesound %{_bindir}/icewmbg %{_bindir}/icewmhint %{_bindir}/icewmtray %{_datadir}/%{name} %{_datadir}/doc/%{name} %{_datadir}/xsessions/%{name}-session.desktop %{_datadir}/xsessions/%{name}.desktop %{_mandir}/man1/*.1.* %{_mandir}/man5/*.5.* %{_sysconfdir}/fonts/local.conf %changelog * Sun Jun 09 2019 Artem Polishchuk - 1.5.5-2 - Update to 1.5.5 * Fri Jul 13 2018 Fedora Release Engineering - 1.3.8-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.3.8-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 1.3.8-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.3.8-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.3.8-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jan 3 2017 Tom Callaway - 1.3.8-11 - move fedora logos out * Thu Feb 04 2016 Fedora Release Engineering - 1.3.8-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Dec 10 2015 Peter Robinson 1.3.8-9 - Require agnostic system-logos * Mon Dec 7 2015 Peter Robinson 1.3.8-8 - Add Fedora conditionals to enable single Fedora/EPEL spec * Wed Jun 17 2015 Fedora Release Engineering - 1.3.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 1.3.8-6 - Rebuilt for GCC 5 C++11 ABI change * Fri Mar 20 2015 Richard Hughes - 1.3.8-5 - Rebuilt for gdk-pixbuf2-xlib split * Sat Aug 16 2014 Fedora Release Engineering - 1.3.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Mon Jun 16 2014 Peter Robinson 1.3.8-3 - Fix FTBFS on new architectures (aarch64/ppc64le) - Cleanup and modernise spec * Sat Jun 07 2014 Fedora Release Engineering - 1.3.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Dec 16 2013 Gilboa Davara - 1.3.8-1 - 1.3.38. - Clearlooks_v3: clearlooks_2px added. Should solve #981758 and #960663. * Sat Aug 03 2013 Fedora Release Engineering - 1.3.7-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sun Jun 09 2013 Gilboa Davara - 1.3.7-9 - Fix #925574 by calling autoconf. (Temporary solution, pending upsteam fix). * Thu Feb 14 2013 Fedora Release Engineering - 1.3.7-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Nov 6 2012 Gilboa Davara - 1.3.7-7 - Updated clearlooks package (#811331). - (Blunder alert) Finally pushes gnome-icon-theme change to stable. * Thu Jul 19 2012 Fedora Release Engineering - 1.3.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sun Jun 10 2012 Gilboa Davara - 1.3.7-5 - Bluecurve is still used for menu generation. - "Rebuild program menu" menu entry added. * Sun Jun 10 2012 Gilboa Davara - 1.3.7-4 - Emacs replaced fixes (BZ #805939, Ported Debian fix). - Use gnome-icon-theme instead of bluecurve (BZ #811335). - Gcc 4.7 compile fix. - spec cleanup. * Sun Mar 4 2012 Gilboa Davara - 1.3.7-3 - Fix missing bluecurve-icon-theme in EL-6. - Start menu icon should now be generated correctly on both Fedora and EPEL. * Fri Jan 13 2012 Fedora Release Engineering - 1.3.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Nov 11 2011 Gilboa Davara - 1.3.7-1 - Switch to 1.3.7 tree. - Fixes bugs: #694532, #689804, #696291, #694622, #716218, #754124. - Add Marcus Moeller's menu icon size and wmclient patches. - Missing license information for icewm-xdg-menu. * Wed Feb 09 2011 Fedora Release Engineering - 1.2.37-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * 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 * Thu 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) * Tue 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. * Thu 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.) * Thu Jan 11 2007 - 1.2.30-2 - Manually add missing man page. * Thu Jan 11 2007 - 1.2.30-1 - Initial release.