Package init
This commit is contained in:
parent
2de01844ef
commit
1f1feb7ff8
56
libX11.spec
56
libX11.spec
@ -1,17 +1,21 @@
|
|||||||
Name: libX11
|
Name: libX11
|
||||||
Version: 1.6.7
|
Version: 1.6.9
|
||||||
Release: 2
|
Release: 2
|
||||||
License: MIT
|
Summary: Core X11 protocol client library
|
||||||
Summary: Core X11 protocol client library
|
License: MIT
|
||||||
URL: https://www.x.org
|
URL: http://www.x.org
|
||||||
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
|
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
|
||||||
Patch0: dont-forward-keycode-0.patch
|
|
||||||
|
|
||||||
BuildRequires: xorg-x11-util-macros xorg-x11-proto-devel libXdmcp-devel
|
Patch1: dont-forward-keycode-0.patch
|
||||||
BuildRequires: xorg-x11-xtrans-devel libxcb-devel libXau-devel perl-Pod-Usage
|
|
||||||
|
|
||||||
Provides: libX11-common libX11-xcb
|
BuildRequires: xorg-x11-util-macros >= 1.11 xorg-x11-proto-devel perl-Pod-Usage libXau-devel
|
||||||
Obsoletes: libX11-common libX11-xcb
|
BuildRequires: libxcb-devel >= 1.2 libXdmcp-devel xorg-x11-xtrans-devel >= 1.0.3-4
|
||||||
|
|
||||||
|
Provides: %{name}-common = %{version}-%{release}
|
||||||
|
Obsoletes: %{name}-common < %{version}-%{release}
|
||||||
|
|
||||||
|
Provides: %{name}-xcb = %{version}-%{release}
|
||||||
|
Obsoletes: %{name}-xcb < %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Core X11 protocol client library.
|
Core X11 protocol client library.
|
||||||
@ -34,9 +38,9 @@ autoreconf -ivf
|
|||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install INSTALL="install -p"
|
%make_install
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/cache/libX11/compose
|
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/var/cache/libX11/compose
|
||||||
%delete_la
|
%delete_la
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -46,12 +50,14 @@ make %{?_smp_mflags} check
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS
|
%doc AUTHORS
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
%{_libdir}/*.so.*
|
||||||
%{_datadir}/X11/locale/*
|
%{_datadir}/X11/locale/*
|
||||||
%{_datadir}/X11/XErrorDB
|
%{_datadir}/X11/XErrorDB
|
||||||
%dir /var/cache/libX11/compose
|
%dir /var/cache/libX11/compose
|
||||||
%{_libdir}/*.so.*
|
%exclude %{_docdir}/*
|
||||||
|
%exclude %{_datadir}/X11/Xcms.txt
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -59,16 +65,26 @@ make %{?_smp_mflags} check
|
|||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_includedir}/X11/*.h
|
%{_includedir}/X11/*.h
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
%exclude %{_includedir}/X11/extensions/XKBgeom.h
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README NEWS
|
%doc README.md NEWS ChangeLog
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%exclude %{_docdir}
|
|
||||||
%exclude %{_datadir}/X11/Xcms.txt
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 4 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.6.9-2
|
||||||
|
- Type:bugfix
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:remove the XKBgeom.h
|
||||||
|
|
||||||
|
* Fri Nov 1 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.6.9-1
|
||||||
|
- Type:bugfix
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:update to 1.6.9
|
||||||
|
|
||||||
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.6.7-2
|
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.6.7-2
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user