From 6aabb38d582d1e463dc776e0c94b7be9643178d4 Mon Sep 17 00:00:00 2001 From: Dan Cojocaru Date: Sun, 5 Jun 2022 10:59:44 +0300 Subject: [PATCH] Added desktop file --- y3s2-gui-project.desktop | 6 ++++++ y3s2-gui-project.spec | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 y3s2-gui-project.desktop diff --git a/y3s2-gui-project.desktop b/y3s2-gui-project.desktop new file mode 100644 index 0000000..e7f99fe --- /dev/null +++ b/y3s2-gui-project.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Name=Maze Y3S2 GUI Project +Exec=y3s2-gui-project +Terminal=false +Type=Application +Categories=Game; diff --git a/y3s2-gui-project.spec b/y3s2-gui-project.spec index 54b30ad..ab70d28 100644 --- a/y3s2-gui-project.spec +++ b/y3s2-gui-project.spec @@ -1,5 +1,5 @@ Name: y3s2-gui-project -Version: 1.0.2 +Version: 1.0.3 Release: 1%{?dist} Summary: Maze project in OpenGL for Graphics and User Interfaces lecture in year 3, semester 2 @@ -9,6 +9,7 @@ Source0: https://codeberg.org/kbruen/%{name}/archive/v%{version}.tar.gz BuildRequires: mesa-libGLU-devel BuildRequires: freeglut-devel +BuildRequires: desktop-file-utils %description Maze project in OpenGL for Graphics and User Interfaces lecture in year 3, semester 2 @@ -26,8 +27,10 @@ mkdir obj %install %make_install +desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{name}.desktop %files %{_bindir}/%{name} +%{_datadir}/applications/%{name}.desktop