Copyright: distributable
Group: X11/Utilities
Group(pl): X11/Narzêdzia
-Source: %{name}-%{version}.tar.gz
-Patch: Xconfigurator-config.patch
+Source0: %{name}-%{version}.tar.gz
+Patch0: Xconfigurator-config.patch
Requires: XFree86 >= 3.3.2, kbdconfig, mouseconfig >= 2.8, kbd
#Requires: initscripts >= 3.60
ExcludeArch: sparc
%define _mandir /usr/X11R6/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
+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
%build
make
-strip Xconfigurator
%install
rm -rf $RPM_BUILD_ROOT
+
+strip Xconfigurator
make PREFIX=$RPM_BUILD_ROOT install
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/Xconfigurator.1x
-gzip -9nf README TODO
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
+ README TODO
%find_lang %{name}
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc {README,TODO}.gz
-%attr(755,root,root) /usr/X11R6/bin/Xconfigurator
-%attr(755,root,root) /usr/X11R6/bin/Xtest
-/usr/X11R6/share/Xconfigurator
-/usr/X11R6/man/man1/Xconfigurator.1x.gz
+%attr(755,root,root) %{_bindir}/Xconfigurator
+%attr(755,root,root) %{_bindir}/Xtest
+%{_datadir}/Xconfigurator
+%{_mandir}/man1/Xconfigurator.1x.gz