Blame SPECS/vulkan-loader.spec

71bf40
Name:           vulkan-loader
38d437
Version:        1.3.216.0
38d437
Release:        1%{?dist}
71bf40
Summary:        Vulkan ICD desktop loader
71bf40
71bf40
License:        ASL 2.0
71bf40
URL:            https://github.com/KhronosGroup/Vulkan-Loader
71bf40
Source0:        %url/archive/sdk-%{version}.tar.gz#/Vulkan-Loader-sdk-%{version}.tar.gz       
71bf40
3948eb
# hard code adding notes to the one asm file compilation.
3948eb
Patch1: add-notes.patch
3948eb
71bf40
BuildRequires:  gcc
71bf40
BuildRequires:  gcc-c++
f74db7
BuildRequires:  cmake
71bf40
BuildRequires:  ninja-build
928a70
BuildRequires:  python%{python3_pkgversion}-devel
f74db7
BuildRequires:  vulkan-headers = %{version}
71bf40
BuildRequires:  pkgconfig(wayland-client)
71bf40
BuildRequires:  pkgconfig(wayland-cursor)
71bf40
BuildRequires:  pkgconfig(wayland-server)
71bf40
BuildRequires:  pkgconfig(wayland-egl)
71bf40
BuildRequires:  pkgconfig(x11)
71bf40
BuildRequires:  pkgconfig(xrandr)
71bf40
71bf40
Provides:       vulkan%{?_isa} = %{version}-%{release}
71bf40
Provides:       vulkan = %{version}-%{release}
71bf40
Obsoletes:      vulkan < %{version}-%{release}
71bf40
Provides:       vulkan-filesystem = %{version}-%{release}
71bf40
Obsoletes:      vulkan-filesystem < %{version}-%{release}
71bf40
71bf40
%if 0%{?fedora} <= 27
71bf40
%ifarch x86_64 i686 
71bf40
Requires:       mesa-vulkan-drivers%{?_isa}
71bf40
%endif
71bf40
%else
71bf40
Requires:       mesa-vulkan-drivers%{?_isa}
71bf40
%endif
71bf40
71bf40
%description
71bf40
This project provides the Khronos official Vulkan ICD desktop 
71bf40
loader for Windows, Linux, and MacOS.
71bf40
71bf40
%package        devel
71bf40
Summary:        Development files for %{name}
71bf40
Requires:       %{name}%{?_isa} = %{version}-%{release}
71bf40
Requires:       vulkan-headers
71bf40
Provides:       vulkan-devel%{?_isa} = %{version}-%{release}
71bf40
Provides:       vulkan-devel = %{version}-%{release}
71bf40
Obsoletes:      vulkan-devel < %{version}-%{release}
71bf40
71bf40
%description    devel
71bf40
The %{name}-devel package contains libraries and header files for
71bf40
developing applications that use %{name}.
71bf40
71bf40
71bf40
%prep
3948eb
%autosetup -n Vulkan-Loader-sdk-%{version} -p1
71bf40
71bf40
71bf40
%build
f74db7
%cmake -GNinja -DCMAKE_BUILD_TYPE=Release .
71bf40
%ninja_build
71bf40
71bf40
71bf40
%install
71bf40
%ninja_install
71bf40
71bf40
# create the filesystem
71bf40
mkdir -p %{buildroot}%{_sysconfdir}/vulkan/{explicit,implicit}_layer.d/ \
71bf40
%{buildroot}%{_datadir}/vulkan/{explicit,implicit}_layer.d/ \
71bf40
%{buildroot}{%{_sysconfdir},%{_datadir}}/vulkan/icd.d
71bf40
71bf40
71bf40
%ldconfig_scriptlets
71bf40
71bf40
71bf40
%files
928a70
%license LICENSE.txt
71bf40
%doc README.md CONTRIBUTING.md
71bf40
%dir %{_sysconfdir}/vulkan/
71bf40
%dir %{_sysconfdir}/vulkan/explicit_layer.d/
71bf40
%dir %{_sysconfdir}/vulkan/icd.d/
71bf40
%dir %{_sysconfdir}/vulkan/implicit_layer.d/
71bf40
%dir %{_datadir}/vulkan/
71bf40
%dir %{_datadir}/vulkan/explicit_layer.d/
71bf40
%dir %{_datadir}/vulkan/icd.d/
71bf40
%dir %{_datadir}/vulkan/implicit_layer.d/
71bf40
%{_libdir}/*.so.*
71bf40
71bf40
%files devel
71bf40
%{_libdir}/pkgconfig/vulkan.pc
71bf40
%{_libdir}/*.so
71bf40
71bf40
71bf40
%changelog
38d437
* Mon Jun 20 2022 Dave Airlie <airlied@redhat.com> - 1.3.216.0-1
38d437
- Update to 1.3.216.0
38d437
ae93cb
* Thu Feb 24 2022 Dave Airlie <airlied@redhat.com> - 1.3.204.0-2
c74ac0
- Fix aarch64 TEXTREL
c74ac0
ae93cb
* Mon Feb 21 2022 Dave Airlie <airlied@redhat.com> - 1.3.204.0-1
ae93cb
- Update to 1.3.204.0
31f48d
f74db7
* Mon Feb 01 2021 Dave Airlie <airlied@redhat.com> - 1.2.162.0-1
f74db7
- Update to 1.2.162.0
579c8a
afd8fa
* Wed Aug 05 2020 Dave Airlie <airlied@redhat.com> - 1.2.148.0-1
afd8fa
- Update to 1.2.148.0
b802c1
b326b8
* Wed Jan 29 2020 Dave Airlie <airlied@redhat.com> - 1.2.131.1-1
b326b8
- Update to 1.2.131.1
b326b8
b326b8
* Sat Dec 07 2019 Dave Airlie <airlied@redhat.com> - 1.1.126.0-2
b326b8
- Rebuild for 8.2.0
b326b8
aefaa9
* Tue Nov 12 2019 Dave Airlie <airlied@redhat.com> - 1.1.126.0-1
aefaa9
- Update to 1.1.126.0
aefaa9
3948eb
* Thu Aug 08 2019 Dave Airlie <airlied@redhat.com> - 1.1.114.0-3
3948eb
- Add notes to avoid annobin gaps warning on i686
3948eb
3948eb
* Thu Aug 08 2019 Dave Airlie <airlied@redhat.com> - 1.1.114.0-2
3948eb
- Add support to asm files for -fcf-protection
3948eb
3948eb
* Mon Aug 05 2019 Dave Airlie <airlied@redhat.com> - 1.1.114.0-1
3948eb
- Update to 1.1.114.0
3948eb
928a70
* Wed Mar 06 2019 Dave Airlie <airlied@redhat.com> - 1.1.101.0-0
928a70
- Update to 1.1.101.0
928a70
71bf40
* Tue Aug 07 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.82.0-1
71bf40
- Update to 1.1.82.0
71bf40
71bf40
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.77.0-5
71bf40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
71bf40
71bf40
* Wed Jun 27 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-4
71bf40
- Fix update path
71bf40
71bf40
* Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-3
71bf40
- Add conditional for mesa-vulkan-drivers requires
71bf40
71bf40
* Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-2
71bf40
- Improve description and summary
71bf40
- Set release
71bf40
71bf40
* Sat Jun 23 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-1
71bf40
- Initial package