# git.spec.tmpl - tracks the latest commit on the configured branch. # Rendered by coprforge on 2026-04-11. %global commit 31be43e377204bde4242e1051c2275b03c51b401 %global shortcommit 31be43e %global date 20260406 %bcond_with check Name: material-color-utilities-vala-git Version: 0~git%{date}.%{shortcommit} Release: 1%{?dist} Summary: Vala port of Material Color Utilities (git snapshot) License: EUPL-1.2 AND Apache-2.0 URL: https://codeberg.org/victorvintorez/material-color-utilities-vala Source0: https://codeberg.org/victorvintorez/material-color-utilities-vala/archive/31be43e377204bde4242e1051c2275b03c51b401.tar.gz BuildRequires: vala BuildRequires: meson >= 1.1.0 BuildRequires: ninja-build BuildRequires: gcc BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) Conflicts: material-color-utilities-vala Provides: material-color-utilities-vala %description Material Color Ultilities (MCU) powers dynamic color with a set of color libraries containing algorithms and utilities that make it easier for you to develop color themes and schemes in your app. This is a git snapshot build tracking the main branch. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: vala Conflicts: material-color-utilities-vala-devel Provides: material-color-utilities-vala-devel %description devel Development files for the Material Color Utilities Vala library, including C headers, VAPI files, GObject introspection data, and pkg-config metadata. This is a git snapshot build tracking the main branch. %prep %autosetup -n material-color-utilities-vala %build %meson %{?with_check:-Dtests=true} %meson_build %install %meson_install %if %{with check} %check %meson_test %endif %files %license LICENSE LICENSE-APACHE %{_libdir}/libmaterial-color-utilities-vala.so.* %{_libdir}/girepository-1.0/MaterialColorUtilities-*.typelib %files devel %{_includedir}/material-color-utilities-vala.h %{_libdir}/libmaterial-color-utilities-vala.so %{_libdir}/pkgconfig/material-color-utilities-vala.pc %{_datadir}/vala/vapi/material-color-utilities-vala.vapi %{_datadir}/gir-1.0/MaterialColorUtilities-*.gir %changelog %autochangelog