Private
Public Access
1
0

gtk: add Makefile for making rpm

This commit is contained in:
2025-09-07 18:32:57 -07:00
parent f09f45a66f
commit 469fd8fa13
2 changed files with 16 additions and 2 deletions

14
gtk/Makefile Normal file
View File

@@ -0,0 +1,14 @@
all: setup
ninja -C build
setup: build/
meson build
VER := 1.0.2
TMP := $(shell mktemp -d)
rpm:
git -C .. archive --format=tar.gz --prefix=kordophone/ -o $(TMP)/v$(VER).tar.gz HEAD
rpmbuild -ba dist/rpm/kordophone.spec --define "_sourcedir $(TMP)"

View File

@@ -1,11 +1,11 @@
Name: kordophone Name: kordophone
Version: 1.0.1 Version: 1.0.2
Release: 1%{?dist} Release: 1%{?dist}
Summary: GTK4/Libadwaita client for Kordophone Summary: GTK4/Libadwaita client for Kordophone
License: GPL License: GPL
URL: https://code.buzzert.dev/buzzert/Kordophone URL: https://code.buzzert.dev/buzzert/Kordophone
Source0: https://code.buzzert.dev/buzzert/Kordophone/archive/master.tar.gz Source0: %{url}/archive/v%{version}.tar.gz
BuildRequires: meson >= 0.56.0 BuildRequires: meson >= 0.56.0
BuildRequires: vala BuildRequires: vala