forked from pool/spirv-headers
This commit is contained in:
parent
bf75533469
commit
7aaab3369f
@ -24,7 +24,7 @@ License: MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/KhronosGroup/SPIRV-Headers
|
||||
|
||||
#Source: https://github.com/KhronosGroup/SPIRV-Headers/archive/%version.tar.gz
|
||||
#Source: https://github.com/KhronosGroup/SPIRV-Headers/archive/%%version.tar.gz
|
||||
Source: SPIRV-Headers-%version.tar.xz
|
||||
BuildArch: noarch
|
||||
BuildRequires: cmake >= 2.8
|
||||
@ -45,18 +45,17 @@ registry. This includes:
|
||||
%autosetup -n SPIRV-Headers-%version
|
||||
|
||||
%build
|
||||
# Because Khronos does not know what DESTDIR is.
|
||||
%cmake -DCMAKE_INSTALL_PREFIX="%buildroot/%_prefix"
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
pushd build/
|
||||
make install-headers
|
||||
popd
|
||||
%cmake_install
|
||||
%fdupes %buildroot/%_prefix
|
||||
|
||||
%files
|
||||
%_includedir/spirv/
|
||||
%_datadir/cmake/
|
||||
%_datadir/pkgconfig/*.pc
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user