diff --git a/libXrandr-1.5.2.tar.bz2 b/libXrandr-1.5.2.tar.bz2 deleted file mode 100644 index 68d1165d7a89f176881cf93fdc3a29251c374527..0000000000000000000000000000000000000000 Binary files a/libXrandr-1.5.2.tar.bz2 and /dev/null differ diff --git a/libXrandr-1.5.3.tar.xz b/libXrandr-1.5.3.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..bec03ba66f76e5a4d7863454238927dd13a842e5 Binary files /dev/null and b/libXrandr-1.5.3.tar.xz differ diff --git a/libXrandr.spec b/libXrandr.spec index 84aeeeb40516945cd3a5755a622b94e7a83f15b2..25f1789c7b22bd0d9b1148e4b3f8f430ed5a26b7 100644 --- a/libXrandr.spec +++ b/libXrandr.spec @@ -1,24 +1,25 @@ -%define anolis_release 2 +%define anolis_release 1 Summary: X.Org X11 libXrandr runtime library Name: libXrandr -Version: 1.5.2 +Version: 1.5.3 Release: %{anolis_release}%{?dist} License: MIT 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.xz Requires: libX11 >= 1.6.0 BuildRequires: make BuildRequires: xorg-x11-util-macros -BuildRequires: autoconf automake libtool BuildRequires: xorg-x11-proto-devel -BuildRequires: pkgconfig(randrproto) >= 1.5.0 -BuildRequires: pkgconfig(xrender) +BuildRequires: pkgconfig(randrproto) >= 1.5 +BuildRequires: pkgconfig(renderproto) +BuildRequires: pkgconfig(x11) >= 1.6 BuildRequires: pkgconfig(xext) -BuildRequires: pkgconfig(x11) >= 1.6.0 +BuildRequires: pkgconfig(xextproto) +BuildRequires: pkgconfig(xrender) %description X.Org X11 libXrandr runtime library @@ -42,27 +43,18 @@ X.Org X11 libXrandr development package %setup -q -n %{name}-%{version} %build -autoreconf -v --install --force %configure --disable-static -make %{?_smp_mflags} +%make_build %install -rm -rf $RPM_BUILD_ROOT - -make install DESTDIR=$RPM_BUILD_ROOT - -rm -f $RPM_BUILD_ROOT%{_libdir}/*.la - -%ldconfig_post -%ldconfig_postun +%make_install %files -%doc COPYING -%{_libdir}/libXrandr.so.2 -%{_libdir}/libXrandr.so.2.2.0 +%license COPYING +%{_libdir}/libXrandr.so.* %files doc -%doc AUTHORS +%doc AUTHORS README.md ChangeLog %files devel %{_includedir}/X11/extensions/Xrandr.h @@ -71,6 +63,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %{_mandir}/man3/*.3* %changelog +* Mon Nov 21 2022 Funda Wang - 1.5.3-1 +- New version 1.5.3 + * Sun Oct 09 2022 mgb01105731 - 1.5.2-2 - add doc package