2 # - make a PLD-theme - default :]
5 %bcond_without gradients # gradients (requires antialiasing which requires freetype)
6 %bcond_without freetype # xfreetype support (implies no antialiasing)
7 %bcond_without guievents # GUI events
8 %bcond_without alsa # ALSA sound for GUI events
9 %bcond_with esd # EsounD sound for GUI events
10 %bcond_without yiff # YIFF sound for GUI events
11 %bcond_with gnome2 # support for GNOME2 menus and wm-properties
13 %if %{without guievents}
18 Summary: IceWM X11 Window Manager
19 Summary(de.UTF-8): IceWM ist ein Window Manager für X
20 Summary(es.UTF-8): Administrador de Ventanas X11
21 Summary(pl.UTF-8): IceWM - zarządca okienek X11
22 Summary(pt_BR.UTF-8): Gerenciador de Janelas X11
23 Summary(ru.UTF-8): Оконный менеджер для X11
24 Summary(uk.UTF-8): Віконний менеджер для X11
27 %define iceicons_ver 0.6
31 Group: X11/Window Managers
32 #Source0Download: https://github.com/ice-wm/icewm/releases
33 Source0: https://github.com/ice-wm/icewm/archive/%{version}/%{name}-%{version}.tar.gz
34 # Source0-md5: db9900056366adc163b2e501a5247bbc
35 Source1: IceWM.desktop
36 Source3: http://downloads.sourceforge.net/icewm/iceicons-%{iceicons_ver}.tar.gz
37 # Source3-md5: 53ed111a3c4d1e609bd1604ddccd4701
38 Source4: icewm-startup.sh
39 Patch0: %{name}-build-fixes.patch
40 URL: https://ice-wm.org/
41 %{?with_alsa:BuildRequires: alsa-lib-devel}
42 BuildRequires: asciidoc
43 BuildRequires: autoconf >= 2.69
44 BuildRequires: automake >= 1:1.13.4
45 %{?with_esd:BuildRequires: esound-devel}
46 BuildRequires: fontconfig-devel
47 BuildRequires: fribidi-devel >= 0.10.4
48 BuildRequires: gdk-pixbuf2-xlib-devel >= 2.0
49 BuildRequires: gettext-tools >= 0.19.6
50 BuildRequires: glib2-devel >= 2.0
51 %{?with_gnome2:BuildRequires: gnome-desktop2-devel >= 2.0}
52 %{?with_gnome2:BuildRequires: gnome-vfs2-devel >= 2.0}
53 %{?with_gnome2:BuildRequires: libgnomeui-devel >= 2.0}
54 %{?with_alsa:BuildRequires: libsndfile-devel}
55 BuildRequires: libstdc++-devel
56 BuildRequires: libtool >= 2:2.4.2
57 BuildRequires: pkgconfig
58 BuildRequires: sed >= 4.0
59 BuildRequires: xorg-lib-libICE-devel
60 BuildRequires: xorg-lib-libSM-devel
61 BuildRequires: xorg-lib-libX11-devel
62 BuildRequires: xorg-lib-libXext-devel
63 %{?with_freetype:BuildRequires: xorg-lib-libXft-devel >= 2.1}
64 BuildRequires: xorg-lib-libXinerama-devel
65 BuildRequires: xorg-lib-libXrandr-devel
66 %{?with_yiff:BuildRequires: yiff-devel >= 2.14.7-3}
67 Requires(pre): /bin/rm
68 Requires(pre): /usr/bin/test
69 Requires: shared-mime-info
71 Suggests: vfmg >= 0.9.95
72 Conflicts: filesystem < 3.0-20
73 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
75 %define _wmpropsdir /usr/share/gnome/wm-properties
76 %define specflags_ia32 -fomit-frame-pointer
79 Window Manager for X Window System. Can emulate the look of
80 Windows'95, OS/2 Warp 3,4, Motif. Tries to take the best features of
81 the above systems. Features multiple workspaces, opaque move/resize,
82 task bar, window list, mailbox status, digital clock. Fast and small.
84 %description -l es.UTF-8
85 Administrador de Ventanas para el X Window. Puede emular la apariencia
86 del Windows'95, OS/2 Warp 3 y 4 y el Motif. Intenta usar las mejores
87 características de los sistemas citados. Características: varios
88 ambientes de trabajo, movimiento/ redimensionamiento opaco, barra de
89 tareas, lista de ventanas, estado de la caja de entrada del correo y
90 reloj digital. Rápido y pequeño.
92 %description -l pl.UTF-8
93 Zarządca okienek pod X11. Może emulować wygląd Windows'95, OS/2 Warp
94 3, 4, MWM. Zarządca ten próbuje przejąć z powyższych środowisk ich
95 najlepsze cechy, takie jak: wiele jednocześnie obecnych przestrzeni
96 roboczych, paski narzędziowe, status skrzynki z pocztą, cyfrowy zegar.
97 Jest przy tym mały i szybki.
99 %description -l pt_BR.UTF-8
100 Gerenciador de Janelas para o X Window. Pode emular a aparência do
101 Windows'95, OS/2 Warp 3 e 4 e o Motif. Tenta usar as melhores
102 características dos sistemas citados. Características: vários
103 ambientes de trabalho, movimentação/ redimensionamento opaco, barra de
104 tarefas, lista de janelas, status da caixa de entrada do correio e
105 relógio digital. É rápido e pequeno.
107 %description -l ru.UTF-8
108 Оконный менеджер для X Window System. Может эмулировать внешний вид
109 Windows'95, OS/2 Warp 3,4, Motif. Старается взять лучшее из упомянутых
110 систем. Поддерживает несколько рабочих поверхностей, непрозрачное
111 перемещение окон, полоску заданий, список окон, статус почтового
112 ящика, цифровые часы. Быстрый и компактный.
114 %description -l uk.UTF-8
115 Віконний менеджер для X Window System. Може емулювати зовнішній вигляд
116 Windows'95, OS/2 Warp 3,4, Motif. Намагається взяти найкраще із
117 згаданих систем. Підтримує кілька робочих площин, непрозоре
118 переміщення вікон, смужку завдань, список вікон, стан поштової
119 скриньки, цифровий годинник. Швидкий та компактний.
121 %description -l de.UTF-8
122 IceWM ist ein in C++ programmierter, unter GPL stehender
123 Fenstermanager für das X11-Fenstersystem. Ziel von IceWM ist
124 Geschwindigkeit, Schlichtheit und Bedienerfreundlichkeit.
126 In der Standardeinstellung erinnert das Design von IceWM stark an
127 Microsoft Windows: Er verfügt über eine Taskleiste am unteren
128 Bildrand, das aktive Fenster lässt sich mit der Tastenkombination
129 ALT-TAB wechseln, etc.
132 Summary: Pack of themes for IceWM
133 Summary(pl.UTF-8): Zestaw motywów dla IceWM-a
137 %description themes-base
138 Standard pack of themes delivered with IceWM:
139 - CrystalBlue by BlueScorpio
140 - Helix by RudeSka and TigerT
141 - NanoBlue by lion1810
142 - metal2, motif, win32 by Marko Macek
144 This package contains also old themes, no longer installed by default
146 - gtk2, nice, nice2, warp3, warp4 by Marko Macek
147 - yellowmotif by Andreas Leitgeb
149 %description themes-base -l pl.UTF-8
150 Standardowy zestaw motywów dla IceWM-a, dostarczany wraz z nim:
151 - CrystalBlue autorstwa BlueScorpio
152 - Helix autorstwa RudeSka i TigerT
153 - NanoBlue autorstwa lion1810
154 - metal2, motif, win32 autorstwa Marko Macka
156 Pakiet zawiera także stare motywy, nie instalowane domyślnie wraz z
158 - gtk2, nice, nice2, warp3, warp4 autorstwa Marko Macka
159 - yellowmotif autorstwa Andreasa Leitgeba
165 tar -xzf %{SOURCE3} -C lib/icons
167 %{__sed} -i -e '/po\/Makefile.in/d' configure.ac
177 ASCIIDOC=/usr/bin/asciidoc \
178 %{!?with_gradients:--disable-gradients} \
179 %{?with_guievents:--enable-guievents --with-icesound=%{?with_alsa:ALSA,}OSS%{?with_yiff:,Y}%{?with_esd:,ESound}} \
180 %{!?with_gnome2:--disable-menus-gnome2} \
181 --enable-shaped-decorations \
182 %{!?with_freetype:--disable-xfreetype --enable-corefonts} \
183 --with-cfgdir=%{_sysconfdir}/X11/%{name} \
184 --with-docdir=%{_docdir}
188 rm -rf $RPM_BUILD_ROOT
189 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_wmpropsdir},%{_sysconfdir}/X11/%{name}}
192 DESTDIR=$RPM_BUILD_ROOT
194 %{__sed} -e 's|^# IconPath=""|IconPath="%{_datadir}/pixmaps:%{_datadir}/icons"|' -i $RPM_BUILD_ROOT%{_datadir}/icewm/preferences
197 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/icewm
199 %{?with_gnome2:cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}}
200 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/icewm/startup
201 cp -p lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/keys
202 cp -p lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/toolbar
203 cp -p lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/winoptions
204 echo %{_bindir}/icewmbg > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/startup
205 :> $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/restart
207 ln -s %{_datadir}/icewm/icons $RPM_BUILD_ROOT%{_pixmapsdir}/icewm
209 echo "menuprog \"Programs\" %{_datadir}/icewm/icons/folder_16x16.xpm vfmg -i -f -x -c -s icewm" > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu
211 # old themes, no longer installed
212 cp -pr lib/themes/{gtk2,nice,nice2,warp3,warp4,yellowmotif} $RPM_BUILD_ROOT%{_datadir}/icewm/themes
215 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/no
220 rm -rf $RPM_BUILD_ROOT
223 test -h %{_pixmapsdir}/icewm || rm -rf %{_pixmapsdir}/icewm
225 %files -f %{name}.lang
226 %defattr(644,root,root,755)
227 %doc AUTHORS BUGS CHANGES ChangeLog NEWS PLATFORMS README.md THANKS TODO doc/*.html
228 %attr(755,root,root) %{_bindir}/icehelp
229 %attr(755,root,root) %{_bindir}/icesh
230 %if %{with guievents}
231 %attr(755,root,root) %{_bindir}/icesound
233 %attr(755,root,root) %{_bindir}/icewm
234 %attr(755,root,root) %{_bindir}/icewm-menu-fdo
235 %attr(755,root,root) %{_bindir}/icewm-session
236 %attr(755,root,root) %{_bindir}/icewm-set-gnomewm
237 %attr(755,root,root) %{_bindir}/icewmbg
238 %attr(755,root,root) %{_bindir}/icewmhint
239 %attr(755,root,root) %{_bindir}/icewmtray
240 %dir %{_sysconfdir}/X11/%{name}
241 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/keys
242 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/menu
243 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/toolbar
244 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/winoptions
245 %config(noreplace,missingok) %verify(not md5 mtime size) %attr(755,root,root) %{_sysconfdir}/X11/%{name}/restart
246 %config(noreplace,missingok) %verify(not md5 mtime size) %attr(755,root,root) %{_sysconfdir}/X11/%{name}/startup
248 %dir %{_datadir}/icewm
249 %{_datadir}/icewm/icons
250 %{_datadir}/icewm/keys
251 %{_datadir}/icewm/menu
252 %{_datadir}/icewm/ledclock
253 %{_datadir}/icewm/mailbox
254 %{_datadir}/icewm/preferences
255 %{_datadir}/icewm/programs
256 %attr(755,root,root) %{_datadir}/icewm/startup
257 %{_datadir}/icewm/toolbar
258 %{_datadir}/icewm/taskbar
259 %{_datadir}/icewm/winoptions
260 %dir %{_datadir}/icewm/themes
261 %{_datadir}/icewm/themes/Infadel2
262 %{_datadir}/icewm/themes/default
263 %{_datadir}/icewm/themes/icedesert
264 %{_datadir}/xsessions/icewm.desktop
265 %{_datadir}/xsessions/icewm-session.desktop
266 %{?with_gnome2:%{_wmpropsdir}/IceWM.desktop}
267 %{_mandir}/man1/icewm.1*
270 %defattr(644,root,root,755)
271 %{_datadir}/icewm/themes/CrystalBlue
272 %{_datadir}/icewm/themes/Helix
273 %{_datadir}/icewm/themes/NanoBlue
274 %{_datadir}/icewm/themes/metal2
275 %{_datadir}/icewm/themes/motif
276 %{_datadir}/icewm/themes/win95
277 # old themes, no longer installed in 1.4.x
278 %{_datadir}/icewm/themes/gtk2
279 %{_datadir}/icewm/themes/nice
280 %{_datadir}/icewm/themes/nice2
281 %{_datadir}/icewm/themes/warp3
282 %{_datadir}/icewm/themes/warp4
283 %{_datadir}/icewm/themes/yellowmotif