%global appname io.elementary.vala-lint %global libname libvala-linter-1.0.so %global build_version 3 %global build_timestamp %{lua: print(os.date("%Y%m%d"))} %global build_name %{name}-%{build_timestamp}-%{build_version} Name: vala-lint Version: %{build_timestamp} Release: %{build_version}%{?dist} Summary: Small command line tool and library for checking Vala code files for code-style errors License: GPLv2+ URL: https://github.com/vala-lang/%{name} Source0: https://github.com/vala-lang/%{name}/archive/master.tar.gz#/%{build_name}.tar.gz BuildRequires: meson BuildRequires: vala BuildRequires: vala-devel BuildRequires: glib2-devel %description %{summary}. %prep %autosetup -n %{name}-master %build %meson %meson_build %install %meson_install %files %{_bindir}/%{appname} %{_libdir}/%{libname} %license COPYING %doc README.md %changelog * Wed Feb 05 2020 Christopher Crouse - Bumped version * Thu Jan 02 2020 Christopher Crouse - Bumped version * Thu Jan 02 2020 Christopher Crouse - Initialized spec file