%global commit 5331a40d24cf476aa359a8a73082ccdd27f9b39a %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global date 20190914 %global uuid com.github.eyelash.%{name} Name: xi-gtk Version: 0 Release: 0.1%{?dist} Summary: GTK front-end for the Xi editor License: Apache URL: https://github.com/eyelash/xi-gtk Source0: %{url}/archive/%{commit}/%{name}-%{version}.%{date}git%{shortcommit}.tar.gz BuildRequires: /usr/bin/desktop-file-validate # BuildRequires: intltool BuildRequires: meson BuildRequires: vala BuildRequires: pkgconfig(gtk+-3.0) >= 3.20 BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(gio-unix-2.0) Requires: dbus-common Requires: hicolor-icon-theme %description A GTK+ front-end for the Xi editor %prep %autosetup -n %{name}-%{commit} -p1 %build %meson %meson_build %install %meson_install %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{uuid}.desktop %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_datadir}/applications/*.desktop %{_datadir}/dbus-1/services/*.service %changelog * Sat Oct 05 2019 Artem Polishchuk - 0-0.1 - Initial package