-Summary: Red Hat X Window System Configuration tool
-Summary(pl): Narzêdzie do konfiguracji X Window System
-Name: Xconfigurator
-Version: 3.84
-Release: 3
-Copyright: distributable
-Group: X11/Utilities
-Group(pl): X11/Narzêdzia
-Source: %{name}-%{version}.tar.gz
-Patch: Xconfigurator-config.patch
-Requires: XFree86 >= 3.3.2, kbdconfig, mouseconfig >= 2.8, kbd
-Requires: initscripts >= 3.60
-ExcludeArch: sparc
-BuildRoot: /tmp/%{name}-%{version}-root
+Summary: Red Hat X Window System Configuration tool
+Summary(pl.UTF-8): Narzędzie do konfiguracji X Window System
+Name: Xconfigurator
+Version: 4.10.7
+Release: 1
+License: distributable
+Group: X11/Applications
+Source0: %{name}-%{version}.tar.bz2
+# Source0-md5: 13b8af4364419e959396df2b1f50d87e
+#Patch0: %{name}-config.patch
+Patch1: %{name}-kudzu.patch
+#Requires: initscripts >= 3.60
+BuildRequires: gdk-pixbuf-devel
+BuildRequires: gnome-libs-devel
+BuildRequires: kudzu-devel
+Requires: XFree86 >= 3.3.2
+Requires: kbd
+Requires: kbdconfig
+Requires: mouseconfig >= 2.8
+ExcludeArch: sparc
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _prefix /usr/X11R6
+%define _mandir %{_prefix}/man
%description
-This is the Red Hat X Configuration tool. It is based on the sources
-for xf86config, a utility from XFree86. It has a nicer user interface
+This is the Red Hat X Configuration tool. It is based on the sources
+for xf86config, a utility from XFree86. It has a nicer user interface
added to make it easier for the end user.
-NOTE - use mouseconfig to change your mouse type, then re-run Xconfigurator
-to set X up for your new mouse type.
+NOTE - use mouseconfig to change your mouse type, then re-run
+Xconfigurator to set X up for your new mouse type.
-%description -l pl
-Narzêdzie do konfiguracji X Window System stworzone przez firmê Red Hat
-Software. Jest oparte na xf86config - narzêdziu z XFree86. Ma
-przyjemniejszy interfejs i jest ³atwiejszy w obs³udze.
+%description -l pl.UTF-8
+Narzędzie do konfiguracji X Window System stworzone przez firmę Red
+Hat Software. Jest oparte na xf86config - narzędziu z XFree86. Ma
+przyjemniejszy interfejs i jest łatwiejszy w obsłudze.
%prep
%setup -q
-%patch -p1
+#%patch0 -p1
+%patch1 -p1
%build
-make
-strip Xconfigurator
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-make PREFIX=$RPM_BUILD_ROOT install
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/Xconfigurator.1x
-gzip -9nf README TODO
+%{__make} install \
+ PREFIX=$RPM_BUILD_ROOT
%find_lang %{name}
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc {README,TODO}.gz
-%attr(755,root,root) /usr/X11R6/bin/Xconfigurator
-/usr/X11R6/share/Xconfigurator
-/usr/X11R6/man/man1/Xconfigurator.1x.gz
+%doc README TODO
+%attr(755,root,root) %{_bindir}/Xconfigurator
+%attr(755,root,root) %{_bindir}/Xtest
+%{_datadir}/Xconfigurator
+%{_mandir}/man1/Xconfigurator.1x*