From 0bb7cb570301644a42047fec4c6a0829963041e9 Mon Sep 17 00:00:00 2001 From: Tobias Florek Date: Mar 04 2021 11:54:46 +0000 Subject: initial import (#1901052) --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1ff0003 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/j4-dmenu-desktop-2.18.tar.gz diff --git a/j4-dmenu-desktop.spec b/j4-dmenu-desktop.spec new file mode 100644 index 0000000..4b87bf2 --- /dev/null +++ b/j4-dmenu-desktop.spec @@ -0,0 +1,58 @@ +Name: j4-dmenu-desktop +Version: 2.18 +Release: 3%{?dist} +Summary: Generic menu for desktop managers +License: GPLv3 +URL: https://github.com/enkore/j4-dmenu-desktop +Source0: https://github.com/enkore/%{name}/archive/r%{version}/%{name}-%{version}.tar.gz +BuildRequires: cmake +BuildRequires: catch-devel + +%description +%{name} is a replacement for i3-dmenu-desktop. +It's purpose is to find .desktop files and offer you a menu to start an +application using dmenu. It should work just fine on about any desktop +environment. You can also execute shell commands using it. + +%prep +%autosetup -n %{name}-r%{version} + +%build +%cmake -DWITH_GIT_CATCH=OFF -DCATCH_INCLUDE_DIR=/usr/include/catch2 +%cmake_build + +%install +%cmake_install +install -d %{buildroot}%{_mandir}/man1 +cp %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 + +%check +%ctest + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} +%{_mandir}/man1/* + +%changelog +* Thu Jan 21 2021 Tobias Florek - 2.18-3 +- packaging: fix archive name +- packaging: use cp instead of using cat and shell redirection + +* Wed Jan 20 2021 Tobias Florek - 2.18-2 +- packaging: use license macro for license +- packaging: do not gzip manpage + +* Tue Nov 24 2020 Tobias Florek - 2.18-1 +- bump version to 2.18 +- use catch2 from fedor +- install man page +- update description + +* Mon May 13 2019 Tobias Florek - 2.17-1 +- bump version to 2.17 + +* Sat Jul 07 2018 Andrew DeMaria 2.16-2 +- Update j4 dmenu (lostonamountain@gmail.com) +- Removed symlink (lostonamountain@gmail.com) diff --git a/sources b/sources new file mode 100644 index 0000000..55ff1b6 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (j4-dmenu-desktop-2.18.tar.gz) = f8b0c825d567d60da0fb418e6f0b24a6d9daa9fb142b194b0a8b249303f4e09b6694fce72bf031007ac67253e488fc7666d4ba7beb032bc74cc2a32aca0f6c96