]> git.pld-linux.org Git - packages/icewm.git/blame - icewm.spec
- VFMG is not required, just highly suggested
[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
e4d5bbaf 25Release: 2
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
6d982d2b 59BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ae00d23e 60
935ed14d 61%define _wmstyledir /etc/sysconfig/wmstyle
5c3db3eb 62%define _wmpropsdir /usr/share/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
bfecfae5 134#setup -q -n %{name}-%{version}%{_pre}
8210023f 135%setup -q
d7fd3e93 136%patch0 -p1
6e664482 137#patch1 -p1
bfecfae5 138#patch2 -p1
e4d5bbaf 139%patch3 -p1
ae00d23e 140
a57c0865
JB
141mv -f po/{zh_TW.Big5,zh_TW}.po
142
88a00d08 143cd lib/icons
716f35c8 144tar -xzf %{SOURCE3}
f358545f 145tar -xzf %{SOURCE6}
88a00d08 146
ae00d23e 147%build
b6feae82 148cp -f /usr/share/automake/config.sub .
f1701bad 149%{__aclocal}
150%{__autoconf}
bee131a8 151%{__autoheader}
9c2161ab 152%configure \
a57c0865
JB
153 %{?with_gradients:--enable-gradients} \
154 %{?with_antialiasing:--enable-antialiasing} \
bfecfae5 155 %{!?with_freetype:--disable-xfreetype --enable-corefonts} \
a57c0865 156 %{?with_guievents:--enable-guievents} \
a57c0865 157 %{!?with_imlib:--without-imlib} \
42555012 158 --disable-menus-gnome \
a0563aeb 159 --enable-shaped-decorations \
d6cdaeb0 160 --with-cfgdir=%{_sysconfdir}/X11/%{name} \
6e364d8f 161 --with-docdir=%{_docdir}
3bac607c 162%{__make}
ae00d23e 163
164%install
4d5a15a4 165rm -rf $RPM_BUILD_ROOT
d237af73 166install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_pixmapsdir},%{_wmstyledir}} \
dff8174f 167 $RPM_BUILD_ROOT{%{_wmpropsdir},%{_sysconfdir}/X11/%{name}}
0c3991fa 168
6166ac1f
JB
169%{__make} install \
170 DESTDIR=$RPM_BUILD_ROOT
ae00d23e 171
4d5a15a4 172install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
ab726bed 173install %{SOURCE4} $RPM_BUILD_ROOT%{_wmstyledir}/%{name}-session.sh
7cec5a11 174install %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
d6cdaeb0 175install lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/keys
1dc87219 176sed 's|^# IconPath=""|IconPath="%{_datadir}/pixmaps:%{_datadir}/icons"|' < lib/preferences > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/preferences
d6cdaeb0
TP
177install lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/toolbar
178install lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/winoptions
87dff741
TP
179echo %{_bindir}/icewmbg > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/startup
180:> $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/restart
3c3df5cc 181
ad3dbd79 182ln -s %{_datadir}/icewm/icons $RPM_BUILD_ROOT%{_pixmapsdir}/icewm
3ad3dd29 183
6e664482 184echo "menuprog \"Programs\" %{_datadir}/icewm/icons/folder_16x16.xpm vfmg -i -f -x -c -s icewm" > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu
f358545f 185
6e364d8f 186%find_lang %{name}
cdb55b8b 187
ae00d23e 188%clean
4d5a15a4 189rm -rf $RPM_BUILD_ROOT
ae00d23e 190
afc8af6e 191%pre
4af6cac8 192test -h %{_pixmapsdir}/icewm || rm -rf %{_pixmapsdir}/icewm
afc8af6e 193
cdb55b8b 194%files -f %{name}.lang
5450fc43 195%defattr(644,root,root,755)
882c3d87 196%doc AUTHORS BUGS CHANGES PLATFORMS README* TODO icewm.lsm doc/*.html
0c3991fa 197%attr(755,root,root) %{_bindir}/*
d6cdaeb0 198%dir %{_sysconfdir}/X11/%{name}
1dc87219 199%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/[!rs]*
fb41a403 200%config(noreplace,missingok) %verify(not md5 mtime size) %attr(755,root,root) %{_sysconfdir}/X11/%{name}/[rs]*
95624d68 201%{_pixmapsdir}/icewm
ad3dbd79
TP
202%dir %{_datadir}/icewm
203%{_datadir}/icewm/icons
204%{_datadir}/icewm/ledclock
205%{_datadir}/icewm/mailbox
206%{_datadir}/icewm/taskbar
207%dir %{_datadir}/icewm/themes
208%{_datadir}/icewm/themes/Infadel2
10c19d56 209%{_datadir}/icewm/themes/icedesert
d237af73 210%{_datadir}/xsessions/%{name}.desktop
e3ce326c 211%{_wmpropsdir}/*
b48d4be1 212%attr(755,root,root) %{_wmstyledir}/%{name}-session.sh
1de8817c 213
66cf1d33 214%files themes-base
c0e8bfc7 215%defattr(644,root,root,755)
ad3dbd79
TP
216%{_datadir}/icewm/themes/gtk2
217%{_datadir}/icewm/themes/metal2
218%{_datadir}/icewm/themes/motif
219%{_datadir}/icewm/themes/nice
220%{_datadir}/icewm/themes/nice2
221%{_datadir}/icewm/themes/warp3
222%{_datadir}/icewm/themes/warp4
223%{_datadir}/icewm/themes/win95
61d539bc 224%{_datadir}/icewm/themes/yellowmotif
This page took 0.096611 seconds and 4 git commands to generate.