79 lines
1.7 KiB
RPMSpec
79 lines
1.7 KiB
RPMSpec
Summary: X.Org X11 libXtst runtime library
|
|
Name: libXtst
|
|
Version: 1.2.4
|
|
Release: 2
|
|
License: MIT
|
|
URL: https://www.x.org
|
|
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.gz
|
|
|
|
Patch0: backport-Coverity-CID-1373522-Fix-memory-leak.patch
|
|
|
|
Requires: libX11 >= 1.5.99.902
|
|
|
|
BuildRequires: xorg-x11-util-macros autoconf automake libtool xorg-x11-proto-devel
|
|
BuildRequires: libX11-devel libXext-devel libXi-devel xmlto
|
|
|
|
%description
|
|
X.Org X11 libXtst runtime library
|
|
|
|
%package devel
|
|
Summary: Development package for ${name}
|
|
Requires: %{name} = %{version}-%{release} libXi-devel
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for %{name}.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
autoreconf -ivf
|
|
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
%delete_la
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%license COPYING
|
|
%{_libdir}/*.so.*
|
|
|
|
%exclude %{_docdir}
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/X11/extensions/*.h
|
|
%{_libdir}/*.so
|
|
%{_libdir}/*.a
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%files help
|
|
%defattr(-,root,root)
|
|
%{_mandir}/man3/XTest*.3*
|
|
|
|
%changelog
|
|
* Tue Jul 30 2024 lingsheng <lingsheng1@h-partners.com> - 1.2.4-2
|
|
- Coverity CID 1373522: Fix memory leak
|
|
|
|
* Thu Nov 03 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.2.4-1
|
|
- update 1.2.4
|
|
|
|
* Wed Oct 26 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.2.3-11
|
|
- Rebuild for next release
|
|
|
|
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.2.3-10
|
|
- Type:bugfix
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:change the directory of the license file
|
|
|
|
* Mon Sep 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.2.3-9
|
|
- Package init
|