]>
Commit | Line | Data |
---|---|---|
c3c05e60 | 1 | # |
747634b9 | 2 | # Conditional build: |
efc175b0 JB |
3 | %bcond_without gradients # gradients (requires antialiasing which requires freetype) |
4 | %bcond_without freetype # xfreetype support (implies no antialiasing) | |
5 | %bcond_with guievents # GUI events (broken in 1.3.8) | |
6 | %bcond_with gnome2 # support for GNOME2 wm-properties | |
747634b9 | 7 | # |
c3c05e60 | 8 | # TODO: |
c3c05e60 | 9 | # - make a PLD-theme - default :] |
f1701bad | 10 | |
5450fc43 | 11 | Summary: IceWM X11 Window Manager |
6497299f | 12 | Summary(de.UTF-8): IceWM ist ein Window Manager für X |
e71b1c56 ER |
13 | Summary(es.UTF-8): Administrador de Ventanas X11 |
14 | Summary(pl.UTF-8): IceWM - zarządca okienek X11 | |
15 | Summary(pt_BR.UTF-8): Gerenciador de Janelas X11 | |
16 | Summary(ru.UTF-8): Оконный менеджер для X11 | |
17 | Summary(uk.UTF-8): Віконний менеджер для X11 | |
5450fc43 | 18 | Name: icewm |
efc175b0 JB |
19 | Version: 1.3.8 |
20 | %define iceicons_ver 0.6 | |
efc175b0 | 21 | Release: 1 |
1e98fedb | 22 | Epoch: 2 |
efc175b0 | 23 | License: LGPL v2 |
5450fc43 | 24 | Group: X11/Window Managers |
efc175b0 JB |
25 | Source0: http://downloads.sourceforge.net/icewm/%{name}-%{version}.tar.gz |
26 | # Source0-md5: 6d61aced3bd20b9e7caeb7e8380368c8 | |
0c3991fa | 27 | Source1: IceWM.desktop |
efc175b0 | 28 | Source3: http://downloads.sourceforge.net/icewm/iceicons-%{iceicons_ver}.tar.gz |
a5b4d509 | 29 | # Source3-md5: 53ed111a3c4d1e609bd1604ddccd4701 |
2e7a9eeb | 30 | Source4: icewm-startup.sh |
d237af73 | 31 | Source7: %{name}-xsession.desktop |
4037b355 | 32 | Patch0: %{name}-build-fixes.patch |
4037b355 | 33 | Patch3: %{name}-ifstate-exact-check.patch |
1c6d3d3b | 34 | Patch5: %{name}-autohide.patch |
efc175b0 | 35 | URL: https://ice-wm.org/ |
a57c0865 | 36 | BuildRequires: autoconf >= 2.50 |
3d37a24f | 37 | BuildRequires: automake |
efc175b0 | 38 | BuildRequires: gdk-pixbuf2-xlib-devel >= 2.0 |
bd887558 | 39 | BuildRequires: gettext-tools |
ad3dbd79 | 40 | BuildRequires: libstdc++-devel |
6497299f | 41 | BuildRequires: pkgconfig |
42 | BuildRequires: xorg-lib-libICE-devel | |
43 | BuildRequires: xorg-lib-libSM-devel | |
44 | BuildRequires: xorg-lib-libX11-devel | |
efc175b0 | 45 | BuildRequires: xorg-lib-libXext-devel |
6e664482 | 46 | %{?with_freetype:BuildRequires: xorg-lib-libXft-devel >= 2.1} |
6497299f | 47 | BuildRequires: xorg-lib-libXinerama-devel |
efc175b0 JB |
48 | BuildRequires: xorg-lib-libXrandr-devel |
49 | BuildRequires: xorg-lib-libXrender-devel | |
db2f0631 | 50 | %{?with_guievents:BuildRequires: yiff-devel} |
efc175b0 JB |
51 | Requires(pre): /bin/rm |
52 | Requires(pre): /usr/bin/test | |
6e420e6f | 53 | Requires: shared-mime-info |
6e664482 | 54 | Requires: xinitrc-ng |
adf9ec40 | 55 | Suggests: vfmg >= 0.9.95 |
493ede44 | 56 | Conflicts: filesystem < 3.0-20 |
6d982d2b | 57 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
ae00d23e | 58 | |
493ede44 | 59 | %define _wmpropsdir /usr/share/gnome/wm-properties |
adf9ec40 | 60 | %define specflags_ia32 -fomit-frame-pointer |
4b050385 | 61 | |
ae00d23e | 62 | %description |
1a5be8e2 | 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. | |
ae00d23e | 67 | |
4c581f51 | 68 | %description -l es.UTF-8 |
ddb1aa5d | 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 | |
4c581f51 | 71 | características de los sistemas citados. Características: varios |
ddb1aa5d | 72 | ambientes de trabajo, movimiento/ redimensionamiento opaco, barra de |
73 | tareas, lista de ventanas, estado de la caja de entrada del correo y | |
4c581f51 | 74 | reloj digital. Rápido y pequeño. |
ddb1aa5d | 75 | |
4c581f51 JR |
76 | %description -l pl.UTF-8 |
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. | |
ae00d23e | 82 | |
4c581f51 JR |
83 | %description -l pt_BR.UTF-8 |
84 | Gerenciador de Janelas para o X Window. Pode emular a aparência do | |
ddb1aa5d | 85 | Windows'95, OS/2 Warp 3 e 4 e o Motif. Tenta usar as melhores |
4c581f51 JR |
86 | características dos sistemas citados. Características: vários |
87 | ambientes de trabalho, movimentação/ redimensionamento opaco, barra de | |
ddb1aa5d | 88 | tarefas, lista de janelas, status da caixa de entrada do correio e |
4c581f51 | 89 | relógio digital. É rápido e pequeno. |
ddb1aa5d | 90 | |
4c581f51 JR |
91 | %description -l ru.UTF-8 |
92 | Оконный менеджер для X Window System. Может эмулировать внешний вид | |
93 | Windows'95, OS/2 Warp 3,4, Motif. Старается взять лучшее из упомянутых | |
94 | систем. Поддерживает несколько рабочих поверхностей, непрозрачное | |
95 | перемещение окон, полоску заданий, список окон, статус почтового | |
96 | ящика, цифровые часы. Быстрый и компактный. | |
ddb1aa5d | 97 | |
4c581f51 JR |
98 | %description -l uk.UTF-8 |
99 | Віконний менеджер для X Window System. Може емулювати зовнішній вигляд | |
100 | Windows'95, OS/2 Warp 3,4, Motif. Намагається взяти найкраще із | |
101 | згаданих систем. Підтримує кілька робочих площин, непрозоре | |
102 | переміщення вікон, смужку завдань, список вікон, стан поштової | |
103 | скриньки, цифровий годинник. Швидкий та компактний. | |
ddb1aa5d | 104 | |
4c581f51 | 105 | %description -l de.UTF-8 |
1dc87219 | 106 | IceWM ist ein in C++ programmierter, unter GPL stehender |
4c581f51 | 107 | Fenstermanager für das X11-Fenstersystem. Ziel von IceWM ist |
1dc87219 | 108 | Geschwindigkeit, Schlichtheit und Bedienerfreundlichkeit. |
109 | ||
110 | In der Standardeinstellung erinnert das Design von IceWM stark an | |
4c581f51 JR |
111 | Microsoft Windows: Er verfügt über eine Taskleiste am unteren |
112 | Bildrand, das aktive Fenster lässt sich mit der Tastenkombination | |
1dc87219 | 113 | ALT-TAB wechseln, etc. |
114 | ||
66cf1d33 | 115 | %package themes-base |
215be0a2 | 116 | Summary: Pack of themes for IceWM |
e71b1c56 | 117 | Summary(pl.UTF-8): Zestaw motywów dla IceWM-a |
1de8817c | 118 | Group: Themes |
1de8817c PG |
119 | Requires: icewm |
120 | ||
66cf1d33 | 121 | %description themes-base |
215be0a2 | 122 | Standard pack of themes delivered with IceWM. All of them made by |
ad3dbd79 | 123 | Marko Macek: gtk2, metal2, motif, nice, nice2, warp3, warp4, win95. |
1de8817c | 124 | |
4c581f51 JR |
125 | %description themes-base -l pl.UTF-8 |
126 | Standardowy zestaw motywów dla IceWM-a, dostarczany wraz z nim. | |
f9903abb | 127 | Wszystkie stworzone przez Marko Macka: gtk2, metal2, motif, nice, |
ad3dbd79 | 128 | nice2, warp3, warp4, win95. |
1de8817c | 129 | |
e3ce326c | 130 | %prep |
8210023f | 131 | %setup -q |
d7fd3e93 | 132 | %patch0 -p1 |
4037b355 | 133 | %patch3 -p1 |
1c6d3d3b | 134 | %patch5 -p1 |
a57c0865 | 135 | |
efc175b0 JB |
136 | # remove GNOME1/GNOME2 menu rules |
137 | %{__sed} -i -e '/icewm-menu-gnome/d' lib/menu.in | |
138 | ||
88a00d08 | 139 | cd lib/icons |
716f35c8 | 140 | tar -xzf %{SOURCE3} |
88a00d08 | 141 | |
ae00d23e | 142 | %build |
b6feae82 | 143 | cp -f /usr/share/automake/config.sub . |
f1701bad | 144 | %{__aclocal} |
145 | %{__autoconf} | |
bee131a8 | 146 | %{__autoheader} |
9c2161ab | 147 | %configure \ |
7b9b8cad | 148 | %{!?with_gradients:--disable-gradients} \ |
efc175b0 | 149 | %{?with_guievents:--enable-guievents --with-icesound=OSS,Y} \ |
a0563aeb | 150 | --enable-shaped-decorations \ |
efc175b0 | 151 | %{!?with_freetype:--disable-xfreetype --enable-corefonts} \ |
d6cdaeb0 | 152 | --with-cfgdir=%{_sysconfdir}/X11/%{name} \ |
6e364d8f | 153 | --with-docdir=%{_docdir} |
3bac607c | 154 | %{__make} |
ae00d23e | 155 | |
156 | %install | |
4d5a15a4 | 157 | rm -rf $RPM_BUILD_ROOT |
2e7a9eeb | 158 | install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_pixmapsdir}} \ |
dff8174f | 159 | $RPM_BUILD_ROOT{%{_wmpropsdir},%{_sysconfdir}/X11/%{name}} |
0c3991fa | 160 | |
6166ac1f JB |
161 | %{__make} install \ |
162 | DESTDIR=$RPM_BUILD_ROOT | |
ae00d23e | 163 | |
efc175b0 JB |
164 | %{?with_gnome2:cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}} |
165 | cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/icewm/startup | |
166 | cp -p %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop | |
167 | cp -p lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/keys | |
1dc87219 | 168 | sed 's|^# IconPath=""|IconPath="%{_datadir}/pixmaps:%{_datadir}/icons"|' < lib/preferences > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/preferences |
efc175b0 JB |
169 | cp -p lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/toolbar |
170 | cp -p lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/winoptions | |
87dff741 TP |
171 | echo %{_bindir}/icewmbg > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/startup |
172 | :> $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/restart | |
3c3df5cc | 173 | |
ad3dbd79 | 174 | ln -s %{_datadir}/icewm/icons $RPM_BUILD_ROOT%{_pixmapsdir}/icewm |
3ad3dd29 | 175 | |
6e664482 | 176 | echo "menuprog \"Programs\" %{_datadir}/icewm/icons/folder_16x16.xpm vfmg -i -f -x -c -s icewm" > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu |
f358545f | 177 | |
6e364d8f | 178 | %find_lang %{name} |
cdb55b8b | 179 | |
ae00d23e | 180 | %clean |
4d5a15a4 | 181 | rm -rf $RPM_BUILD_ROOT |
ae00d23e | 182 | |
afc8af6e | 183 | %pre |
4af6cac8 | 184 | test -h %{_pixmapsdir}/icewm || rm -rf %{_pixmapsdir}/icewm |
afc8af6e | 185 | |
cdb55b8b | 186 | %files -f %{name}.lang |
5450fc43 | 187 | %defattr(644,root,root,755) |
efc175b0 JB |
188 | %doc AUTHORS BUGS CHANGES PLATFORMS README* TODO doc/*.html |
189 | %attr(755,root,root) %{_bindir}/icehelp | |
190 | %attr(755,root,root) %{_bindir}/icesh | |
191 | %if %{with guievents} | |
192 | %attr(755,root,root) %{_bindir}/icesound | |
193 | %endif | |
194 | %attr(755,root,root) %{_bindir}/icewm | |
195 | %attr(755,root,root) %{_bindir}/icewm-session | |
196 | %attr(755,root,root) %{_bindir}/icewm-set-gnomewm | |
197 | %attr(755,root,root) %{_bindir}/icewmbg | |
198 | %attr(755,root,root) %{_bindir}/icewmhint | |
199 | %attr(755,root,root) %{_bindir}/icewmtray | |
d6cdaeb0 | 200 | %dir %{_sysconfdir}/X11/%{name} |
efc175b0 JB |
201 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/keys |
202 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/menu | |
203 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/preferences | |
204 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/toolbar | |
205 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/winoptions | |
206 | %config(noreplace,missingok) %verify(not md5 mtime size) %attr(755,root,root) %{_sysconfdir}/X11/%{name}/restart | |
207 | %config(noreplace,missingok) %verify(not md5 mtime size) %attr(755,root,root) %{_sysconfdir}/X11/%{name}/startup | |
95624d68 | 208 | %{_pixmapsdir}/icewm |
ad3dbd79 TP |
209 | %dir %{_datadir}/icewm |
210 | %{_datadir}/icewm/icons | |
efc175b0 JB |
211 | %{_datadir}/icewm/keys |
212 | %{_datadir}/icewm/menu | |
ad3dbd79 TP |
213 | %{_datadir}/icewm/ledclock |
214 | %{_datadir}/icewm/mailbox | |
efc175b0 | 215 | %{_datadir}/icewm/preferences |
2e7a9eeb | 216 | %attr(755,root,root) %{_datadir}/icewm/startup |
efc175b0 | 217 | %{_datadir}/icewm/toolbar |
ad3dbd79 | 218 | %{_datadir}/icewm/taskbar |
efc175b0 | 219 | %{_datadir}/icewm/winoptions |
ad3dbd79 TP |
220 | %dir %{_datadir}/icewm/themes |
221 | %{_datadir}/icewm/themes/Infadel2 | |
10c19d56 | 222 | %{_datadir}/icewm/themes/icedesert |
efc175b0 JB |
223 | %{_datadir}/xsessions/icewm.desktop |
224 | %{?with_gnome2:%{_wmpropsdir}/IceWM.desktop} | |
1de8817c | 225 | |
66cf1d33 | 226 | %files themes-base |
c0e8bfc7 | 227 | %defattr(644,root,root,755) |
ad3dbd79 TP |
228 | %{_datadir}/icewm/themes/gtk2 |
229 | %{_datadir}/icewm/themes/metal2 | |
230 | %{_datadir}/icewm/themes/motif | |
231 | %{_datadir}/icewm/themes/nice | |
232 | %{_datadir}/icewm/themes/nice2 | |
233 | %{_datadir}/icewm/themes/warp3 | |
234 | %{_datadir}/icewm/themes/warp4 | |
235 | %{_datadir}/icewm/themes/win95 | |
61d539bc | 236 | %{_datadir}/icewm/themes/yellowmotif |