commit 0698cae11a8e8fa875ecf389e27e9bb27f3a63aa Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:59:14 2019 -0400 Package init diff --git a/libXau-1.0.9.tar.bz2 b/libXau-1.0.9.tar.bz2 new file mode 100644 index 0000000..63bcd5b Binary files /dev/null and b/libXau-1.0.9.tar.bz2 differ diff --git a/libXau.spec b/libXau.spec new file mode 100644 index 0000000..202be71 --- /dev/null +++ b/libXau.spec @@ -0,0 +1,66 @@ +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 - 1.0.9-1 +- Package init