#
# Conditional build:
-%bcond_with gradients # enable gradients (implies with_antialiasing)
+%bcond_without gradients # enable gradients (implies with_antialiasing)
%bcond_without antialiasing # disable antialiasing
%bcond_without freetype # disable xfreetype support (implies !with_antialiasing)
%bcond_without guievents # disable guievents
Summary(pt_BR): Gerenciador de Janelas X11
Summary(ru): ïËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X11
Summary(uk): ÷¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X11
+Summary(de): Enlightenment ist ein Window Manager für X
Name: icewm
-Version: 1.2.16
+Version: 1.2.20
#%define _pre pre1
-Release: 1
+Release: 0.1
Epoch: 2
License: LGPL
Group: X11/Window Managers
#Source0: http://dl.sourceforge.net/icewm/%{name}-%{version}%{_pre}.tar.gz
Source0: http://dl.sourceforge.net/icewm/%{name}-%{version}.tar.gz
-# Source0-md5: 1aa92846cc516a2ac1d668d80c3ca5ea
+# Source0-md5: 6c94dae56fbf9aa085a1d780538018c1
Source1: IceWM.desktop
Source3: http://dl.sourceforge.net/icewm/iceicons-0.6.tar.gz
# Source3-md5: 53ed111a3c4d1e609bd1604ddccd4701
%define _wmstyledir /etc/sysconfig/wmstyle
%define _wmpropsdir /usr/share/wm-properties
-%define specflags_ia32 -fomit-frame-pointer
+%define specflags_ia32 -fomit-frame-pointer
%description
Window Manager for X Window System. Can emulate the look of
ÐÅÒÅͦÝÅÎÎÑ ×¦ËÏÎ, ÓÍÕÖËÕ ÚÁ×ÄÁÎØ, ÓÐÉÓÏË ×¦ËÏÎ, ÓÔÁÎ ÐÏÛÔÏ×ϧ
ÓËÒÉÎØËÉ, ÃÉÆÒÏ×ÉÊ ÇÏÄÉÎÎÉË. û×ÉÄËÉÊ ÔÁ ËÏÍÐÁËÔÎÉÊ.
+%description -l de
+IceWM ist ein in C++ programmierter, unter GPL stehender
+Fenstermanager für das X11-Fenstersystem. Ziel von IceWM ist
+Geschwindigkeit, Schlichtheit und Bedienerfreundlichkeit.
+
+In der Standardeinstellung erinnert das Design von IceWM stark an
+Microsoft Windows: Er verfügt über eine Taskleiste am unteren
+Bildrand, das aktive Fenster lässt sich mit der Tastenkombination
+ALT-TAB wechseln, etc.
+
%package themes-base
Summary: Pack of themes for IceWM
Summary(pl): Zestaw motywów dla IceWM-a
nice2, warp3, warp4, win95.
%prep
-#%setup -q -n %{name}-%{version}%{_pre}
+#setup -q -n %{name}-%{version}%{_pre}
%setup -q
%patch0 -p1
%patch1 -p1
-#%patch2 -p1
+#patch2 -p1
mv -f po/{no,nb}.po
mv -f po/{zh_TW.Big5,zh_TW}.po
%configure \
%{?with_gradients:--enable-gradients} \
%{?with_antialiasing:--enable-antialiasing} \
- %{!?with_freetype:--disable-xfreetype} \
+ %{!?with_freetype:--disable-xfreetype --enable-corefonts} \
%{?with_guievents:--enable-guievents} \
%{!?with_imlib:--without-imlib} \
--disable-menus-gnome \
install %{SOURCE4} $RPM_BUILD_ROOT%{_wmstyledir}/%{name}-session.sh
install %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
install lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/keys
-install lib/preferences $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/preferences
+sed 's|^# IconPath=""|IconPath="%{_datadir}/pixmaps:%{_datadir}/icons"|' < lib/preferences > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/preferences
install lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/toolbar
install lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/winoptions
echo %{_bindir}/icewmbg > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/startup
%doc AUTHORS BUGS CHANGES PLATFORMS README* TODO icewm.lsm doc/*.html
%attr(755,root,root) %{_bindir}/*
%dir %{_sysconfdir}/X11/%{name}
-%config(noreplace,missingok) %verify(not md5 size mtime) %{_sysconfdir}/X11/%{name}/[!rs]*
-%config(noreplace,missingok) %verify(not md5 size mtime) %attr(755,root,root) %{_sysconfdir}/X11/%{name}/[rs]*
+%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/[!rs]*
+%config(noreplace,missingok) %verify(not %attr(755,root,root md5 mtime) size) %{_sysconfdir}/X11/%{name}/[rs]*
%{_pixmapsdir}/icewm
%dir %{_datadir}/icewm
%{_datadir}/icewm/icons