Summary: IceWM X11 Window Manager
Summary(pl): IceWM - Mened¿er okienek X11
Name: icewm
-Version: 0.9.37
+Version: 1.0.0
Release: 1
-Copyright: GPL
+License: GPL
Group: X11/Window Managers
Group(pl): X11/Zarz±dcy Okien
-Source: http://www.kiss.uni-lj.si/~k4fr0235/icewm/devel/%{name}-%{version}.src.tar.gz
-URL: http://berta.fri.uni-lj.si/~markom/icewm/
+Source: http://download.sourceforge.net/icewm/%{name}-%{version}.src.tar.gz
+URL: http://icewm.sourceforge.net/
+BuildRequires: imlib-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel
+BuildRequires: libtiff-devel
+BuildRequires: libungif-devel
+BuildRequires: XFree86-devel
BuildRoot: /tmp/%{name}-%{version}-root
+%define _prefix /usr/X11R6
+%define _sysconfdir /etc/X11/icewm
+
%description
Window Manager for X Window System. Can emulate the look of Windows'95,
OS/2 Warp 3,4, Motif. Tries to take the best features of the above systems.
%setup -q
%build
-./config \
+LDFLAGS="-s"; export LDFLAGS
+%configure \
--with-shape \
--with-sm \
--with-imlib \
--with-gnome \
-# --with-i18n
+ --with-i18n
make PREFIX=/usr/X11R6 optimize="$RPM_OPT_FLAGS"
%install
+rm -rf $RPM_BUILD_ROOT
+
make install \
- PREFIX=$RPM_BUILD_ROOT/usr/X11R6 \
- ETCDIR=$RPM_BUILD_ROOT/etc/X11/icewm
+ PREFIX=$RPM_BUILD_ROOT%{_prefix} \
+ BINDIR=$RPM_BUILD_ROOT%{_bindir} \
+ LIBDIR=$RPM_BUILD_ROOT%{_libdir}/X11/icewm \
+ ETCDIR=$RPM_BUILD_ROOT%{_sysconfdir}
gzip -9nf README CHANGES TODO BUGS
%files
%defattr(644,root,root,755)
%doc {README,CHANGES,TODO,BUGS}.gz doc/*.html
-/usr/X11R6/lib/X11/icewm
-%attr(755,root,root) /usr/X11R6/bin/*
-
-%changelog
-* Fri Mar 19 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [0.9.34-1]
-- added gzipping some %doc,
-- added Group(pl).
-
-* Fri Nov 20 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [0.9.17-1]
-- added -q %setup parameter,
-- changed Buildroot to /tmp/%%{name}-%%{version}-root,
-- added using %%{name} and %%{version} in Source,
-- added using $RPM_OPT_FLAGS during compile,
-- added pl translation,
-- added %attr and %defattr macros in %files (allows build package from
- non-root account).
+%dir %{_sysconfdir}
+%{_libdir}/X11/icewm
+%attr(755,root,root) %{_bindir}/*