-%define ver 1.5
-Summary: A NEXTSTEP(tm) theme for GTK.
+Summary: A NEXTSTEP(tm) theme for GTK
+Summary(pl): Temat NEXTSTEP(tm) dla GTK
Name: gtkstep
-Version: %{ver}
-Release: 1
-Copyright: GPL
-Source: ftp://sunshine.informatik.uni-wuerzburg.de/pub/wmaker/gtkstep/gtkstep-%{ver}.tar.gz
-BuildRoot: /tmp/gtkstep-%{PACKAGE_VERSION}-root
+Version: 2.2
+Release: 2
+License: GPL
Group: X11/Libraries
-Packager: Ullrich Hafner <hafner@bigfoot.de>
-Requires: gtk+ >= 1.1.15
+Group(de): X11/Libraries
+Group(es): X11/Bibliotecas
+Group(fr): X11/Librairies
+Group(pl): X11/Biblioteki
+Group(pt_BR): X11/Bibliotecas
+Group(ru): X11/âÉÂÌÉÏÔÅËÉ
+Group(uk): X11/â¦Â̦ÏÔÅËÉ
+Source0: http://ulli.linuxave.net/gtkstep/%{name}-%{version}.tar.bz2
Icon: gtkstep.xpm
+URL: http://ulli.linuxave.net/gtkstep/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gtk+-devel >= 1.1.6
+BuildRequires: libtool
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _prefix /usr/X11R6
%description
A NEXTSTEP(tm) theme for GTK. It emulates the look and feel of the
NEXTSTEP(tm) GUI.
+%description -l pl
+Temat NEXTSTEP(tm) dla GTK. Emuluje wygl±d graficznego interfejsu
+NEXTSTEP(tm).
+
%prep
-%setup
+%setup -q
+
%build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
-make
+rm -f missing
+libtoolize --copy --force
+aclocal
+autoconf
+automake -a -c
+%configure
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-make prefix=$RPM_BUILD_ROOT/usr install
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+gzip -9nf AUTHORS ChangeLog NEWS README
%clean
rm -rf $RPM_BUILD_ROOT
%files
-%attr(0644,root,root) /usr/lib/gtk/themes/engines/libstep.la
-%attr(0644,root,root) /usr/lib/gtk/themes/engines/libstep.so
-%attr(0644,root,root) /usr/lib/gtk/themes/engines/libstep.so.0
-%attr(0644,root,root) /usr/lib/gtk/themes/engines/libstep.so.0.0.0
-%attr(-,root,root) /usr/share/themes/Step/ICON.png
-%attr(-,root,root) /usr/share/themes/Step/README.html
-%attr(-,root,root) /usr/share/themes/Step/gtk/gtkrc
-%doc AUTHORS COPYING ChangeLog NEWS README
+%defattr(644,root,root,755)
+%doc *.gz
+%attr(755,root,root) %{_libdir}/gtk/themes/engines/lib*.so
+%{_datadir}/themes/Step