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