From 80a984e6208ddab29da70161393b9edc651878b6 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Fri, 30 May 2025 22:46:57 -0700 Subject: [PATCH] fix(flameshot-nightly): Package libraries and development files (#5151) (#5156) (cherry picked from commit e3cdf193fbf2ecd188f9033e80cedc181da01249) Signed-off-by: Gilver Co-authored-by: Gilver --- anda/apps/flameshot/flameshot-nightly.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/anda/apps/flameshot/flameshot-nightly.spec b/anda/apps/flameshot/flameshot-nightly.spec index 7d7ecfb4ba..5fc8b646b2 100644 --- a/anda/apps/flameshot/flameshot-nightly.spec +++ b/anda/apps/flameshot/flameshot-nightly.spec @@ -4,6 +4,7 @@ %global commit 134238b8ebf93b118c81f41dee73c473dbcef256 %global shortcommit %{sub %{commit} 1 7} %global commit_date 20250531 +%global devel_name QtColorWidgets Name: flameshot.nightly Version: %ver^%{commit_date}git.%shortcommit @@ -83,6 +84,12 @@ Supplements: (%{name} and zsh) %description zsh-completion Zsh command line completion support for %{name}. +%package devel +Summary: Flameshot development files +Requires: %{name} = %{version} + +%description devel +Development files for Flameshot. %prep %autosetup -p1 -n flameshot-%commit @@ -110,6 +117,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %dir %{_datadir}/flameshot %dir %{_datadir}/flameshot/translations %{_bindir}/flameshot +%{_libdir}/lib%{devel_name}.so.* %{_datadir}/applications/org.flameshot.Flameshot.desktop %{_metainfodir}/org.flameshot.Flameshot.metainfo.xml %{_datadir}/dbus-1/interfaces/org.flameshot.Flameshot.xml @@ -126,3 +134,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %files zsh-completion %{zsh_completions_dir}/_flameshot + +%files devel +%{_libdir}/lib%{devel_name}.so +%{_libdir}/cmake/%{devel_name}/ +%{_libdir}/pkgconfig/%{devel_name}.pc +%{_includedir}/%{devel_name}/