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_without imlib # disable imlib support
10 # - make a PLD-theme - default :]
13 Summary: IceWM X11 Window Manager
14 Summary(es): Administrador de Ventanas X11
15 Summary(pl): IceWM - zarz±dca okienek X11
16 Summary(pt_BR): Gerenciador de Janelas X11
17 Summary(ru): ïËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X11
18 Summary(uk): ÷¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X11
25 Group: X11/Window Managers
26 #Source0: http://dl.sourceforge.net/icewm/%{name}-%{version}%{_pre}.tar.gz
27 Source0: http://dl.sourceforge.net/icewm/%{name}-%{version}.tar.gz
28 # Source0-md5: 1aa92846cc516a2ac1d668d80c3ca5ea
29 Source1: IceWM.desktop
30 Source3: http://dl.sourceforge.net/icewm/iceicons-0.6.tar.gz
31 # Source3-md5: 53ed111a3c4d1e609bd1604ddccd4701
33 Source6: http://dl.sourceforge.net/icewm/netscapeicons-0.2.tar.gz
34 # Source6-md5: 409aa9b02adc11309ed546c5120c01d2
35 Source7: %{name}-xsession.desktop
36 Patch0: %{name}-broken-xrandr.patch
37 Patch1: %{name}-home_etc.patch
38 Patch2: %{name}-helpbrowser.patch
39 URL: http://www.icewm.org/
40 BuildRequires: XFree86-devel
41 BuildRequires: autoconf >= 2.50
42 BuildRequires: automake
43 %{?with_guievents:BuildRequires: esound-devel}
44 BuildRequires: gettext-devel
45 %{?with_imlib:BuildRequires: imlib-devel}
46 BuildRequires: libstdc++-devel
47 %{?with_freetype:BuildRequires: xft-devel >= 2.1}
48 BuildRequires: yiff-devel
49 Requires(pre): fileutils
50 Requires(pre): sh-utils
53 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55 %define _wmstyledir /etc/sysconfig/wmstyle
56 %define _wmpropsdir /usr/share/wm-properties
57 %define specflags_ia32 -fomit-frame-pointer
60 Window Manager for X Window System. Can emulate the look of
61 Windows'95, OS/2 Warp 3,4, Motif. Tries to take the best features of
62 the above systems. Features multiple workspaces, opaque move/resize,
63 task bar, window list, mailbox status, digital clock. Fast and small.
66 Administrador de Ventanas para el X Window. Puede emular la apariencia
67 del Windows'95, OS/2 Warp 3 y 4 y el Motif. Intenta usar las mejores
68 características de los sistemas citados. Características: varios
69 ambientes de trabajo, movimiento/ redimensionamiento opaco, barra de
70 tareas, lista de ventanas, estado de la caja de entrada del correo y
71 reloj digital. Rápido y pequeño.
74 Zarz±dca okienek pod X11. Mo¿e emulowaæ wygl±d Windows'95, OS/2 Warp
75 3, 4, MWM. Zarz±dca ten próbuje przej±æ z powy¿szych ¶rodowisk ich
76 najlepsze cechy, takie jak: wiele jednocze¶nie obecnych przestrzeni
77 roboczych, paski narzêdziowe, status skrzynki z poczt±, cyfrowy zegar.
78 Jest przy tym ma³y i szybki.
81 Gerenciador de Janelas para o X Window. Pode emular a aparência do
82 Windows'95, OS/2 Warp 3 e 4 e o Motif. Tenta usar as melhores
83 características dos sistemas citados. Características: vários
84 ambientes de trabalho, movimentação/ redimensionamento opaco, barra de
85 tarefas, lista de janelas, status da caixa de entrada do correio e
86 relógio digital. É rápido e pequeno.
89 ïËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X Window System. íÏÖÅÔ ÜÍÕÌÉÒÏ×ÁÔØ ×ÎÅÛÎÉÊ ×ÉÄ
90 Windows'95, OS/2 Warp 3,4, Motif. óÔÁÒÁÅÔÓÑ ×ÚÑÔØ ÌÕÞÛÅÅ ÉÚ ÕÐÏÍÑÎÕÔÙÈ
91 ÓÉÓÔÅÍ. ðÏÄÄÅÒÖÉ×ÁÅÔ ÎÅÓËÏÌØËÏ ÒÁÂÏÞÉÈ ÐÏ×ÅÒÈÎÏÓÔÅÊ, ÎÅÐÒÏÚÒÁÞÎÏÅ
92 ÐÅÒÅÍÅÝÅÎÉÅ ÏËÏÎ, ÐÏÌÏÓËÕ ÚÁÄÁÎÉÊ, ÓÐÉÓÏË ÏËÏÎ, ÓÔÁÔÕÓ ÐÏÞÔÏ×ÏÇÏ
93 ÑÝÉËÁ, ÃÉÆÒÏ×ÙÅ ÞÁÓÙ. âÙÓÔÒÙÊ É ËÏÍÐÁËÔÎÙÊ.
96 ÷¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X Window System. íÏÖÅ ÅÍÕÌÀ×ÁÔÉ ÚÏ×ΦÛÎ¦Ê ×ÉÇÌÑÄ
97 Windows'95, OS/2 Warp 3,4, Motif. îÁÍÁÇÁ¤ÔØÓÑ ×ÚÑÔÉ ÎÁÊËÒÁÝÅ ¦Ú
98 ÚÇÁÄÁÎÉÈ ÓÉÓÔÅÍ. ð¦ÄÔÒÉÍÕ¤ ˦ÌØËÁ ÒÏÂÏÞÉÈ ÐÌÏÝÉÎ, ÎÅÐÒÏÚÏÒÅ
99 ÐÅÒÅͦÝÅÎÎÑ ×¦ËÏÎ, ÓÍÕÖËÕ ÚÁ×ÄÁÎØ, ÓÐÉÓÏË ×¦ËÏÎ, ÓÔÁÎ ÐÏÛÔÏ×ϧ
100 ÓËÒÉÎØËÉ, ÃÉÆÒÏ×ÉÊ ÇÏÄÉÎÎÉË. û×ÉÄËÉÊ ÔÁ ËÏÍÐÁËÔÎÉÊ.
103 Summary: Pack of themes for IceWM
104 Summary(pl): Zestaw motywów dla IceWM-a
108 %description themes-base
109 Standard pack of themes delivered with IceWM. All of them made by
110 Marko Macek: gtk2, metal2, motif, nice, nice2, warp3, warp4, win95.
112 %description themes-base -l pl
113 Standardowy zestaw motywów dla IceWM-a, dostarczany wraz z nim.
114 Wszystkie stworzone przez Marko Macka: gtk2, metal2, motif, nice,
115 nice2, warp3, warp4, win95.
118 #%setup -q -n %{name}-%{version}%{_pre}
125 mv -f po/{zh_TW.Big5,zh_TW}.po
132 cp -f /usr/share/automake/config.sub .
137 %{?with_gradients:--enable-gradients} \
138 %{?with_antialiasing:--enable-antialiasing} \
139 %{!?with_freetype:--disable-xfreetype} \
140 %{?with_guievents:--enable-guievents} \
141 %{!?with_imlib:--without-imlib} \
142 --disable-menus-gnome \
143 --enable-shaped-decorations \
144 --with-cfgdir=%{_sysconfdir}/X11/%{name} \
145 --with-docdir=%{_docdir}
149 rm -rf $RPM_BUILD_ROOT
150 install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_pixmapsdir},%{_wmstyledir}} \
151 $RPM_BUILD_ROOT{%{_wmpropsdir},%{_sysconfdir}/X11/%{name}}
154 DESTDIR=$RPM_BUILD_ROOT
156 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
157 install %{SOURCE4} $RPM_BUILD_ROOT%{_wmstyledir}/%{name}-session.sh
158 install %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
159 install lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/keys
160 sed 's|^# IconPath=""|IconPath="/usr/share/pixmaps:/usr/share/icons"|' < lib/preferences > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/preferences
161 install lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/toolbar
162 install lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/winoptions
163 echo %{_bindir}/icewmbg > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/startup
164 :> $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/restart
166 ln -s %{_datadir}/icewm/icons $RPM_BUILD_ROOT%{_pixmapsdir}/icewm
168 echo "menuprog \"Programs\" %{_datadir}/icewm/icons/folder_16x16.xpm vfmg -i -f -x -c -s icewm" > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu
173 rm -rf $RPM_BUILD_ROOT
176 test -h %{_pixmapsdir}/icewm || rm -rf %{_pixmapsdir}/icewm
178 %files -f %{name}.lang
179 %defattr(644,root,root,755)
180 %doc AUTHORS BUGS CHANGES PLATFORMS README* TODO icewm.lsm doc/*.html
181 %attr(755,root,root) %{_bindir}/*
182 %dir %{_sysconfdir}/X11/%{name}
183 %config(noreplace,missingok) %verify(not md5 size mtime) %{_sysconfdir}/X11/%{name}/[!rs]*
184 %config(noreplace,missingok) %verify(not md5 size mtime) %attr(755,root,root) %{_sysconfdir}/X11/%{name}/[rs]*
186 %dir %{_datadir}/icewm
187 %{_datadir}/icewm/icons
188 %{_datadir}/icewm/ledclock
189 %{_datadir}/icewm/mailbox
190 %{_datadir}/icewm/taskbar
191 %dir %{_datadir}/icewm/themes
192 %{_datadir}/icewm/themes/Infadel2
193 %{_datadir}/icewm/themes/icedesert
194 %{_datadir}/xsessions/%{name}.desktop
196 %attr(755,root,root) %{_wmstyledir}/%{name}-session.sh
199 %defattr(644,root,root,755)
200 %{_datadir}/icewm/themes/gtk2
201 %{_datadir}/icewm/themes/metal2
202 %{_datadir}/icewm/themes/motif
203 %{_datadir}/icewm/themes/nice
204 %{_datadir}/icewm/themes/nice2
205 %{_datadir}/icewm/themes/warp3
206 %{_datadir}/icewm/themes/warp4
207 %{_datadir}/icewm/themes/win95
208 %{_datadir}/icewm/themes/yellowmotif