]>
Commit | Line | Data |
---|---|---|
25f07c49 | 1 | # TODO: |
505d687f | 2 | # - make a PLD-theme - default:] |
c3c05e60 | 3 | # |
747634b9 | 4 | # Conditional build: |
efc175b0 | 5 | %bcond_without freetype # xfreetype support (implies no antialiasing) |
25f07c49 | 6 | %bcond_without alsa # ALSA sound for GUI events |
a5bfa87e | 7 | %bcond_without ao # AO sound for GUI events |
f1701bad | 8 | |
5450fc43 | 9 | Summary: IceWM X11 Window Manager |
6497299f | 10 | Summary(de.UTF-8): IceWM ist ein Window Manager für X |
e71b1c56 ER |
11 | Summary(es.UTF-8): Administrador de Ventanas X11 |
12 | Summary(pl.UTF-8): IceWM - zarządca okienek X11 | |
13 | Summary(pt_BR.UTF-8): Gerenciador de Janelas X11 | |
14 | Summary(ru.UTF-8): Оконный менеджер для X11 | |
15 | Summary(uk.UTF-8): Віконний менеджер для X11 | |
505d687f | 16 | Name: icewm |
7e56cab7 | 17 | Version: 3.3.2 |
2812f010 | 18 | Release: 1 |
1e98fedb | 19 | Epoch: 2 |
efc175b0 | 20 | License: LGPL v2 |
5450fc43 | 21 | Group: X11/Window Managers |
25f07c49 JB |
22 | #Source0Download: https://github.com/ice-wm/icewm/releases |
23 | Source0: https://github.com/ice-wm/icewm/archive/%{version}/%{name}-%{version}.tar.gz | |
7e56cab7 | 24 | # Source0-md5: 505150fa7b544c86c56f1016fcc220d7 |
4316a7a4 KM |
25 | Source1: %{name}-startup.sh |
26 | Patch0: desktop-files.patch | |
efc175b0 | 27 | URL: https://ice-wm.org/ |
25f07c49 | 28 | %{?with_alsa:BuildRequires: alsa-lib-devel} |
a5bfa87e KM |
29 | BuildRequires: cmake |
30 | BuildRequires: discount | |
25f07c49 | 31 | BuildRequires: fontconfig-devel |
4316a7a4 | 32 | BuildRequires: freetype-devel |
25f07c49 | 33 | BuildRequires: fribidi-devel >= 0.10.4 |
a5bfa87e | 34 | BuildRequires: gettext >= 0.19.6 |
25f07c49 | 35 | BuildRequires: gettext-tools >= 0.19.6 |
4316a7a4 | 36 | BuildRequires: git-core |
25f07c49 | 37 | BuildRequires: glib2-devel >= 2.0 |
4cf11d90 | 38 | BuildRequires: imlib2-devel |
4316a7a4 KM |
39 | %{?with_ao:BuildRequires: libao-devel} |
40 | BuildRequires: librsvg-devel | |
25f07c49 | 41 | %{?with_alsa:BuildRequires: libsndfile-devel} |
ad3dbd79 | 42 | BuildRequires: libstdc++-devel |
25f07c49 | 43 | BuildRequires: libtool >= 2:2.4.2 |
6497299f | 44 | BuildRequires: pkgconfig |
4316a7a4 | 45 | BuildRequires: ruby-asciidoctor |
25f07c49 | 46 | BuildRequires: sed >= 4.0 |
6497299f | 47 | BuildRequires: xorg-lib-libICE-devel |
48 | BuildRequires: xorg-lib-libSM-devel | |
49 | BuildRequires: xorg-lib-libX11-devel | |
4316a7a4 KM |
50 | BuildRequires: xorg-lib-libXcomposite-devel |
51 | BuildRequires: xorg-lib-libXdamage-devel | |
efc175b0 | 52 | BuildRequires: xorg-lib-libXext-devel |
4316a7a4 | 53 | BuildRequires: xorg-lib-libXfixes-devel |
6e664482 | 54 | %{?with_freetype:BuildRequires: xorg-lib-libXft-devel >= 2.1} |
6497299f | 55 | BuildRequires: xorg-lib-libXinerama-devel |
505d687f | 56 | BuildRequires: xorg-lib-libXpm-devel |
efc175b0 | 57 | BuildRequires: xorg-lib-libXrandr-devel |
a5bfa87e | 58 | BuildRequires: xorg-lib-libXrender-devel |
efc175b0 JB |
59 | Requires(pre): /bin/rm |
60 | Requires(pre): /usr/bin/test | |
6e420e6f | 61 | Requires: shared-mime-info |
6e664482 | 62 | Requires: xinitrc-ng |
4316a7a4 | 63 | Requires: xorg-app-xrandr |
493ede44 | 64 | Conflicts: filesystem < 3.0-20 |
6d982d2b | 65 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
ae00d23e | 66 | |
adf9ec40 | 67 | %define specflags_ia32 -fomit-frame-pointer |
4b050385 | 68 | |
ae00d23e | 69 | %description |
1a5be8e2 | 70 | Window Manager for X Window System. Can emulate the look of |
71 | Windows'95, OS/2 Warp 3,4, Motif. Tries to take the best features of | |
72 | the above systems. Features multiple workspaces, opaque move/resize, | |
73 | task bar, window list, mailbox status, digital clock. Fast and small. | |
ae00d23e | 74 | |
4c581f51 | 75 | %description -l es.UTF-8 |
ddb1aa5d | 76 | Administrador de Ventanas para el X Window. Puede emular la apariencia |
77 | del Windows'95, OS/2 Warp 3 y 4 y el Motif. Intenta usar las mejores | |
4c581f51 | 78 | características de los sistemas citados. Características: varios |
ddb1aa5d | 79 | ambientes de trabajo, movimiento/ redimensionamiento opaco, barra de |
80 | tareas, lista de ventanas, estado de la caja de entrada del correo y | |
4c581f51 | 81 | reloj digital. Rápido y pequeño. |
ddb1aa5d | 82 | |
4c581f51 JR |
83 | %description -l pl.UTF-8 |
84 | Zarządca okienek pod X11. Może emulować wygląd Windows'95, OS/2 Warp | |
85 | 3, 4, MWM. Zarządca ten próbuje przejąć z powyższych środowisk ich | |
86 | najlepsze cechy, takie jak: wiele jednocześnie obecnych przestrzeni | |
87 | roboczych, paski narzędziowe, status skrzynki z pocztą, cyfrowy zegar. | |
88 | Jest przy tym mały i szybki. | |
ae00d23e | 89 | |
4c581f51 JR |
90 | %description -l pt_BR.UTF-8 |
91 | Gerenciador de Janelas para o X Window. Pode emular a aparência do | |
ddb1aa5d | 92 | Windows'95, OS/2 Warp 3 e 4 e o Motif. Tenta usar as melhores |
4c581f51 JR |
93 | características dos sistemas citados. Características: vários |
94 | ambientes de trabalho, movimentação/ redimensionamento opaco, barra de | |
ddb1aa5d | 95 | tarefas, lista de janelas, status da caixa de entrada do correio e |
4c581f51 | 96 | relógio digital. É rápido e pequeno. |
ddb1aa5d | 97 | |
4c581f51 JR |
98 | %description -l ru.UTF-8 |
99 | Оконный менеджер для X Window System. Может эмулировать внешний вид | |
100 | Windows'95, OS/2 Warp 3,4, Motif. Старается взять лучшее из упомянутых | |
101 | систем. Поддерживает несколько рабочих поверхностей, непрозрачное | |
102 | перемещение окон, полоску заданий, список окон, статус почтового | |
103 | ящика, цифровые часы. Быстрый и компактный. | |
ddb1aa5d | 104 | |
4c581f51 JR |
105 | %description -l uk.UTF-8 |
106 | Віконний менеджер для X Window System. Може емулювати зовнішній вигляд | |
107 | Windows'95, OS/2 Warp 3,4, Motif. Намагається взяти найкраще із | |
108 | згаданих систем. Підтримує кілька робочих площин, непрозоре | |
109 | переміщення вікон, смужку завдань, список вікон, стан поштової | |
110 | скриньки, цифровий годинник. Швидкий та компактний. | |
ddb1aa5d | 111 | |
4c581f51 | 112 | %description -l de.UTF-8 |
1dc87219 | 113 | IceWM ist ein in C++ programmierter, unter GPL stehender |
4c581f51 | 114 | Fenstermanager für das X11-Fenstersystem. Ziel von IceWM ist |
1dc87219 | 115 | Geschwindigkeit, Schlichtheit und Bedienerfreundlichkeit. |
116 | ||
117 | In der Standardeinstellung erinnert das Design von IceWM stark an | |
4c581f51 JR |
118 | Microsoft Windows: Er verfügt über eine Taskleiste am unteren |
119 | Bildrand, das aktive Fenster lässt sich mit der Tastenkombination | |
1dc87219 | 120 | ALT-TAB wechseln, etc. |
121 | ||
66cf1d33 | 122 | %package themes-base |
215be0a2 | 123 | Summary: Pack of themes for IceWM |
e71b1c56 | 124 | Summary(pl.UTF-8): Zestaw motywów dla IceWM-a |
1de8817c | 125 | Group: Themes |
545fec00 | 126 | Requires: %{name} = %{epoch}:%{version} |
60590c14 | 127 | BuildArch: noarch |
1de8817c | 128 | |
66cf1d33 | 129 | %description themes-base |
4ce4af62 JB |
130 | Standard pack of themes delivered with IceWM: |
131 | - CrystalBlue by BlueScorpio | |
132 | - Helix by RudeSka and TigerT | |
133 | - NanoBlue by lion1810 | |
134 | - metal2, motif, win32 by Marko Macek | |
135 | ||
136 | This package contains also old themes, no longer installed by default | |
137 | in IceWM 1.4: | |
138 | - gtk2, nice, nice2, warp3, warp4 by Marko Macek | |
139 | - yellowmotif by Andreas Leitgeb | |
1de8817c | 140 | |
4c581f51 | 141 | %description themes-base -l pl.UTF-8 |
4ce4af62 JB |
142 | Standardowy zestaw motywów dla IceWM-a, dostarczany wraz z nim: |
143 | - CrystalBlue autorstwa BlueScorpio | |
144 | - Helix autorstwa RudeSka i TigerT | |
145 | - NanoBlue autorstwa lion1810 | |
146 | - metal2, motif, win32 autorstwa Marko Macka | |
147 | ||
148 | Pakiet zawiera także stare motywy, nie instalowane domyślnie wraz z | |
149 | IceWM-em 1.4: | |
150 | - gtk2, nice, nice2, warp3, warp4 autorstwa Marko Macka | |
151 | - yellowmotif autorstwa Andreasa Leitgeba | |
1de8817c | 152 | |
e3ce326c | 153 | %prep |
8210023f | 154 | %setup -q |
4316a7a4 | 155 | %patch0 -p1 |
88a00d08 | 156 | |
ae00d23e | 157 | %build |
a5bfa87e KM |
158 | %cmake -B build \ |
159 | -DCONFIG_LIBRSVG=ON \ | |
160 | -DCFGDIR=%{_sysconfdir}/X11/%{name} \ | |
161 | -DDOCDIR=%{_docdir}/%{name}-%{version} \ | |
162 | %{?with_alsa:-DENABLE_ALSA=ON} \ | |
163 | %{?with_ao:-DENABLE_AO=ON} \ | |
4316a7a4 | 164 | %{!?with_freetype:-DCONFIG_XFREETYPE=OFF -DCONFIG_COREFONTS=ON} |
a5bfa87e KM |
165 | |
166 | cd build | |
167 | %{__make} | |
ae00d23e | 168 | |
169 | %install | |
4d5a15a4 | 170 | rm -rf $RPM_BUILD_ROOT |
a5bfa87e | 171 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name} |
0c3991fa | 172 | |
a5bfa87e | 173 | cd build |
6166ac1f JB |
174 | %{__make} install \ |
175 | DESTDIR=$RPM_BUILD_ROOT | |
a5bfa87e | 176 | cd .. |
4316a7a4 KM |
177 | |
178 | cd build/man | |
179 | %{__ln} -s icewm.1.html icewm.html | |
180 | cd - | |
181 | ||
182 | %{__sed} -e 's|^# IconPath=.*|IconPath="%{_pixmapsdir}:%{_iconsdir}:"|' -i $RPM_BUILD_ROOT%{_datadir}/icewm/preferences | |
25f07c49 JB |
183 | |
184 | # packaged as %doc | |
a5bfa87e | 185 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} |
25f07c49 | 186 | |
4316a7a4 KM |
187 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/icewm/startup |
188 | cp -p $RPM_BUILD_ROOT%{_datadir}/icewm/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/keys | |
189 | cp -p $RPM_BUILD_ROOT%{_datadir}/icewm/menu $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu | |
190 | cp -p $RPM_BUILD_ROOT%{_datadir}/icewm/preferences $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/preferences | |
191 | cp -p $RPM_BUILD_ROOT%{_datadir}/icewm/programs $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/programs | |
192 | cp -p $RPM_BUILD_ROOT%{_datadir}/icewm/startup $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/startup | |
193 | cp -p $RPM_BUILD_ROOT%{_datadir}/icewm/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/toolbar | |
194 | cp -p $RPM_BUILD_ROOT%{_datadir}/icewm/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/winoptions | |
87dff741 | 195 | :> $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/restart |
3c3df5cc | 196 | |
4ce4af62 JB |
197 | # old themes, no longer installed |
198 | cp -pr lib/themes/{gtk2,nice,nice2,warp3,warp4,yellowmotif} $RPM_BUILD_ROOT%{_datadir}/icewm/themes | |
199 | ||
8852bbec JR |
200 | # duplicate locale |
201 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/no | |
a5bfa87e KM |
202 | # unsupported locale |
203 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ie | |
8852bbec | 204 | |
6e364d8f | 205 | %find_lang %{name} |
cdb55b8b | 206 | |
ae00d23e | 207 | %clean |
4d5a15a4 | 208 | rm -rf $RPM_BUILD_ROOT |
ae00d23e | 209 | |
cdb55b8b | 210 | %files -f %{name}.lang |
5450fc43 | 211 | %defattr(644,root,root,755) |
a5bfa87e | 212 | %doc AUTHORS BUGS CHANGES ChangeLog NEWS PLATFORMS README.md THANKS TODO build/man/*.html |
efc175b0 JB |
213 | %attr(755,root,root) %{_bindir}/icehelp |
214 | %attr(755,root,root) %{_bindir}/icesh | |
efc175b0 | 215 | %attr(755,root,root) %{_bindir}/icesound |
efc175b0 | 216 | %attr(755,root,root) %{_bindir}/icewm |
25f07c49 | 217 | %attr(755,root,root) %{_bindir}/icewm-menu-fdo |
efc175b0 JB |
218 | %attr(755,root,root) %{_bindir}/icewm-session |
219 | %attr(755,root,root) %{_bindir}/icewm-set-gnomewm | |
220 | %attr(755,root,root) %{_bindir}/icewmbg | |
221 | %attr(755,root,root) %{_bindir}/icewmhint | |
505d687f WF |
222 | %attr(755,root,root) %{_bindir}/icewm-menu-xrandr |
223 | %{_mandir}/man1/icehelp.1* | |
224 | %{_mandir}/man1/icesh.1* | |
225 | %{_mandir}/man1/icesound.1* | |
226 | %{_mandir}/man1/icewm-menu-fdo.1* | |
227 | %{_mandir}/man1/icewm-menu-xrandr.1* | |
228 | %{_mandir}/man1/icewm-session.1* | |
229 | %{_mandir}/man1/icewm-set-gnomewm.1* | |
230 | %{_mandir}/man1/icewmbg.1* | |
231 | %{_mandir}/man1/icewmhint.1* | |
232 | %{_mandir}/man5/icewm-env.5* | |
233 | %{_mandir}/man5/icewm-focus_mode.5* | |
234 | %{_mandir}/man5/icewm-keys.5* | |
235 | %{_mandir}/man5/icewm-menu.5* | |
236 | %{_mandir}/man5/icewm-preferences.5* | |
237 | %{_mandir}/man5/icewm-prefoverride.5* | |
238 | %{_mandir}/man5/icewm-programs.5* | |
239 | %{_mandir}/man5/icewm-shutdown.5* | |
240 | %{_mandir}/man5/icewm-startup.5* | |
241 | %{_mandir}/man5/icewm-theme.5* | |
242 | %{_mandir}/man5/icewm-toolbar.5* | |
243 | %{_mandir}/man5/icewm-winoptions.5* | |
d6cdaeb0 | 244 | %dir %{_sysconfdir}/X11/%{name} |
efc175b0 | 245 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/keys |
4316a7a4 KM |
246 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/menu |
247 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/preferences | |
248 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/programs | |
efc175b0 JB |
249 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/toolbar |
250 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/winoptions | |
251 | %config(noreplace,missingok) %verify(not md5 mtime size) %attr(755,root,root) %{_sysconfdir}/X11/%{name}/restart | |
252 | %config(noreplace,missingok) %verify(not md5 mtime size) %attr(755,root,root) %{_sysconfdir}/X11/%{name}/startup | |
ad3dbd79 | 253 | %dir %{_datadir}/icewm |
505d687f | 254 | %{_datadir}/icewm/IceWM.jpg |
ad3dbd79 | 255 | %{_datadir}/icewm/icons |
efc175b0 JB |
256 | %{_datadir}/icewm/keys |
257 | %{_datadir}/icewm/menu | |
ad3dbd79 TP |
258 | %{_datadir}/icewm/ledclock |
259 | %{_datadir}/icewm/mailbox | |
efc175b0 | 260 | %{_datadir}/icewm/preferences |
25f07c49 | 261 | %{_datadir}/icewm/programs |
2e7a9eeb | 262 | %attr(755,root,root) %{_datadir}/icewm/startup |
efc175b0 | 263 | %{_datadir}/icewm/toolbar |
ad3dbd79 | 264 | %{_datadir}/icewm/taskbar |
efc175b0 | 265 | %{_datadir}/icewm/winoptions |
ad3dbd79 TP |
266 | %dir %{_datadir}/icewm/themes |
267 | %{_datadir}/icewm/themes/Infadel2 | |
4ce4af62 | 268 | %{_datadir}/icewm/themes/default |
10c19d56 | 269 | %{_datadir}/icewm/themes/icedesert |
efc175b0 | 270 | %{_datadir}/xsessions/icewm.desktop |
25f07c49 | 271 | %{_datadir}/xsessions/icewm-session.desktop |
25f07c49 | 272 | %{_mandir}/man1/icewm.1* |
1de8817c | 273 | |
66cf1d33 | 274 | %files themes-base |
c0e8bfc7 | 275 | %defattr(644,root,root,755) |
4ce4af62 JB |
276 | %{_datadir}/icewm/themes/CrystalBlue |
277 | %{_datadir}/icewm/themes/Helix | |
278 | %{_datadir}/icewm/themes/NanoBlue | |
ad3dbd79 TP |
279 | %{_datadir}/icewm/themes/metal2 |
280 | %{_datadir}/icewm/themes/motif | |
4ce4af62 JB |
281 | %{_datadir}/icewm/themes/win95 |
282 | # old themes, no longer installed in 1.4.x | |
283 | %{_datadir}/icewm/themes/gtk2 | |
ad3dbd79 TP |
284 | %{_datadir}/icewm/themes/nice |
285 | %{_datadir}/icewm/themes/nice2 | |
286 | %{_datadir}/icewm/themes/warp3 | |
287 | %{_datadir}/icewm/themes/warp4 | |
61d539bc | 288 | %{_datadir}/icewm/themes/yellowmotif |