From 61124d6cb24012b9c78e00e893b8eed2ccd1945a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:14:26 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.1-1mamba;Sun Mar 09 2014] --- README.md | 5 ++++ libxshmfence.spec | 68 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 libxshmfence.spec diff --git a/README.md b/README.md index 7caf8ea..b252721 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # libxshmfence +libxshmfence - Shared memory 'SyncFence' synchronization primitive + +This library offers a CPU-based synchronization primitive compatible with the X SyncFence objects that can be shared between processes using file descriptor passing. +On Linux, the library uses futexes. + diff --git a/libxshmfence.spec b/libxshmfence.spec new file mode 100644 index 0000000..44b0ead --- /dev/null +++ b/libxshmfence.spec @@ -0,0 +1,68 @@ +Name: libxshmfence +Version: 1.1 +Release: 1mamba +Summary: Shared memory 'SyncFence' synchronization primitive +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://cgit.freedesktop.org/xorg/lib/libxshmfence +Source: http://cgit.freedesktop.org/xorg/lib/libxshmfence/snapshot/libxshmfence-%{version}.tar.gz +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +libxshmfence - Shared memory 'SyncFence' synchronization primitive + +This library offers a CPU-based synchronization primitive compatible with the X SyncFence objects that can be shared between processes using file descriptor passing. +On Linux, the library uses futexes. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +./autogen.sh +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libxshmfence.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/X11/xshmfence.h +%{_libdir}/libxshmfence.a +%{_libdir}/libxshmfence.la +%{_libdir}/libxshmfence.so +%{_libdir}/pkgconfig/xshmfence.pc +%doc README + +%changelog +* Sun Mar 09 2014 Silvan Calarco 1.1-1mamba +- package created using the webbuild interface