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