X-Git-Url: http://git.pld-linux.org/?p=packages%2FXconfigurator.git;a=blobdiff_plain;f=Xconfigurator.spec;h=aea676d12204b2323fcfbf73cb9f8a8a7460a799;hp=e608d75ba999c0c801416a8830e53ab750cdc348;hb=f77cd0296d174292414454817c52647229bd1b56;hpb=2334b75247a87d034e9b6dd81b36e778acff9aa1 diff --git a/Xconfigurator.spec b/Xconfigurator.spec index e608d75..aea676d 100644 --- a/Xconfigurator.spec +++ b/Xconfigurator.spec @@ -1,20 +1,27 @@ Summary: Red Hat X Window System Configuration tool -Summary(pl): Narzêdzie do konfiguracji X Window System +Summary(pl.UTF-8): Narzędzie do konfiguracji X Window System Name: Xconfigurator -Version: 4.2.3 +Version: 4.10.7 Release: 1 -Copyright: distributable -Group: X11/Utilities -Group(pl): X11/Narzêdzia -Source0: %{name}-%{version}.tar.gz -Patch0: Xconfigurator-config.patch -Requires: XFree86 >= 3.3.2, kbdconfig, mouseconfig >= 2.8, kbd +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 /usr/X11R6/man +%define _mandir %{_prefix}/man %description This is the Red Hat X Configuration tool. It is based on the sources @@ -24,14 +31,15 @@ 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. -%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} @@ -39,11 +47,8 @@ przyjemniejszy interfejs i jest %install rm -rf $RPM_BUILD_ROOT -strip Xconfigurator -%{__make} PREFIX=$RPM_BUILD_ROOT install - -gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \ - README TODO +%{__make} install \ + PREFIX=$RPM_BUILD_ROOT %find_lang %{name} @@ -52,8 +57,8 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) -%doc {README,TODO}.gz +%doc README TODO %attr(755,root,root) %{_bindir}/Xconfigurator %attr(755,root,root) %{_bindir}/Xtest %{_datadir}/Xconfigurator -%{_mandir}/man1/Xconfigurator.1x.gz +%{_mandir}/man1/Xconfigurator.1x*