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