From 3f0322660e3b7ac7acf2c4e628c3a69335c2d7eaef1daefbde8fda55d96e33cc Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sat, 31 Dec 2022 12:07:23 +0000 Subject: [PATCH] Accepting request 1044381 from home:dirkmueller:Factory - update to 1.3.2: * configure: Use AC_SYS_LARGEFILE to enable large file support - spec file modernisation, add license and README OBS-URL: https://build.opensuse.org/request/show/1044381 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libxshmfence?expand=0&rev=17 --- libxshmfence-1.3.1.tar.xz | 3 --- libxshmfence-1.3.2.tar.xz | 3 +++ libxshmfence.changes | 7 ++++++ libxshmfence.spec | 46 ++++++++++++++++++--------------------- 4 files changed, 31 insertions(+), 28 deletions(-) delete mode 100644 libxshmfence-1.3.1.tar.xz create mode 100644 libxshmfence-1.3.2.tar.xz diff --git a/libxshmfence-1.3.1.tar.xz b/libxshmfence-1.3.1.tar.xz deleted file mode 100644 index e3472ae..0000000 --- a/libxshmfence-1.3.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1129f95147f7bfe6052988a087f1b7cb7122283d2c47a7dbf7135ce0df69b4f8 -size 257104 diff --git a/libxshmfence-1.3.2.tar.xz b/libxshmfence-1.3.2.tar.xz new file mode 100644 index 0000000..e0f4b6c --- /dev/null +++ b/libxshmfence-1.3.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:870df257bc40b126d91b5a8f1da6ca8a524555268c50b59c0acd1a27f361606f +size 259024 diff --git a/libxshmfence.changes b/libxshmfence.changes index 5bd2066..5df84e1 100644 --- a/libxshmfence.changes +++ b/libxshmfence.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Dec 23 08:22:25 UTC 2022 - Dirk Müller + +- update to 1.3.2: + * configure: Use AC_SYS_LARGEFILE to enable large file support +- spec file modernisation, add license and README + ------------------------------------------------------------------- Tue Oct 18 18:29:13 UTC 2022 - Stefan Dirsch diff --git a/libxshmfence.spec b/libxshmfence.spec index 7727c33..d097dc3 100644 --- a/libxshmfence.spec +++ b/libxshmfence.spec @@ -16,21 +16,18 @@ # -Name: libxshmfence -Version: 1.3.1 -Release: 0 %define lname libxshmfence1 +Name: libxshmfence +Version: 1.3.2 +Release: 0 Summary: A tiny library that exposes a event API on top of Linux futexes License: HPND Group: Development/Libraries/C and C++ -URL: http://xorg.freedesktop.org/ - +URL: https://xorg.freedesktop.org/ #Git-Clone: git://anongit.freedesktop.org/xorg/lib/libxshmfence #Git-Web: http://cgit.freedesktop.org/xorg/lib/libxshmfence/ -Source: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.xz +Source: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.xz Source1: baselibs.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build - BuildRequires: autoconf >= 2.60 BuildRequires: automake BuildRequires: libtool @@ -45,11 +42,11 @@ but the cost of adding two FDs to the X server for every DRI application seems excessive, and by using PresentIdleNotify events, to work around the limitations of futexes. -%package -n %lname +%package -n %{lname} Summary: A tiny library that exposes a event API on top of Linux futexes Group: System/Libraries -%description -n %lname +%description -n %{lname} This is a tiny library that exposes a event API on top of Linux futexes. There was some discussion about using eventfd instead of this, but the cost of adding two FDs to the X server for every DRI application @@ -59,14 +56,14 @@ the limitations of futexes. %package devel Summary: Development files for the X Shm-Fence library Group: Development/Libraries/C and C++ -Requires: %lname = %version +Requires: %{lname} = %{version} %description devel This is a tiny library that exposes a event API on top of Linux futexes. This package contains the development headers for the library found -in %name. +in %{name}. %prep %setup -q @@ -74,24 +71,23 @@ in %name. %build autoreconf -fi %configure --disable-static -make %{?_smp_mflags} +%make_build %install -make install DESTDIR="%buildroot" -rm -f "%buildroot/%_libdir"/*.la +%make_install +find %{buildroot} -type f -name "*.la" -delete -print -%post -n %lname -p /sbin/ldconfig +%post -n %{lname} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig - -%files -n %lname -%defattr(-,root,root) -%_libdir/libxshmfence.so.1* +%files -n %{lname} +%{_libdir}/libxshmfence.so.1* %files devel -%defattr(-,root,root) -%_includedir/X11/* -%_libdir/libxshmfence.so -%_libdir/pkgconfig/xshmfence.pc +%license COPYING +%doc README.md +%{_includedir}/X11/* +%{_libdir}/libxshmfence.so +%{_libdir}/pkgconfig/xshmfence.pc %changelog