Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
flameshot
flameshot.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File flameshot.spec of Package flameshot
# # spec file for package flameshot # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: flameshot Version: 12.1.0 Release: 0 Summary: Screenshot software License: GPL-3.0-only Group: Productivity/Graphics/Other URL: https://github.com/flameshot-org/flameshot#flameshot Source0: https://github.com/flameshot-org/flameshot/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz # PATCH-FEATURE-OPENSUSE flameshot-remove-update-check.patch -- Remove update check Patch0: flameshot-remove-update-check.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: libqt5-linguist-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5Core) >= 5 BuildRequires: pkgconfig(Qt5DBus) >= 5 BuildRequires: pkgconfig(Qt5Gui) >= 5 BuildRequires: pkgconfig(Qt5Network) >= 5 BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Widgets) >= 5 %if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400 BuildRequires: cmake(KF5GuiAddons) >= 5.89.0 %endif Requires: libQt5Svg5 Suggests: %{name}-bash-completion Suggests: %{name}-fish-completion Suggests: %{name}-zsh-completion %description A program to capture screenshots. Features: * Customizable appearance * Annotation and drawing tools * DBus interface * Export to file, web %package bash-completion Summary: Bash Completion for %{name} Group: System/Shells Requires: %{name} = %{version} Requires: bash-completion Supplements: (flameshot and bash-completion) BuildArch: noarch %description bash-completion Bash completion script for flameshot's CLI. %package zsh-completion Summary: ZSH completion for %{name} Group: System/Shells Requires: %{name} = %{version} Supplements: (%{name} and zsh) BuildArch: noarch %description zsh-completion zsh shell completions for %{name}. %package fish-completion Summary: Fish completion for %{name} Group: System/Shells Requires: %{name} = %{version} Supplements: (%{name} and fish) BuildArch: noarch %description fish-completion Fish command line completion support for %{name}. %prep %setup -q %build %if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400 %cmake -DUSE_WAYLAND_CLIPBOARD:BOOL=ON %else %cmake %endif %cmake_build %install %cmake_install %suse_update_desktop_file -r org.flameshot.Flameshot Utility X-SuSE-DesktopUtility %fdupes %{buildroot}%{_datadir}/icons/hicolor %files %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/applications/org.flameshot.Flameshot.desktop %{_datadir}/dbus-1/interfaces/org.flameshot.Flameshot.xml %{_datadir}/dbus-1/services/org.flameshot.Flameshot.service %{_datadir}/icons/hicolor/*/apps/*.png %{_datadir}/icons/hicolor/scalable/apps/*.svg %{_datadir}/metainfo/org.flameshot.Flameshot.metainfo.xml %{_mandir}/man1/%{name}.1%{?ext_man} %files bash-completion %{_datadir}/bash-completion/completions/%{name} %files zsh-completion %dir %{_datadir}/zsh %dir %{_datadir}/zsh/site-functions %{_datadir}/zsh/site-functions/_flameshot %files fish-completion %dir %{_datadir}/fish %dir %{_datadir}/fish/vendor_completions.d %{_datadir}/fish/vendor_completions.d/flameshot.fish %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor