3 %bcond_without gradients # disable gradients (requires antialiasing which requires freetype)
4 %bcond_without freetype # disable xfreetype support (implies !with_antialiasing)
5 %bcond_without guievents # disable guievents
8 # - make a PLD-theme - default :]
10 Summary: IceWM X11 Window Manager
11 Summary(de.UTF-8): IceWM ist ein Window Manager für X
12 Summary(es.UTF-8): Administrador de Ventanas X11
13 Summary(pl.UTF-8): IceWM - zarządca okienek X11
14 Summary(pt_BR.UTF-8): Gerenciador de Janelas X11
15 Summary(ru.UTF-8): Оконный менеджер для X11
16 Summary(uk.UTF-8): Віконний менеджер для X11
19 %define _iceicons_ver 0.6
20 %define _netscapeicons_ver 0.2
24 Group: X11/Window Managers
25 Source0: http://dl.sourceforge.net/icewm/%{name}-%{version}.tar.gz
26 # Source0-md5: 224695231aedb2b91db3254a13e1c8dd
27 Source1: IceWM.desktop
28 Source3: http://dl.sourceforge.net/icewm/iceicons-%{_iceicons_ver}.tar.gz
29 # Source3-md5: 53ed111a3c4d1e609bd1604ddccd4701
31 Source6: http://dl.sourceforge.net/icewm/netscapeicons-%{_netscapeicons_ver}.tar.gz
32 # Source6-md5: 409aa9b02adc11309ed546c5120c01d2
33 Source7: %{name}-xsession.desktop
34 Patch0: %{name}-build-fixes.patch
35 Patch1: %{name}-tray_hotfixes.patch
36 Patch2: %{name}-fix_input_focus_loss_for_deiconified_frame_1.patch
37 Patch3: %{name}-ifstate-exact-check.patch
38 Patch4: %{name}-imap-unseen.patch
39 URL: http://www.icewm.org/
40 BuildRequires: autoconf >= 2.50
41 BuildRequires: automake
42 BuildRequires: gdk-pixbuf-devel
43 BuildRequires: gettext-devel
44 BuildRequires: gtk+2-devel
45 BuildRequires: kde4-kde3support
46 BuildRequires: libstdc++-devel
47 BuildRequires: pkgconfig
48 BuildRequires: xorg-lib-libICE-devel
49 BuildRequires: xorg-lib-libSM-devel
50 BuildRequires: xorg-lib-libX11-devel
51 %{?with_freetype:BuildRequires: xorg-lib-libXft-devel >= 2.1}
52 BuildRequires: xorg-lib-libXinerama-devel
53 %{?with_guievents:BuildRequires: yiff-devel}
54 Requires(pre): fileutils
55 Requires(pre): sh-utils
56 Requires: shared-mime-info
58 Suggests: vfmg >= 0.9.95
59 Conflicts: filesystem < 3.0-20
60 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62 %define _wmstyledir /etc/sysconfig/wmstyle
63 %define _wmpropsdir /usr/share/gnome/wm-properties
64 %define specflags_ia32 -fomit-frame-pointer
67 Window Manager for X Window System. Can emulate the look of
68 Windows'95, OS/2 Warp 3,4, Motif. Tries to take the best features of
69 the above systems. Features multiple workspaces, opaque move/resize,
70 task bar, window list, mailbox status, digital clock. Fast and small.
72 %description -l es.UTF-8
73 Administrador de Ventanas para el X Window. Puede emular la apariencia
74 del Windows'95, OS/2 Warp 3 y 4 y el Motif. Intenta usar las mejores
75 características de los sistemas citados. Características: varios
76 ambientes de trabajo, movimiento/ redimensionamiento opaco, barra de
77 tareas, lista de ventanas, estado de la caja de entrada del correo y
78 reloj digital. Rápido y pequeño.
80 %description -l pl.UTF-8
81 Zarządca okienek pod X11. Może emulować wygląd Windows'95, OS/2 Warp
82 3, 4, MWM. Zarządca ten próbuje przejąć z powyższych środowisk ich
83 najlepsze cechy, takie jak: wiele jednocześnie obecnych przestrzeni
84 roboczych, paski narzędziowe, status skrzynki z pocztą, cyfrowy zegar.
85 Jest przy tym mały i szybki.
87 %description -l pt_BR.UTF-8
88 Gerenciador de Janelas para o X Window. Pode emular a aparência do
89 Windows'95, OS/2 Warp 3 e 4 e o Motif. Tenta usar as melhores
90 características dos sistemas citados. Características: vários
91 ambientes de trabalho, movimentação/ redimensionamento opaco, barra de
92 tarefas, lista de janelas, status da caixa de entrada do correio e
93 relógio digital. É rápido e pequeno.
95 %description -l ru.UTF-8
96 Оконный менеджер для X Window System. Может эмулировать внешний вид
97 Windows'95, OS/2 Warp 3,4, Motif. Старается взять лучшее из упомянутых
98 систем. Поддерживает несколько рабочих поверхностей, непрозрачное
99 перемещение окон, полоску заданий, список окон, статус почтового
100 ящика, цифровые часы. Быстрый и компактный.
102 %description -l uk.UTF-8
103 Віконний менеджер для X Window System. Може емулювати зовнішній вигляд
104 Windows'95, OS/2 Warp 3,4, Motif. Намагається взяти найкраще із
105 згаданих систем. Підтримує кілька робочих площин, непрозоре
106 переміщення вікон, смужку завдань, список вікон, стан поштової
107 скриньки, цифровий годинник. Швидкий та компактний.
109 %description -l de.UTF-8
110 IceWM ist ein in C++ programmierter, unter GPL stehender
111 Fenstermanager für das X11-Fenstersystem. Ziel von IceWM ist
112 Geschwindigkeit, Schlichtheit und Bedienerfreundlichkeit.
114 In der Standardeinstellung erinnert das Design von IceWM stark an
115 Microsoft Windows: Er verfügt über eine Taskleiste am unteren
116 Bildrand, das aktive Fenster lässt sich mit der Tastenkombination
117 ALT-TAB wechseln, etc.
120 Summary: Pack of themes for IceWM
121 Summary(pl.UTF-8): Zestaw motywów dla IceWM-a
125 %description themes-base
126 Standard pack of themes delivered with IceWM. All of them made by
127 Marko Macek: gtk2, metal2, motif, nice, nice2, warp3, warp4, win95.
129 %description themes-base -l pl.UTF-8
130 Standardowy zestaw motywów dla IceWM-a, dostarczany wraz z nim.
131 Wszystkie stworzone przez Marko Macka: gtk2, metal2, motif, nice,
132 nice2, warp3, warp4, win95.
147 cp -f /usr/share/automake/config.sub .
152 %{!?with_gradients:--disable-gradients} \
153 %{!?with_freetype:--disable-xfreetype --enable-corefonts} \
154 %{?with_guievents:--enable-guievents} \
155 --enable-shaped-decorations \
156 --with-cfgdir=%{_sysconfdir}/X11/%{name} \
157 --with-docdir=%{_docdir}
161 rm -rf $RPM_BUILD_ROOT
162 install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_pixmapsdir},%{_wmstyledir}} \
163 $RPM_BUILD_ROOT{%{_wmpropsdir},%{_sysconfdir}/X11/%{name}}
166 DESTDIR=$RPM_BUILD_ROOT
168 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
169 install %{SOURCE4} $RPM_BUILD_ROOT%{_wmstyledir}/%{name}-session.sh
170 install %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
171 install lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/keys
172 sed 's|^# IconPath=""|IconPath="%{_datadir}/pixmaps:%{_datadir}/icons"|' < lib/preferences > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/preferences
173 install lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/toolbar
174 install lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/winoptions
175 echo %{_bindir}/icewmbg > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/startup
176 :> $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/restart
178 ln -s %{_datadir}/icewm/icons $RPM_BUILD_ROOT%{_pixmapsdir}/icewm
180 echo "menuprog \"Programs\" %{_datadir}/icewm/icons/folder_16x16.xpm vfmg -i -f -x -c -s icewm" > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu
185 rm -rf $RPM_BUILD_ROOT
188 test -h %{_pixmapsdir}/icewm || rm -rf %{_pixmapsdir}/icewm
190 %files -f %{name}.lang
191 %defattr(644,root,root,755)
192 %doc AUTHORS BUGS CHANGES PLATFORMS README* TODO icewm.lsm doc/*.html
193 %attr(755,root,root) %{_bindir}/*
194 %dir %{_sysconfdir}/X11/%{name}
195 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/[!rs]*
196 %config(noreplace,missingok) %verify(not md5 mtime size) %attr(755,root,root) %{_sysconfdir}/X11/%{name}/[rs]*
198 %dir %{_datadir}/icewm
199 %{_datadir}/icewm/icons
200 %{_datadir}/icewm/ledclock
201 %{_datadir}/icewm/mailbox
202 %{_datadir}/icewm/taskbar
203 %dir %{_datadir}/icewm/themes
204 %{_datadir}/icewm/themes/Infadel2
205 %{_datadir}/icewm/themes/icedesert
206 %{_datadir}/xsessions/%{name}.desktop
208 %attr(755,root,root) %{_wmstyledir}/%{name}-session.sh
211 %defattr(644,root,root,755)
212 %{_datadir}/icewm/themes/gtk2
213 %{_datadir}/icewm/themes/metal2
214 %{_datadir}/icewm/themes/motif
215 %{_datadir}/icewm/themes/nice
216 %{_datadir}/icewm/themes/nice2
217 %{_datadir}/icewm/themes/warp3
218 %{_datadir}/icewm/themes/warp4
219 %{_datadir}/icewm/themes/win95
220 %{_datadir}/icewm/themes/yellowmotif