libxshmfence/libxshmfence.spec

72 lines
1.9 KiB
RPMSpec

Name: libxshmfence
Version: 1.2
Release: 1mamba
Summary: Shared memory 'SyncFence' synchronization primitive
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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
* Sat Jan 03 2015 Automatic Build System <autodist@mambasoft.it> 1.2-1mamba
- automatic version update by autodist
* Sun Mar 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-1mamba
- package created using the webbuild interface