From 0e8d411fb3856f30e67a7ed8eebc1d150c80b81b Mon Sep 17 00:00:00 2001 From: kloczek Date: Wed, 17 May 2000 21:01:20 +0000 Subject: [PATCH] - spec adapterized. Changed files: Xconfigurator.spec -> 1.13 --- Xconfigurator.spec | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/Xconfigurator.spec b/Xconfigurator.spec index e617c1b..256b80b 100644 --- a/Xconfigurator.spec +++ b/Xconfigurator.spec @@ -6,8 +6,8 @@ Release: 1 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 @@ -17,16 +17,16 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %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 @@ -35,14 +35,15 @@ przyjemniejszy interfejs i jest %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} @@ -52,7 +53,7 @@ rm -rf $RPM_BUILD_ROOT %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 -- 2.43.0