Desktop/icon files, rpm dist
This commit is contained in:
57
dist/rpm/kordophone.spec
vendored
Normal file
57
dist/rpm/kordophone.spec
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
Name: kordophone
|
||||
Version: 1.0.0
|
||||
Release: 1%{?dist}
|
||||
Summary: GTK4/Libadwaita client for Kordophone
|
||||
|
||||
License: GPL
|
||||
URL: https://git.sr.ht/~buzzert/kordophone-2-gtk
|
||||
# Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: meson >= 0.56.0
|
||||
BuildRequires: vala
|
||||
BuildRequires: gcc
|
||||
BuildRequires: pkgconfig(gtk4)
|
||||
BuildRequires: pkgconfig(libadwaita-1)
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(gee-0.8)
|
||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||
BuildRequires: pkgconfig(libsecret-1)
|
||||
|
||||
Requires: gtk4
|
||||
Requires: libadwaita
|
||||
Requires: glib2
|
||||
Requires: libgee
|
||||
Requires: libsecret
|
||||
Requires: kordophoned >= 1.0.0
|
||||
|
||||
%description
|
||||
A GTK4/Libadwaita Linux Client for the Kordophone client daemon.
|
||||
|
||||
%prep
|
||||
if [ ! -d .git ]; then
|
||||
git clone --bare https://git.sr.ht/~buzzert/kordophone-2-gtk .git
|
||||
git config --local --bool core.bare false
|
||||
git reset --hard
|
||||
fi
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%files
|
||||
%{_bindir}/kordophone
|
||||
%{_datadir}/applications/net.buzzert.kordophone.desktop
|
||||
%{_datadir}/icons/
|
||||
%{_datadir}/icons/hicolor/16x16/apps/net.buzzert.kordophone.png
|
||||
%{_datadir}/icons/hicolor/24x24/apps/net.buzzert.kordophone.png
|
||||
%{_datadir}/icons/hicolor/32x32/apps/net.buzzert.kordophone.png
|
||||
%{_datadir}/icons/hicolor/48x48/apps/net.buzzert.kordophone.png
|
||||
%{_datadir}/icons/hicolor/256x256/apps/net.buzzert.kordophone.png
|
||||
%{_datadir}/icons/hicolor/512x512/apps/net.buzzert.kordophone.png
|
||||
%{_datadir}/icons/net.buzzert.kordophone.png
|
||||
|
||||
%changelog
|
||||
- Initial RPM package
|
||||
Reference in New Issue
Block a user