mirror of
https://github.com/fergalmoran/flameshot.git
synced 2025-12-22 09:51:06 +00:00
Fix deb and rpm packaing issues
This commit is contained in:
@@ -51,11 +51,16 @@ Features:
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%cmake -DCMAKE_BUILD_TYPE=Release
|
||||
%cmake -DCMAKE_BUILD_TYPE=Release -DQTCOLORWIDGETS_INSTALL=OFF
|
||||
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
rm -rf %{buildroot}%{_includedir}/QtColorWidgets
|
||||
rm -rf %{buildroot}%{_libdir}/cmake/QtColorWidgets
|
||||
rm -f %{buildroot}%{_libdir}/libQtColorWidgets.*
|
||||
rm -f %{buildroot}%{_libdir}/pkgconfig/QtColorWidgets.pc
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/find_lang
|
||||
%find_lang Internationalization --with-qt
|
||||
%suse_update_desktop_file -r org.flameshot.Flameshot Utility X-SuSE-DesktopUtility
|
||||
|
||||
Reference in New Issue
Block a user