add: marble-gtk (#232)

marble-gtk was accidentally removed in commit 4600a1dc65
This commit is contained in:
madomado
2023-02-22 18:55:50 +08:00
committed by GitHub
parent 7922daa9f3
commit 460207c860
3 changed files with 49 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "marble-gtk.spec"
}
}
+41
View File
@@ -0,0 +1,41 @@
Name: marble-gtk
Version: 1.3.0
Release: %autorelease
Summary: My GTK library
License: GPLv3
URL: https://gitlab.gnome.org/raggesilver/marble
BuildRequires: vala pkgconfig(gtk4) meson >= 0.50.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.24
BuildRequires: pkgconfig(gio-2.0) >= 2.50
Source0: %{url}/-/archive/v%{version}/marble-v%{version}.tar.gz
%description
%summary.
Just as Elementary has Granite I have Marble, my collection of useful functions
and reusable widgets.
%prep
%autosetup -n marble-v%{version}
%build
%meson
%meson_build
%install
%meson_install
%files
%doc README.md
%license COPYING
/usr/include/marble.h
/usr/lib/debug/usr/lib64/libmarble.so*
/usr/lib64/girepository-1.0/Marble-*.typelib
/usr/lib64/libmarble.so*
/usr/lib64/pkgconfig/marble.pc
/usr/share/gir-1.0/Marble-*.gir
/usr/share/vala/vapi/marble.*
%changelog
* Sat Oct 29 2022 windowsboy111 <windowsboy111@fyralabs.com>
- Initial package
+3
View File
@@ -0,0 +1,3 @@
let txt = get("https://gitlab.gnome.org/api/v4/projects/20662/releases/");
let ver = txt.json_arr()[0].tag_name;
rpm.version(ver);