package created using the webbuild interface [release 1.2.134-1mamba;Tue Mar 17 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 19:10:22 +01:00
parent c40e1d899f
commit 6c0ae7add7
2 changed files with 75 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# vulkan-loader
Vulkan Loader.

73
vulkan-loader.spec Normal file
View File

@ -0,0 +1,73 @@
Name: vulkan-loader
Version: 1.2.134
Release: 1mamba
Summary: Vulkan Loader library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/KhronosGroup/Vulkan-Loader.git
## GITSOURCE https://github.com/KhronosGroup/Vulkan-Loader.git v1.2.134
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
BuildRequires: ldconfig
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: vulkan-headers = %{version}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Vulkan Loader.
%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
* Tue Mar 17 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.134-1mamba
- package created using the webbuild interface