3 %bcond_with gradients # enable gradients (implies with_antialiasing)
4 %bcond_without antialiasing # disable antialiasing
5 %bcond_without freetype # disable xfreetype support (implies !with_antialiasing)
6 %bcond_without guievents # disable guievents
7 %bcond_with gnome # enable GNOME support
8 %bcond_without imlib # disable imlib support
11 # - make a PLD-theme - default :]
14 Summary: IceWM X11 Window Manager
15 Summary(es): Administrador de Ventanas X11
16 Summary(pl): IceWM - zarz±dca okienek X11
17 Summary(pt_BR): Gerenciador de Janelas X11
18 Summary(ru): ïËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X11
19 Summary(uk): ÷¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X11
26 Group: X11/Window Managers
27 Source0: http://dl.sourceforge.net/icewm/%{name}-%{version}%{_pre}.tar.gz
28 # Source0-md5: d58838b359592e4fd6a27af063b007de
29 Source1: IceWM.desktop
30 Source2: %{name}.directory
31 Source3: http://dl.sourceforge.net/icewm/iceicons-0.6.tar.gz
32 # Source3-md5: 53ed111a3c4d1e609bd1604ddccd4701
34 Source5: IceWM.wm_style
35 Source6: http://dl.sourceforge.net/icewm/netscapeicons-0.2.tar.gz
36 # Source6-md5: 409aa9b02adc11309ed546c5120c01d2
37 Source7: %{name}-xsession.desktop
38 Patch0: %{name}-broken-xrandr.patch
39 Patch1: %{name}-home_etc.patch
40 Patch2: %{name}-link_with_g++.patch
41 Patch3: %{name}-showdesktopkey.patch
42 Patch4: %{name}-gcc34.patch
43 URL: http://www.icewm.org/
44 BuildRequires: XFree86-devel
45 BuildRequires: autoconf >= 2.50
46 BuildRequires: automake
47 %{?with_guievents:BuildRequires: esound-devel}
48 BuildRequires: gettext-devel
49 %{?with_gnome:BuildRequires: gnome-desktop-devel}
50 %{?with_imlib:BuildRequires: imlib-devel}
51 BuildRequires: libstdc++-devel
52 %{?with_freetype:BuildRequires: xft-devel >= 2.1}
53 BuildRequires: yiff-devel
54 Requires(pre): fileutils
55 Requires(pre): sh-utils
56 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
58 %define _wmstyledir /etc/sysconfig/wmstyle
59 %define _wmpropsdir /usr/share/wm-properties
60 %define specflags_ia32 "-fomit-frame-pointer"
63 Window Manager for X Window System. Can emulate the look of
64 Windows'95, OS/2 Warp 3,4, Motif. Tries to take the best features of
65 the above systems. Features multiple workspaces, opaque move/resize,
66 task bar, window list, mailbox status, digital clock. Fast and small.
69 Administrador de Ventanas para el X Window. Puede emular la apariencia
70 del Windows'95, OS/2 Warp 3 y 4 y el Motif. Intenta usar las mejores
71 características de los sistemas citados. Características: varios
72 ambientes de trabajo, movimiento/ redimensionamiento opaco, barra de
73 tareas, lista de ventanas, estado de la caja de entrada del correo y
74 reloj digital. Rápido y pequeño.
77 Zarz±dca okienek pod X11. Mo¿e emulowaæ wygl±d Windows'95, OS/2 Warp
78 3, 4, MWM. Zarz±dca ten próbuje przej±æ z powy¿szych ¶rodowisk ich
79 najlepsze cechy, takie jak: wiele jednocze¶nie obecnych przestrzeni
80 roboczych, paski narzêdziowe, status skrzynki z poczt±, cyfrowy zegar.
81 Jest przy tym ma³y i szybki.
84 Gerenciador de Janelas para o X Window. Pode emular a aparência do
85 Windows'95, OS/2 Warp 3 e 4 e o Motif. Tenta usar as melhores
86 características dos sistemas citados. Características: vários
87 ambientes de trabalho, movimentação/ redimensionamento opaco, barra de
88 tarefas, lista de janelas, status da caixa de entrada do correio e
89 relógio digital. É rápido e pequeno.
92 ïËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X Window System. íÏÖÅÔ ÜÍÕÌÉÒÏ×ÁÔØ ×ÎÅÛÎÉÊ ×ÉÄ
93 Windows'95, OS/2 Warp 3,4, Motif. óÔÁÒÁÅÔÓÑ ×ÚÑÔØ ÌÕÞÛÅÅ ÉÚ ÕÐÏÍÑÎÕÔÙÈ
94 ÓÉÓÔÅÍ. ðÏÄÄÅÒÖÉ×ÁÅÔ ÎÅÓËÏÌØËÏ ÒÁÂÏÞÉÈ ÐÏ×ÅÒÈÎÏÓÔÅÊ, ÎÅÐÒÏÚÒÁÞÎÏÅ
95 ÐÅÒÅÍÅÝÅÎÉÅ ÏËÏÎ, ÐÏÌÏÓËÕ ÚÁÄÁÎÉÊ, ÓÐÉÓÏË ÏËÏÎ, ÓÔÁÔÕÓ ÐÏÞÔÏ×ÏÇÏ
96 ÑÝÉËÁ, ÃÉÆÒÏ×ÙÅ ÞÁÓÙ. âÙÓÔÒÙÊ É ËÏÍÐÁËÔÎÙÊ.
99 ÷¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X Window System. íÏÖÅ ÅÍÕÌÀ×ÁÔÉ ÚÏ×ΦÛÎ¦Ê ×ÉÇÌÑÄ
100 Windows'95, OS/2 Warp 3,4, Motif. îÁÍÁÇÁ¤ÔØÓÑ ×ÚÑÔÉ ÎÁÊËÒÁÝÅ ¦Ú
101 ÚÇÁÄÁÎÉÈ ÓÉÓÔÅÍ. ð¦ÄÔÒÉÍÕ¤ ˦ÌØËÁ ÒÏÂÏÞÉÈ ÐÌÏÝÉÎ, ÎÅÐÒÏÚÏÒÅ
102 ÐÅÒÅͦÝÅÎÎÑ ×¦ËÏÎ, ÓÍÕÖËÕ ÚÁ×ÄÁÎØ, ÓÐÉÓÏË ×¦ËÏÎ, ÓÔÁÎ ÐÏÛÔÏ×ϧ
103 ÓËÒÉÎØËÉ, ÃÉÆÒÏ×ÉÊ ÇÏÄÉÎÎÉË. û×ÉÄËÉÊ ÔÁ ËÏÍÐÁËÔÎÉÊ.
106 Summary: Pack of themes for IceWM
107 Summary(pl): Zestaw motywów dla IceWM-a
111 %description themes-base
112 Standard pack of themes delivered with IceWM. All of them made by
113 Marko Macek: gtk2, metal2, motif, nice, nice2, warp3, warp4, win95.
115 %description themes-base -l pl
116 Standardowy zestaw motywów dla IceWM-a, dostarczany wraz z nim.
117 Wszystkie stworzone przez Marko Macka: gtk2, metal2, motif, nice,
118 nice2, warp3, warp4, win95.
121 %setup -q -n %{name}-%{version}%{_pre}
129 mv -f po/{zh_TW.Big5,zh_TW}.po
136 cp -f /usr/share/automake/config.sub .
141 %{?with_gradients:--enable-gradients} \
142 %{?with_antialiasing:--enable-antialiasing} \
143 %{!?with_freetype:--disable-xfreetype} \
144 %{?with_guievents:--enable-guievents} \
145 %{?with_gnome:--enable-menus-gnome} \
146 %{!?with_imlib:--without-imlib} \
147 --enable-shaped-decorations \
148 --with-cfgdir=%{_sysconfdir}/X11/%{name} \
149 --with-docdir=%{_docdir}
153 rm -rf $RPM_BUILD_ROOT
154 install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_pixmapsdir},%{_wmstyledir}} \
155 $RPM_BUILD_ROOT{%{_applnkdir}/Settings/IceWM,%{_wmpropsdir},%{_sysconfdir}/X11/%{name}}
158 DESTDIR=$RPM_BUILD_ROOT
160 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
161 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Settings/IceWM/.directory
162 install %{SOURCE4} $RPM_BUILD_ROOT%{_wmstyledir}/%{name}.sh
163 install %{SOURCE5} $RPM_BUILD_ROOT%{_wmstyledir}/%{name}.names
164 install %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
165 install lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/keys
166 install lib/preferences $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/preferences
167 install lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/toolbar
168 install lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/winoptions
169 echo %{_bindir}/icewmbg > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/startup
170 :> $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/restart
172 ln -s %{_datadir}/icewm/icons $RPM_BUILD_ROOT%{_pixmapsdir}/icewm
175 echo "menuprog \"Programs\" %{_datadir}/icewm/icons/folder_16x16.xpm icewm-menu-gnome2 --list \"%{_applnkdir}\"" > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu
177 echo "menuprog \"Programs\" %{_datadir}/icewm/icons/folder_16x16.xpm wmconfig --output icewm" > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu
183 rm -rf $RPM_BUILD_ROOT
186 test -h %{_pixmapsdir}/icewm || rm -rf %{_pixmapsdir}/icewm
188 %files -f %{name}.lang
189 %defattr(644,root,root,755)
190 %doc AUTHORS BUGS CHANGES PLATFORMS README* TODO icewm.lsm doc/*.html
191 %attr(755,root,root) %{_bindir}/*
192 %dir %{_sysconfdir}/X11/%{name}
193 %config(noreplace,missingok) %verify(not md5 size mtime) %{_sysconfdir}/X11/%{name}/[!rs]*
194 %config(noreplace,missingok) %verify(not md5 size mtime) %attr(755,root,root) %{_sysconfdir}/X11/%{name}/[rs]*
196 %dir %{_datadir}/icewm
197 %{_datadir}/icewm/icons
198 %{_datadir}/icewm/ledclock
199 %{_datadir}/icewm/mailbox
200 %{_datadir}/icewm/taskbar
201 %dir %{_datadir}/icewm/themes
202 %{_datadir}/icewm/themes/Infadel2
203 %{_datadir}/icewm/themes/icedesert
204 %{_datadir}/xsessions/%{name}.desktop
205 %dir %{_applnkdir}/Settings/IceWM
206 %{_applnkdir}/Settings/IceWM/.directory
208 %{_wmstyledir}/%{name}.names
209 %attr(755,root,root) %{_wmstyledir}/%{name}.sh
212 %defattr(644,root,root,755)
213 %{_datadir}/icewm/themes/gtk2
214 %{_datadir}/icewm/themes/metal2
215 %{_datadir}/icewm/themes/motif
216 %{_datadir}/icewm/themes/nice
217 %{_datadir}/icewm/themes/nice2
218 %{_datadir}/icewm/themes/warp3
219 %{_datadir}/icewm/themes/warp4
220 %{_datadir}/icewm/themes/win95