]>
Commit | Line | Data |
---|---|---|
c3c05e60 | 1 | # |
747634b9 | 2 | # Conditional build: |
2b501414 | 3 | %bcond_without gradients # disable gradients (implies with_antialiasing) |
a57c0865 JB |
4 | %bcond_without antialiasing # disable antialiasing |
5 | %bcond_without freetype # disable xfreetype support (implies !with_antialiasing) | |
6 | %bcond_without guievents # disable guievents | |
a57c0865 | 7 | %bcond_without imlib # disable imlib support |
747634b9 | 8 | # |
c3c05e60 | 9 | # TODO: |
c3c05e60 PG |
10 | # - make a PLD-theme - default :] |
11 | # | |
f1701bad | 12 | |
5450fc43 | 13 | Summary: IceWM X11 Window Manager |
e71b1c56 ER |
14 | Summary(es.UTF-8): Administrador de Ventanas X11 |
15 | Summary(pl.UTF-8): IceWM - zarządca okienek X11 | |
16 | Summary(pt_BR.UTF-8): Gerenciador de Janelas X11 | |
17 | Summary(ru.UTF-8): Оконный менеджер для X11 | |
18 | Summary(uk.UTF-8): Віконний менеджер для X11 | |
19 | Summary(de.UTF-8): IceWM ist ein Window Manager für X | |
5450fc43 | 20 | Name: icewm |
ea4a5f64 | 21 | Version: 1.2.25 |
8210023f | 22 | #%define _pre pre1 |
18f36367 MŁ |
23 | %define _iceicons_ver 0.6 |
24 | %define _netscapeicons_ver 0.2 | |
b1e4d06f | 25 | Release: 0.2 |
1e98fedb | 26 | Epoch: 2 |
e991e49c | 27 | License: LGPL |
5450fc43 | 28 | Group: X11/Window Managers |
8210023f | 29 | #Source0: http://dl.sourceforge.net/icewm/%{name}-%{version}%{_pre}.tar.gz |
30 | Source0: http://dl.sourceforge.net/icewm/%{name}-%{version}.tar.gz | |
ea4a5f64 | 31 | # Source0-md5: af69d095a6c6fba1f73f80e966bc4459 |
0c3991fa | 32 | Source1: IceWM.desktop |
18f36367 | 33 | Source3: http://dl.sourceforge.net/icewm/iceicons-%{_iceicons_ver}.tar.gz |
a5b4d509 | 34 | # Source3-md5: 53ed111a3c4d1e609bd1604ddccd4701 |
3c3df5cc | 35 | Source4: IceWM.RunWM |
18f36367 | 36 | Source6: http://dl.sourceforge.net/icewm/netscapeicons-%{_netscapeicons_ver}.tar.gz |
a5b4d509 | 37 | # Source6-md5: 409aa9b02adc11309ed546c5120c01d2 |
d237af73 | 38 | Source7: %{name}-xsession.desktop |
d7fd3e93 | 39 | Patch0: %{name}-broken-xrandr.patch |
dd50075f | 40 | Patch1: %{name}-home_etc.patch |
8210023f | 41 | Patch2: %{name}-helpbrowser.patch |
175e48e0 | 42 | Patch3: %{name}-types.patch |
cdb55b8b | 43 | URL: http://www.icewm.org/ |
66cf1d33 | 44 | BuildRequires: XFree86-devel |
a57c0865 | 45 | BuildRequires: autoconf >= 2.50 |
3d37a24f | 46 | BuildRequires: automake |
a57c0865 | 47 | %{?with_guievents:BuildRequires: esound-devel} |
3d37a24f | 48 | BuildRequires: gettext-devel |
a57c0865 | 49 | %{?with_imlib:BuildRequires: imlib-devel} |
ad3dbd79 | 50 | BuildRequires: libstdc++-devel |
a57c0865 | 51 | %{?with_freetype:BuildRequires: xft-devel >= 2.1} |
db2f0631 | 52 | %{?with_guievents:BuildRequires: yiff-devel} |
afc8af6e TP |
53 | Requires(pre): fileutils |
54 | Requires(pre): sh-utils | |
b1e4d06f | 55 | Requires: vfmg >= 0.9.95 |
6d982d2b | 56 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
ae00d23e | 57 | |
935ed14d | 58 | %define _wmstyledir /etc/sysconfig/wmstyle |
5c3db3eb | 59 | %define _wmpropsdir /usr/share/wm-properties |
1dc87219 | 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 |
bfecfae5 | 131 | #setup -q -n %{name}-%{version}%{_pre} |
8210023f | 132 | %setup -q |
d7fd3e93 | 133 | %patch0 -p1 |
dd50075f | 134 | %patch1 -p1 |
bfecfae5 | 135 | #patch2 -p1 |
175e48e0 | 136 | %patch3 -p1 |
ae00d23e | 137 | |
a57c0865 JB |
138 | mv -f po/{zh_TW.Big5,zh_TW}.po |
139 | ||
88a00d08 | 140 | cd lib/icons |
716f35c8 | 141 | tar -xzf %{SOURCE3} |
f358545f | 142 | tar -xzf %{SOURCE6} |
88a00d08 | 143 | |
ae00d23e | 144 | %build |
b6feae82 | 145 | cp -f /usr/share/automake/config.sub . |
f1701bad | 146 | %{__aclocal} |
147 | %{__autoconf} | |
bee131a8 | 148 | %{__autoheader} |
9c2161ab | 149 | %configure \ |
a57c0865 JB |
150 | %{?with_gradients:--enable-gradients} \ |
151 | %{?with_antialiasing:--enable-antialiasing} \ | |
bfecfae5 | 152 | %{!?with_freetype:--disable-xfreetype --enable-corefonts} \ |
a57c0865 | 153 | %{?with_guievents:--enable-guievents} \ |
a57c0865 | 154 | %{!?with_imlib:--without-imlib} \ |
42555012 | 155 | --disable-menus-gnome \ |
a0563aeb | 156 | --enable-shaped-decorations \ |
d6cdaeb0 | 157 | --with-cfgdir=%{_sysconfdir}/X11/%{name} \ |
6e364d8f | 158 | --with-docdir=%{_docdir} |
3bac607c | 159 | %{__make} |
ae00d23e | 160 | |
161 | %install | |
4d5a15a4 | 162 | rm -rf $RPM_BUILD_ROOT |
d237af73 | 163 | install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_pixmapsdir},%{_wmstyledir}} \ |
dff8174f | 164 | $RPM_BUILD_ROOT{%{_wmpropsdir},%{_sysconfdir}/X11/%{name}} |
0c3991fa | 165 | |
6166ac1f JB |
166 | %{__make} install \ |
167 | DESTDIR=$RPM_BUILD_ROOT | |
ae00d23e | 168 | |
4d5a15a4 | 169 | install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir} |
ab726bed | 170 | install %{SOURCE4} $RPM_BUILD_ROOT%{_wmstyledir}/%{name}-session.sh |
7cec5a11 | 171 | install %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop |
d6cdaeb0 | 172 | install lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/keys |
1dc87219 | 173 | sed 's|^# IconPath=""|IconPath="%{_datadir}/pixmaps:%{_datadir}/icons"|' < lib/preferences > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/preferences |
d6cdaeb0 TP |
174 | install lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/toolbar |
175 | install lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/winoptions | |
87dff741 TP |
176 | echo %{_bindir}/icewmbg > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/startup |
177 | :> $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/restart | |
3c3df5cc | 178 | |
ad3dbd79 | 179 | ln -s %{_datadir}/icewm/icons $RPM_BUILD_ROOT%{_pixmapsdir}/icewm |
3ad3dd29 | 180 | |
b1e4d06f | 181 | echo "menuprog \"Programs\" %{_datadir}/icewm/icons/folder_16x16.xpm vfmg icewm" > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu |
f358545f | 182 | |
6e364d8f | 183 | %find_lang %{name} |
cdb55b8b | 184 | |
ae00d23e | 185 | %clean |
4d5a15a4 | 186 | rm -rf $RPM_BUILD_ROOT |
ae00d23e | 187 | |
afc8af6e | 188 | %pre |
4af6cac8 | 189 | test -h %{_pixmapsdir}/icewm || rm -rf %{_pixmapsdir}/icewm |
afc8af6e | 190 | |
cdb55b8b | 191 | %files -f %{name}.lang |
5450fc43 | 192 | %defattr(644,root,root,755) |
882c3d87 | 193 | %doc AUTHORS BUGS CHANGES PLATFORMS README* TODO icewm.lsm doc/*.html |
0c3991fa | 194 | %attr(755,root,root) %{_bindir}/* |
d6cdaeb0 | 195 | %dir %{_sysconfdir}/X11/%{name} |
1dc87219 | 196 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/[!rs]* |
fb41a403 | 197 | %config(noreplace,missingok) %verify(not md5 mtime size) %attr(755,root,root) %{_sysconfdir}/X11/%{name}/[rs]* |
95624d68 | 198 | %{_pixmapsdir}/icewm |
ad3dbd79 TP |
199 | %dir %{_datadir}/icewm |
200 | %{_datadir}/icewm/icons | |
201 | %{_datadir}/icewm/ledclock | |
202 | %{_datadir}/icewm/mailbox | |
203 | %{_datadir}/icewm/taskbar | |
204 | %dir %{_datadir}/icewm/themes | |
205 | %{_datadir}/icewm/themes/Infadel2 | |
10c19d56 | 206 | %{_datadir}/icewm/themes/icedesert |
d237af73 | 207 | %{_datadir}/xsessions/%{name}.desktop |
e3ce326c | 208 | %{_wmpropsdir}/* |
b48d4be1 | 209 | %attr(755,root,root) %{_wmstyledir}/%{name}-session.sh |
1de8817c | 210 | |
66cf1d33 | 211 | %files themes-base |
c0e8bfc7 | 212 | %defattr(644,root,root,755) |
ad3dbd79 TP |
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 | |
61d539bc | 221 | %{_datadir}/icewm/themes/yellowmotif |