Package icewm-githubmod

Download icewm-githubmod.spec
# -*- mode: rpm-spec; coding: utf-8 -*-
%define realname icewm
%define gitrev .gitcbb3423

Name: %realname-githubmod
Release: alt1%gitrev.M70T.1

Summary: X11 Window Manager
Group: Graphical desktop/Icewm
License: LGPLv2
Packager: Dmitriy Khanzhin <>

Provides: %realname = %version-%release
Provides: %realname-light = %version-%release
Requires: design-%realname >= 1.0-alt6
Conflicts: %realname-light

Source0: %name.tar
Source3: %realname-16.png
Source4: %realname-32.png
Source5: %realname-48.png
Source6: start%realname
Source7: IceWM.xpm
Source8: %realname.wmsession
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

 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

Recommends: iftop, mutt

%setup -n %name
%patch0 -p1

%cmake	-DCFGDIR=%_sysconfdir/X11/%realname -DPREFIX=%_prefix \
	-DLIBDIR=%_x11x11dir/%realname -DCONFIG_GUIEVENTS=on  \
pushd BUILD

pushd BUILD

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/*
%dir %_x11x11dir/%realname

%doc AUTHORS NEWS README.ALT BUILD/doc/*.html icewm-old-changelog.bz2

* Mon Nov 14 2016 Dmitriy Khanzhin <>
- built for t7

* Sun Nov 13 2016 Dmitriy Khanzhin <>
- don't install debian-menu file, also desktop file
- packaged theme "Default"

* Tue Oct 04 2016 Dmitriy Khanzhin <>
- 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
Back to Top