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