Group :: Development/Tools
RPM: hgview
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
Name: hgview
Version: 1.14.0
Release: alt2.1
Summary: Qt5 based Mercurial log navigator
License: GPLv2+
Group: Development/Tools
BuildArch: noarch
Url: http://www.logilab.org/project/hgview
# hg clone http://hg.logilab.org/review/hgview
Source0: %{name}-%{version}.tar
Requires: python3-module-qscintilla2-qt5
Requires: mercurial mercurial-hgext
BuildRequires(pre): rpm-build-python3
BuildRequires: mercurial mercurial-hgext asciidoc xmlto python3-module-PyQt5-devel
%add_python3_self_prov_path %buildroot%python3_sitelibdir/hgviewlib/qt5
%description
hgview is a simple tool aiming at visually navigate in a Mercurial
repository history.
It is written in Python/Qt4 with quick and efficient key-based
navigation in mind, trying to be fast enough to be usable for big
repositories.
%prep
%setup
%build
%python3_build
%install
%python3_install
mv %buildroot/usr/man %buildroot/usr/share
rm -rf %buildroot/usr/share/doc/%name
# conflicts with hgext3rd from mercurial
rm -rf %buildroot%python3_sitelibdir/hgext3rd/
%files
%_bindir/*
%python3_sitelibdir/hgviewlib/
%python3_sitelibdir/*.egg-info
%_man1dir/*
%doc ChangeLog README.rst COPYING
%changelog
…
Full changelog you can see here
Name: hgview
Version: 1.14.0
Release: alt2.1
Summary: Qt5 based Mercurial log navigator
License: GPLv2+
Group: Development/Tools
BuildArch: noarch
Url: http://www.logilab.org/project/hgview
# hg clone http://hg.logilab.org/review/hgview
Source0: %{name}-%{version}.tar
Requires: python3-module-qscintilla2-qt5
Requires: mercurial mercurial-hgext
BuildRequires(pre): rpm-build-python3
BuildRequires: mercurial mercurial-hgext asciidoc xmlto python3-module-PyQt5-devel
%add_python3_self_prov_path %buildroot%python3_sitelibdir/hgviewlib/qt5
%description
hgview is a simple tool aiming at visually navigate in a Mercurial
repository history.
It is written in Python/Qt4 with quick and efficient key-based
navigation in mind, trying to be fast enough to be usable for big
repositories.
%prep
%setup
%build
%python3_build
%install
%python3_install
mv %buildroot/usr/man %buildroot/usr/share
rm -rf %buildroot/usr/share/doc/%name
# conflicts with hgext3rd from mercurial
rm -rf %buildroot%python3_sitelibdir/hgext3rd/
%files
%_bindir/*
%python3_sitelibdir/hgviewlib/
%python3_sitelibdir/*.egg-info
%_man1dir/*
%doc ChangeLog README.rst COPYING
%changelog
…
Full changelog you can see here