File qgit.spec of Package qgit

# spec file for package qgit
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# 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

%define tar_version %{version}
Name:           qgit
Version:        2.6
Release:        0
Summary:        Graphical Git Repository Viewer
License:        GPL-2.0+
Group:          Development/Tools/Version Control
Source1:        qgit4.desktop
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(Qt5Core) >= 5.5.0
BuildRequires:  pkgconfig(Qt5Widgets) >= 5.5.0
Requires:       git-core >= 1.4.0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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


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.

%setup -q -n redivivus-2d0c3b0

%qmake5 QMAKE_STRIP=:

install -d -m 755 %{buildroot}%{_bindir}
mv %{buildroot}%{_libdir}/qt5/bin/qgit %{buildroot}%{_bindir}
install -D -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/qgit.desktop

%suse_update_desktop_file %{buildroot}%{_datadir}/applications/qgit.desktop

%license COPYING.rtf

openSUSE Build Service is sponsored by