Package init
This commit is contained in:
commit
0698cae11a
BIN
libXau-1.0.9.tar.bz2
Normal file
BIN
libXau-1.0.9.tar.bz2
Normal file
Binary file not shown.
66
libXau.spec
Normal file
66
libXau.spec
Normal file
@ -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 <buildteam@openeuler.org> - 1.0.9-1
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user