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