%define name mkxauth %define version 1.7 %define release %mkrel 20 Summary: A utility for managing .Xauthority files Name: %{name} Version: %{version} Release: %{release} License: GPL Group: File tools Url: http://www.tummy.com/krud/packages/mkxauth.html Source0: %{name}-%{version}.tar.bz2 BuildArch: noarch Requires: xauth Requires: coreutils Requires: procps Requires: gzip BuildRoot: %{_tmppath}/%{name}-%{version}-root %description The mkxauth utility helps create and maintain X authentication databases (.Xauthority files). Mkxauth is used to create an .Xauthority file or to merge keys from another local or remote .Xauthority file. .Xauthority files are used by the xauth user-oriented access control program, which grants or denies access to X servers based on the contents of the .Xauthority file. The mkxauth package should be installed if you're going to use user-oriented access control to provide security for your X Window System (a good idea). %prep %setup -q %build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 install -m 0755 mkxauth $RPM_BUILD_ROOT%{_bindir}/mkxauth install -m 0444 mkxauth.1x.bz2 $RPM_BUILD_ROOT%{_mandir}/man1/mkxauth.1x.bz2 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/mkxauth %{_mandir}/man1/* %changelog * Sat Jan 12 2013 umeabot <umeabot> 1.7-20.mga3 + Revision: 360148 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Mar 17 2011 tv <tv> 1.7-19.mga1 + Revision: 73237 - imported package mkxauth