]> git.pld-linux.org Git - packages/Xconfigurator.git/blobdiff - Xconfigurator.spec
- removed all Group fields translations (oure rpm now can handle translating
[packages/Xconfigurator.git] / Xconfigurator.spec
index 3d30d9b4c6cdfdb8cbac2d1cb51e24611d486050..3a86697b2000a149ec85725a4ea77d088e9a4ab9 100644 (file)
@@ -3,30 +3,29 @@ Summary(pl):  Narz
 Name:          Xconfigurator
 Version:       4.2.3
 Release:       1
-Copyright:     distributable
-Group:         X11/Utilities
-Group(pl):     X11/Narzêdzia
-Source:                %{name}-%{version}.tar.gz
-Patch:         Xconfigurator-config.patch
+License:       distributable
+Group:         X11/Applications
+Source0:       %{name}-%{version}.tar.gz
+Patch0:                %{name}-config.patch
 Requires:      XFree86 >= 3.3.2,  kbdconfig, mouseconfig >= 2.8, kbd
 #Requires:     initscripts >= 3.60
 ExcludeArch:   sparc
-BuildRoot:     /tmp/%{name}-%{version}-root
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _prefix /usr/X11R6
 %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
@@ -34,14 +33,13 @@ przyjemniejszy interfejs i jest 
 %patch -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
+%{__make} PREFIX=$RPM_BUILD_ROOT install
+
 gzip -9nf README TODO
 
 %find_lang %{name}
@@ -52,7 +50,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*
This page took 0.941971 seconds and 4 git commands to generate.