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