xorg-x11-xauth/xorg-x11-xauth.spec
2005-11-11 23:09:10 +00:00

84 lines
2.2 KiB
RPMSpec

%define pkgname xauth
Summary: X.Org X11 X authority utilities
Name: xorg-x11-%{pkgname}
Version: 0.99.2
Release: 1
# FIXME: Remove Epoch line if package gets renamed
Epoch: 1
License: MIT/X11
Group: User Interface/X
URL: http://www.x.org
Source0: http://xorg.freedesktop.org/X11R7.0-RC0/everything/%{pkgname}-%{version}.tar.bz2
Source10: mkxauth
Source11: mkxauth.man
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXext-devel
BuildRequires: libXmu-devel
Provides: xauth
Provides: mkxauth
Obsoletes: XFree86-xauth, mkxauth
# NOTE: xauth moved from the XFree86 package to XFree86-xauth in
# XFree86-4.2.0-50.11, so this Conflicts line is required for upgrades
# from RHL 8 and older, and RHEL 2.1 to work properly when upgrading to
# a newer OS release.
Conflicts: XFree86 < 4.2.0-50.11
%description
xauth is used to edit and display the authorization information
used in connecting to an X server.
%prep
%setup -q -n xauth-%{version}
%build
#cd %{pkgname}-%{version}
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
#cd %{pkgname}-%{version}
%makeinstall
# Install mkxauth
{
install -m 755 %{SOURCE10} $RPM_BUILD_ROOT%{_bindir}/
install -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{_mandir}/man1x/mkxauth.1x
}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc
%dir %{_bindir}
%{_bindir}/xauth
%{_bindir}/mkxauth
%dir %{_mandir}
%dir %{_mandir}/man1x
%{_mandir}/man1x/xauth.1x*
%{_mandir}/man1x/mkxauth.1x*
%changelog
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.2-1
- Updated to xauth 0.99.2 from X11R7 RC2
- Added Epoch 1 to package, to be able to change the version number from the
X11R7 release number to the actual twm version.
- Rename mkxauth manpage to mkxauth.1x
* Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 6.99.99.0-3
- Updated to xauth 0.99.1 from X11R7 RC1
- Change manpage location to 'man1x' in file manifest
* Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 6.99.99.0-2
- Use Fedora-Extras style BuildRoot tag
- Update BuildRequires to use new library package names
* Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 6.99.99.0-1
- Initial build.