libXau/libXau.spec

67 lines
1.5 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:59:14 -04:00
Name: libXau
Version: 1.0.9
Release: 1
License: MIT
Summary: Sample Authorization Protocol for X
URL: https://www.x.org
Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
BuildRequires: xorg-x11-util-macros autoconf automake libtool
BuildRequires: pkgconfig xorg-x11-proto-devel
%description
This is a very simple mechanism for providing individual access to an X Window
System display.It uses existing core protocol and library hooks for specifying
authorization data in the connection setup block to restrict use of the display
to only those clients that show that they know a server-specific key
called a "magic cookie".
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: xorg-x11-proto-devel pkgconfig
BuildRequires: xorg-x11-proto-devel
%description devel
The %{name}-devel package contains development files for %{name}.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -ivf
%configure
%make_build
%install
%make_install INSTALL="install -p"
%delete_la_and_a
%check
make check
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%doc AUTHORS COPYING
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/X11/Xauth.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%files help
%defattr(-,root,root)
%doc README ChangeLog
%{_mandir}/man3/*.3*
%changelog
* Mon Sep 2 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.9-1
- Package init