vulkan-loader/vulkan-loader.spec

99 lines
3.2 KiB
RPMSpec
Raw Normal View History

Name: vulkan-loader
Version: 1.2.177
Release: 1mamba
Summary: A library that is placed between a Vulkan application and any number of Vulkan drivers, in order to support multiple drivers
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/KhronosGroup/Vulkan-Loader.git
Source: https://github.com/KhronosGroup/Vulkan-Loader.git/v%{version}/Vulkan-Loader-%{version}.tar.bz2
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: vulkan-headers >= %{version}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
The ICD loader is a library that is placed between a Vulkan application and any number of Vulkan drivers, in order to support multiple drivers and the instance-level functionality that works across these drivers.
Additionally, the loader manages inserting Vulkan layer libraries, such as validation layers, between an application and the drivers.
%package -n libvulkan
Group: System/Libraries
Summary: Vulkan Loader library
%description -n libvulkan
Vulkan Loader library.
%package -n libvulkan-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: libvulkan = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n libvulkan-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n Vulkan-Loader-%{version}
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n libvulkan -p /sbin/ldconfig
%postun -n libvulkan -p /sbin/ldconfig
%files -n libvulkan
%defattr(-,root,root)
%{_libdir}/libvulkan.so.*
%files -n libvulkan-devel
%defattr(-,root,root)
%{_libdir}/libvulkan.so
%{_libdir}/pkgconfig/vulkan.pc
%doc README.md
%changelog
* Sat May 01 2021 Automatic Build System <autodist@mambasoft.it> 1.2.177-1mamba
- automatic version update by autodist
* Thu Apr 29 2021 Automatic Build System <autodist@mambasoft.it> 1.2.176-1mamba
- automatic version update by autodist
* Tue Mar 30 2021 Automatic Build System <autodist@mambasoft.it> 1.2.174-1mamba
- automatic version update by autodist
* Fri Mar 26 2021 Automatic Build System <autodist@mambasoft.it> 1.2.173-1mamba
- automatic version update by autodist
* Thu Mar 11 2021 Automatic Build System <autodist@mambasoft.it> 1.2.172-1mamba
- automatic version update by autodist
* Thu Mar 04 2021 Automatic Build System <autodist@mambasoft.it> 1.2.171-1mamba
- automatic version update by autodist
* Thu Feb 25 2021 Automatic Build System <autodist@mambasoft.it> 1.2.170-1mamba
- automatic version update by autodist
* Wed Jan 06 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.166-1mamba
- update to 1.2.166
* Tue Mar 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.135-1mamba
- update to 1.2.135
* Tue Mar 17 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.134-1mamba
- package created using the webbuild interface