Dominique Leuenberger 2023-01-01 08:38:16 +00:00 committed by Git OBS Bridge
commit 402345ae22
4 changed files with 31 additions and 28 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1129f95147f7bfe6052988a087f1b7cb7122283d2c47a7dbf7135ce0df69b4f8
size 257104

BIN
libxshmfence-1.3.2.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Dec 23 08:22:25 UTC 2022 - Dirk Müller <dmueller@suse.com>
- 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 <sndirsch@suse.com> Tue Oct 18 18:29:13 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -16,21 +16,18 @@
# #
Name: libxshmfence
Version: 1.3.1
Release: 0
%define lname libxshmfence1 %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 Summary: A tiny library that exposes a event API on top of Linux futexes
License: HPND License: HPND
Group: Development/Libraries/C and C++ 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-Clone: git://anongit.freedesktop.org/xorg/lib/libxshmfence
#Git-Web: http://cgit.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 Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf >= 2.60 BuildRequires: autoconf >= 2.60
BuildRequires: automake BuildRequires: automake
BuildRequires: libtool 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 seems excessive, and by using PresentIdleNotify events, to work around
the limitations of futexes. the limitations of futexes.
%package -n %lname %package -n %{lname}
Summary: A tiny library that exposes a event API on top of Linux futexes Summary: A tiny library that exposes a event API on top of Linux futexes
Group: System/Libraries Group: System/Libraries
%description -n %lname %description -n %{lname}
This is a tiny library that exposes a event API on top of Linux 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, 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 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 %package devel
Summary: Development files for the X Shm-Fence library Summary: Development files for the X Shm-Fence library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %lname = %version Requires: %{lname} = %{version}
%description devel %description devel
This is a tiny library that exposes a event API on top of Linux This is a tiny library that exposes a event API on top of Linux
futexes. futexes.
This package contains the development headers for the library found This package contains the development headers for the library found
in %name. in %{name}.
%prep %prep
%setup -q %setup -q
@ -74,24 +71,23 @@ in %name.
%build %build
autoreconf -fi autoreconf -fi
%configure --disable-static %configure --disable-static
make %{?_smp_mflags} %make_build
%install %install
make install DESTDIR="%buildroot" %make_install
rm -f "%buildroot/%_libdir"/*.la 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}
%{_libdir}/libxshmfence.so.1*
%files -n %lname
%defattr(-,root,root)
%_libdir/libxshmfence.so.1*
%files devel %files devel
%defattr(-,root,root) %license COPYING
%_includedir/X11/* %doc README.md
%_libdir/libxshmfence.so %{_includedir}/X11/*
%_libdir/pkgconfig/xshmfence.pc %{_libdir}/libxshmfence.so
%{_libdir}/pkgconfig/xshmfence.pc
%changelog %changelog