## START: Set by rpmautospec ## (rpmautospec version 0.7.2) ## RPMAUTOSPEC: autochangelog ## END: Set by rpmautospec %global commit 261316c1048463134def350f8fc0d80d2253a2ff %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: skia Version: 0.0^20241111.261316c Release: 1%{?dist} Summary: Rendering library License: BSD URL: https://skia.org Source0: https://skia.googlesource.com/skia.git/+archive/%{commit}.tar.gz BuildRequires: clang BuildRequires: expat-devel BuildRequires: fontconfig-devel BuildRequires: freetype-devel BuildRequires: glibc-devel BuildRequires: gn BuildRequires: harfbuzz-devel BuildRequires: libjpeg-turbo-devel BuildRequires: libpng-devel BuildRequires: libwebp-devel BuildRequires: python3-devel BuildRequires: procps-ng-devel BuildRequires: ninja-build BuildRequires: zlib-devel %description Graphics engine used in Chromium %prep %setup -c -n %{name}-%{commit} %build gn gen out/Build --args='is_official_build=true is_component_build=true' ninja -C ./out/Build %install mkdir -p %{buildroot}/%{_libdir} install -m644 out/Build/libskia.so %{buildroot}/%{_libdir}/ %files %license LICENSE %doc README %{_libdir}/libskia.so %changelog ## START: Generated by rpmautospec * Mon Nov 11 2024 John Doe - 0.0^20241111.261316c-1 - Uncommitted changes ## END: Generated by rpmautospec