# -*- mode: rpm-spec; coding: utf-8 -*- %define realname icewm %define gitrev .gitcbb3423 Name: %realname-githubmod Version: 1.3.12.56 Release: alt1%gitrev.M70T.1 Summary: X11 Window Manager Group: Graphical desktop/Icewm License: LGPLv2 Url: http://www.icewm.org Packager: Dmitriy Khanzhin Provides: %realname = %version-%release Provides: %realname-light = %version-%release Requires: design-%realname >= 1.0-alt6 Conflicts: %realname-light Source0: %name.tar Source2: %realname.menu-method Source3: %realname-16.png Source4: %realname-32.png Source5: %realname-48.png Source6: start%realname Source7: IceWM.xpm Source8: %realname.wmsession Source9: README.ALT Source11: restart Source12: icewm-old-changelog.bz2 Patch0: %name-%version-%release.patch BuildRequires(pre): rpm-macros-cmake # Automatically added by buildreq on Sat Apr 11 2015 BuildRequires: OpenSP cmake gcc-c++ libSM-devel libXext-devel libXft-devel BuildRequires: libXinerama-devel libXrandr-devel libalsa-devel libesd-devel BuildRequires: libgdk-pixbuf-devel libsndfile-devel linuxdoc-tools perl-parent %description Window Manager for X Window System. Can emulate the look of Windows'95, OS/2 Warp 3,4, Motif or the Java Metal GUI. Tries to take the best features of the above systems. Features multiple workspaces, opaque move/resize, task bar, window list, mailbox status, digital clock. Fast and small. This release is based on alternative source, based on a community fork maintained on Github https://github.com/bbidulock/icewm Recommends: iftop, mutt %prep %setup -n %name %patch0 -p1 %build %cmake -DCFGDIR=%_sysconfdir/X11/%realname -DPREFIX=%_prefix \ -DLIBDIR=%_x11x11dir/%realname -DCONFIG_GUIEVENTS=on \ -DICESOUND="ALSA,OSS,ESound" pushd BUILD %make_build popd %install pushd BUILD %makeinstall_std popd mkdir -p %buildroot%_sysconfdir/menu-methods install -m 755 %SOURCE2 %buildroot%_sysconfdir/menu-methods/%realname install -pD -m644 %SOURCE3 %buildroot%_miconsdir/%realname.png install -pD -m644 %SOURCE4 %buildroot%_niconsdir/%realname.png install -pD -m644 %SOURCE5 %buildroot%_liconsdir/%realname.png install -pD -m644 %SOURCE7 %buildroot%_pixmapsdir/IceWM.xpm install -pD -m644 %SOURCE8 %buildroot%_sysconfdir/X11/wmsession.d/04IceWM install -m644 %SOURCE9 README.ALT install -m644 %SOURCE12 icewm-old-changelog.bz2 mkdir -p %buildroot%_sysconfdir/X11/%realname install -m 755 %SOURCE6 %buildroot%_bindir/start%realname install -m 755 %SOURCE11 %buildroot%_sysconfdir/X11/%realname/restart %find_lang %realname # remove unpackaged files rm -f %buildroot/%_bindir/%realname-set-gnomewm mv %buildroot/%_x11x11dir/%realname/themes/default ./Default rm -rf %buildroot/%_x11x11dir/%realname/themes/* mv ./Default %buildroot/%_x11x11dir/%realname/themes/ rm -rf %buildroot/%_datadir/doc/%realname rm -rf %buildroot/%_datadir/xsessions %files -f %realname.lang %dir %_sysconfdir/X11/%realname %config(noreplace) %_sysconfdir/X11/%realname/restart %config(noreplace) %_sysconfdir/menu-methods/* %_sysconfdir/X11/wmsession.d/* %_bindir/* %dir %_x11x11dir/%realname %_x11x11dir/%realname/icons %_x11x11dir/%realname/ledclock %_x11x11dir/%realname/mailbox %_x11x11dir/%realname/taskbar %_x11x11dir/%realname/themes %_x11x11dir/%realname/keys %_x11x11dir/%realname/menu %_x11x11dir/%realname/preferences %_x11x11dir/%realname/programs %_x11x11dir/%realname/toolbar %_x11x11dir/%realname/winoptions %_niconsdir/* %_miconsdir/* %_liconsdir/* %_pixmapsdir/* %_man1dir/* %doc AUTHORS NEWS README.ALT README.md BUILD/doc/*.html icewm-old-changelog.bz2 %changelog * Mon Nov 14 2016 Dmitriy Khanzhin 1.3.12.56-alt1.gitcbb3423.M70T.1 - built for t7 * Sun Nov 13 2016 Dmitriy Khanzhin 1.3.12.56-alt2.gitcbb3423 - don't install debian-menu file, also desktop file - packaged theme "Default" * Tue Oct 04 2016 Dmitriy Khanzhin 1.3.12.56-alt1.gitcbb3423 - git snapshot cbb3423 (ALT #32034, fixed in upstream) - added support chromium and palemoon in toolbar (ALT #32504) * Sun Mar 20 2016 Dmitriy Khanzhin 1.3.12-alt2.gitb60d6d4 - git snapshot b60d6d4 * Sun Dec 20 2015 Dmitriy Khanzhin 1.3.12-alt1 - 1.3.12 release * Mon Oct 05 2015 Dmitriy Khanzhin 1.3.11-alt2 - added Obsoletes - added README.ALT - fixed Url * Wed Sep 23 2015 Dmitriy Khanzhin 1.3.11-alt0.M70T.1 - built for t7 * Tue Sep 22 2015 Dmitriy Khanzhin 1.3.11-alt1 - 1.3.11 release * Sun Jul 05 2015 Dmitriy Khanzhin 1.3.10-alt0.M70T.1 - built for t7 * Sun Jul 05 2015 Dmitriy Khanzhin 1.3.10-alt1 - 1.3.10 release - updated reboot/shutdown commands for use with systemd and sysvinit - extended strong control of startup sequence in icewm-session * Mon May 04 2015 Dmitriy Khanzhin 1.3.9-alt0.M70T.4.git960629d - built for t7 * Mon May 04 2015 Dmitriy Khanzhin 1.3.9-alt4.git960629d - added forgotten requires to design-icewm * Thu Apr 30 2015 Dmitriy Khanzhin 1.3.9-alt0.M70T.3.git960629d - built for t7 * Thu Apr 30 2015 Dmitriy Khanzhin 1.3.9-alt3.git960629d - git snapshot 960629d - old changelog cut off to separate file - added conflict to icewm-light * Tue Apr 14 2015 Dmitriy Khanzhin 1.3.9-alt0.M70T.2.gite97394f - built for t7 * Tue Apr 14 2015 Dmitriy Khanzhin 1.3.9-alt2.gite97394f - added support fd.o-style icons * Tue Apr 14 2015 Dmitriy Khanzhin 1.3.9-alt0.M70T.1.gite97394f - built for t7 * Tue Apr 14 2015 Dmitriy Khanzhin 1.3.9-alt1.gite97394f - initial build for altlinux