libXxf86vm/libXxf86vm.spec

84 lines
2.1 KiB
RPMSpec

Name: libXxf86vm
Version: 1.1.5
Release: 3
Summary: Provide an extension library for the XFree86-VidModeExtension
License: MIT
URL: https://www.x.org
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.gz
Patch0: backport-configure-Use-LT_INIT-from-libtool-2-instead-of-depr.patch
BuildRequires: autoconf automake libtool xorg-x11-util-macros
BuildRequires: pkgconfig(xext) pkgconfig(xf86vidmodeproto)
BuildRequires: libX11-devel
Requires: libX11
%description
Provide an extension library for the XFree86-VidModeExtension.
%package devel
Summary: Provide static library, headers and test examples for libXxf86vm
Requires: %{name} = %{version}-%{release}
%description devel
Provide static library, headers and test examples for libXxf86vm.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -ivf
%configure --disable-static
%make_build
%install
%make_install
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%license COPYING
%{_libdir}/libXxf86vm.so.1
%{_libdir}/libXxf86vm.so.1.0.0
%exclude %{_libdir}/*.la
%files devel
%defattr(-,root,root)
%{_includedir}/X11/extensions/*.h
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
%files help
%defattr(-,root,root)
%doc README.md
%{_mandir}/man3/*.3.gz
%changelog
* Wed Jul 31 2024 lingsheng <lingsheng1@h-partners.com> - 1.1.5-3
- configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
* Sat Feb 25 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 1.1.5-2
- disable static library
* Thu Nov 03 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.1.5-1
- update 1.1.5
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.4-13
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:modify the location of COPYING
* Mon Sep 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.4-12
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:Rewrite the spec according to the new rules
* Mon Aug 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.4-11
- Package init