Summary(pl): IceWM - Mened¿er okienek X11
Name: icewm
Version: 1.0.9
-Release: 1
+Release: 4
License: LGPL
Group: X11/Window Managers
Group(de): X11/Fenstermanager
Source1: IceWM.desktop
Source2: %{name}.directory
Source3: ftp://download.sourceforge.net/pub/sourceforge/icewm/iceicons-0.6.tar.gz
+Source4: IceWM.RunWM
+Source5: IceWM.wm_style
Patch0: %{name}-DESTDIR.patch
Patch1: %{name}-menu.patch
URL: http://www.icewm.org/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr/X11R6
-%define _sysconfdir /etc/X11/icewm/
+%define _sysconfdir /etc/X11/icewm
+%define _wmstyledir /etc/sysconfig/wmstyle
%define _wmpropsdir %{_datadir}/wm-properties
%description
Requires: icewm
%description themes-base
-Standard pack of themes delivered with icewm.
-All of them made by Marko Macek:
-gtk2, metal2, motif, nice, warp3, warp4, win95
+Standard pack of themes delivered with icewm. All of them made by
+Marko Macek: gtk2, metal2, motif, nice, warp3, warp4, win95
%description themes-base -l pl
Standardowy zestaw tematów dla IceWM'a, dostarczany wraz nim.
-Wszystkie stworzone przez Marko Macek:
-gtk2, metal2, motif, nice, warp3, warp4, win95
+Wszystkie stworzone przez Marko Macek: gtk2, metal2, motif, nice,
+warp3, warp4, win95
%prep -q
%setup -q
%build
export LDFLAGS
%configure \
- --with-shape \
--prefix=%{_prefix} \
- --with-docdir=/usr/share/doc \
--with-cfgdir=%{_sysconfdir} \
- --with-sm \
- --with-imlib \
+ --with-docdir=%{_docdir} \
--with-gnome \
--with-gnome-menus \
--with-i18n \
- --enable-nls \
+ --with-imlib \
+ --with-shape \
+ --with-sm \
+ --enable-antialiasing \
+ --enable-gradients \
--enable-guievents \
- --with-imlib
+ --enable-nls \
+ --enable-xfreetype
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_wmpropsdir},%{_applnkdir}/Settings/IceWM}
+install -d $RPM_BUILD_ROOT{%{_wmstyledir},%{_applnkdir}/Settings/IceWM,%{_wmpropsdir}}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
install lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/keys
install lib/menu $RPM_BUILD_ROOT%{_sysconfdir}/menu
install lib/preferences $RPM_BUILD_ROOT%{_sysconfdir}/preferences
-install lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}toolbar
+install lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/toolbar
install lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/winoptions
+install %{SOURCE4} $RPM_BUILD_ROOT%{_wmstyledir}/IceWM.sh
+install %{SOURCE5} $RPM_BUILD_ROOT%{_wmstyledir}/IceWM.names
+
#mv -f %{_libdir}/X11/icewm/icons/* %{_pixmapsdir}/icewm/
#rm -rf %{_libdir}/X11/icewm/icons
%defattr(644,root,root,755)
%doc *.gz doc/*.*ml
%attr(755,root,root) %{_bindir}/*
+%dir %{_sysconfdir}
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/*
%dir %{_applnkdir}/Settings/IceWM
%{_applnkdir}/Settings/IceWM/.directory
%{_libdir}/X11/icewm/taskbar
%dir %{_libdir}/X11/icewm/themes
%{_libdir}/X11/icewm/themes/Infadel2
+%attr(755,root,root) %{_wmstyledir}/IceWM.sh
+%attr(644,root,root) %{_wmstyledir}/IceWM.names
%files themes-base
%defattr(644,root,root,755)