]> git.pld-linux.org Git - packages/icewm.git/blame_incremental - icewm.spec
- one more autohide fix: moving out of newly created window at taskbar (for
[packages/icewm.git] / icewm.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_without gradients # disable gradients (requires antialiasing which requires freetype)
4%bcond_without freetype # disable xfreetype support (implies !with_antialiasing)
5%bcond_without guievents # disable guievents
6%bcond_with gnome2 # build with support for GNOME2 wm-properties
7#
8# TODO:
9# - make a PLD-theme - default :]
10
11Summary: IceWM X11 Window Manager
12Summary(de.UTF-8): IceWM ist ein Window Manager für X
13Summary(es.UTF-8): Administrador de Ventanas X11
14Summary(pl.UTF-8): IceWM - zarządca okienek X11
15Summary(pt_BR.UTF-8): Gerenciador de Janelas X11
16Summary(ru.UTF-8): Оконный менеджер для X11
17Summary(uk.UTF-8): Віконний менеджер для X11
18Name: icewm
19Version: 1.3.7
20%define _iceicons_ver 0.6
21%define _netscapeicons_ver 0.2
22Release: 4
23Epoch: 2
24License: LGPL
25Group: X11/Window Managers
26Source0: http://dl.sourceforge.net/icewm/%{name}-%{version}.tar.gz
27# Source0-md5: 224695231aedb2b91db3254a13e1c8dd
28Source1: IceWM.desktop
29Source3: http://dl.sourceforge.net/icewm/iceicons-%{_iceicons_ver}.tar.gz
30# Source3-md5: 53ed111a3c4d1e609bd1604ddccd4701
31Source4: icewm-startup.sh
32Source6: http://dl.sourceforge.net/icewm/netscapeicons-%{_netscapeicons_ver}.tar.gz
33# Source6-md5: 409aa9b02adc11309ed546c5120c01d2
34Source7: %{name}-xsession.desktop
35Patch0: %{name}-build-fixes.patch
36Patch1: %{name}-tray_hotfixes.patch
37Patch2: %{name}-fix_input_focus_loss_for_deiconified_frame_1.patch
38Patch3: %{name}-ifstate-exact-check.patch
39Patch4: %{name}-imap-unseen.patch
40Patch5: %{name}-autohide.patch
41URL: http://www.icewm.org/
42BuildRequires: autoconf >= 2.50
43BuildRequires: automake
44BuildRequires: gdk-pixbuf-devel
45BuildRequires: gettext-devel
46BuildRequires: gtk+2-devel
47BuildRequires: kde4-kde3support
48BuildRequires: libstdc++-devel
49BuildRequires: pkgconfig
50BuildRequires: xorg-lib-libICE-devel
51BuildRequires: xorg-lib-libSM-devel
52BuildRequires: xorg-lib-libX11-devel
53%{?with_freetype:BuildRequires: xorg-lib-libXft-devel >= 2.1}
54BuildRequires: xorg-lib-libXinerama-devel
55%{?with_guievents:BuildRequires: yiff-devel}
56Requires(pre): fileutils
57Requires(pre): sh-utils
58Requires: shared-mime-info
59Requires: xinitrc-ng
60Suggests: vfmg >= 0.9.95
61Conflicts: filesystem < 3.0-20
62BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
63
64%define _wmpropsdir /usr/share/gnome/wm-properties
65%define specflags_ia32 -fomit-frame-pointer
66
67%description
68Window Manager for X Window System. Can emulate the look of
69Windows'95, OS/2 Warp 3,4, Motif. Tries to take the best features of
70the above systems. Features multiple workspaces, opaque move/resize,
71task bar, window list, mailbox status, digital clock. Fast and small.
72
73%description -l es.UTF-8
74Administrador de Ventanas para el X Window. Puede emular la apariencia
75del Windows'95, OS/2 Warp 3 y 4 y el Motif. Intenta usar las mejores
76características de los sistemas citados. Características: varios
77ambientes de trabajo, movimiento/ redimensionamiento opaco, barra de
78tareas, lista de ventanas, estado de la caja de entrada del correo y
79reloj digital. Rápido y pequeño.
80
81%description -l pl.UTF-8
82Zarządca okienek pod X11. Może emulować wygląd Windows'95, OS/2 Warp
833, 4, MWM. Zarządca ten próbuje przejąć z powyższych środowisk ich
84najlepsze cechy, takie jak: wiele jednocześnie obecnych przestrzeni
85roboczych, paski narzędziowe, status skrzynki z pocztą, cyfrowy zegar.
86Jest przy tym mały i szybki.
87
88%description -l pt_BR.UTF-8
89Gerenciador de Janelas para o X Window. Pode emular a aparência do
90Windows'95, OS/2 Warp 3 e 4 e o Motif. Tenta usar as melhores
91características dos sistemas citados. Características: vários
92ambientes de trabalho, movimentação/ redimensionamento opaco, barra de
93tarefas, lista de janelas, status da caixa de entrada do correio e
94relógio digital. É rápido e pequeno.
95
96%description -l ru.UTF-8
97Оконный менеджер для X Window System. Может эмулировать внешний вид
98Windows'95, OS/2 Warp 3,4, Motif. Старается взять лучшее из упомянутых
99систем. Поддерживает несколько рабочих поверхностей, непрозрачное
100перемещение окон, полоску заданий, список окон, статус почтового
101ящика, цифровые часы. Быстрый и компактный.
102
103%description -l uk.UTF-8
104Віконний менеджер для X Window System. Може емулювати зовнішній вигляд
105Windows'95, OS/2 Warp 3,4, Motif. Намагається взяти найкраще із
106згаданих систем. Підтримує кілька робочих площин, непрозоре
107переміщення вікон, смужку завдань, список вікон, стан поштової
108скриньки, цифровий годинник. Швидкий та компактний.
109
110%description -l de.UTF-8
111IceWM ist ein in C++ programmierter, unter GPL stehender
112Fenstermanager für das X11-Fenstersystem. Ziel von IceWM ist
113Geschwindigkeit, Schlichtheit und Bedienerfreundlichkeit.
114
115In der Standardeinstellung erinnert das Design von IceWM stark an
116Microsoft Windows: Er verfügt über eine Taskleiste am unteren
117Bildrand, das aktive Fenster lässt sich mit der Tastenkombination
118ALT-TAB wechseln, etc.
119
120%package themes-base
121Summary: Pack of themes for IceWM
122Summary(pl.UTF-8): Zestaw motywów dla IceWM-a
123Group: Themes
124Requires: icewm
125
126%description themes-base
127Standard pack of themes delivered with IceWM. All of them made by
128Marko Macek: gtk2, metal2, motif, nice, nice2, warp3, warp4, win95.
129
130%description themes-base -l pl.UTF-8
131Standardowy zestaw motywów dla IceWM-a, dostarczany wraz z nim.
132Wszystkie stworzone przez Marko Macka: gtk2, metal2, motif, nice,
133nice2, warp3, warp4, win95.
134
135%prep
136%setup -q
137%patch0 -p1
138%patch1 -p1
139%patch2 -p1
140%patch3 -p1
141%patch4 -p1
142%patch5 -p1
143
144cd lib/icons
145tar -xzf %{SOURCE3}
146tar -xzf %{SOURCE6}
147
148%build
149cp -f /usr/share/automake/config.sub .
150%{__aclocal}
151%{__autoconf}
152%{__autoheader}
153%configure \
154 %{!?with_gradients:--disable-gradients} \
155 %{!?with_freetype:--disable-xfreetype --enable-corefonts} \
156 %{?with_guievents:--enable-guievents} \
157 --enable-shaped-decorations \
158 --with-cfgdir=%{_sysconfdir}/X11/%{name} \
159 --with-docdir=%{_docdir}
160%{__make}
161
162%install
163rm -rf $RPM_BUILD_ROOT
164install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_pixmapsdir}} \
165 $RPM_BUILD_ROOT{%{_wmpropsdir},%{_sysconfdir}/X11/%{name}}
166
167%{__make} install \
168 DESTDIR=$RPM_BUILD_ROOT
169
170%{?with_gnome2:install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}}
171install %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/icewm/startup
172install %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
173install lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/keys
174sed 's|^# IconPath=""|IconPath="%{_datadir}/pixmaps:%{_datadir}/icons"|' < lib/preferences > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/preferences
175install lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/toolbar
176install lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/winoptions
177echo %{_bindir}/icewmbg > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/startup
178:> $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/restart
179
180ln -s %{_datadir}/icewm/icons $RPM_BUILD_ROOT%{_pixmapsdir}/icewm
181
182echo "menuprog \"Programs\" %{_datadir}/icewm/icons/folder_16x16.xpm vfmg -i -f -x -c -s icewm" > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu
183
184%find_lang %{name}
185
186%clean
187rm -rf $RPM_BUILD_ROOT
188
189%pre
190test -h %{_pixmapsdir}/icewm || rm -rf %{_pixmapsdir}/icewm
191
192%files -f %{name}.lang
193%defattr(644,root,root,755)
194%doc AUTHORS BUGS CHANGES PLATFORMS README* TODO icewm.lsm doc/*.html
195%attr(755,root,root) %{_bindir}/*
196%dir %{_sysconfdir}/X11/%{name}
197%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/[!rs]*
198%config(noreplace,missingok) %verify(not md5 mtime size) %attr(755,root,root) %{_sysconfdir}/X11/%{name}/[rs]*
199%{_pixmapsdir}/icewm
200%dir %{_datadir}/icewm
201%{_datadir}/icewm/icons
202%{_datadir}/icewm/ledclock
203%{_datadir}/icewm/mailbox
204%attr(755,root,root) %{_datadir}/icewm/startup
205%{_datadir}/icewm/taskbar
206%dir %{_datadir}/icewm/themes
207%{_datadir}/icewm/themes/Infadel2
208%{_datadir}/icewm/themes/icedesert
209%{_datadir}/xsessions/%{name}.desktop
210%{?with_gnome2:%{_wmpropsdir}/*}
211
212%files themes-base
213%defattr(644,root,root,755)
214%{_datadir}/icewm/themes/gtk2
215%{_datadir}/icewm/themes/metal2
216%{_datadir}/icewm/themes/motif
217%{_datadir}/icewm/themes/nice
218%{_datadir}/icewm/themes/nice2
219%{_datadir}/icewm/themes/warp3
220%{_datadir}/icewm/themes/warp4
221%{_datadir}/icewm/themes/win95
222%{_datadir}/icewm/themes/yellowmotif
This page took 0.081711 seconds and 4 git commands to generate.