File qgit.spec of Package qgit

#
# spec file for package qgit
#
# Copyright (c) 2022 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:           qgit
Version:        2.10
Release:        0
Summary:        Graphical Git Repository Viewer
License:        GPL-2.0-or-later
Group:          Development/Tools/Version Control
URL:            https://github.com/tibirna/qgit
Source:         https://github.com/tibirna/qgit/archive/%{name}-%{version}.tar.gz
BuildRequires:  cmake >= 2.8.11
BuildRequires:  hicolor-icon-theme
BuildRequires:  cmake(Qt5Core) >= 5.14.0
BuildRequires:  cmake(Qt5Widgets) >= 5.14.0
Requires:       git-core >= 1.5.5

%description
QGit is a git GUI viewer built on Qt/C++.

With qgit you will be able to browse revisions history, view patch
content and changed files, graphically following different development
branches.

Features

- View revisions, diffs, files history, files annotation, archive tree.

- Commit changes visually cherry picking modified files.

- Apply or format patch series from selected commits, drag and drop
commits between two instances of qgit.

- Associate commands sequences, scripts and anything else executable to
a custom action. Actions can be run from menu and corresponding output
is grabbed by a terminal window.

- qgit implements a GUI for the most common StGIT commands like push/pop
and apply/format patches. You can also create new patches or refresh
current top one using the same semantics of git commit,  i.e. cherry
picking single modified files.

%prep
%setup -q -n qgit-qgit-%{version}

%build
%cmake
%cmake_build

%install
%cmake_install

%files
%license COPYING.rtf
%doc README.adoc
%{_bindir}/qgit
%{_datadir}/applications/qgit.desktop
%{_datadir}/icons/hicolor/scalable/apps/qgit.svg
%{_datadir}/icons/hicolor/48x48/apps/qgit.png
%{_datadir}/metainfo/qgit.appdata.xml

%changelog
openSUSE Build Service is sponsored by