Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37552305
en ru br
ALT Linux repositórios
S:6.3.1-alt1
5.0: 1.2.1-alt0.M50.1
4.1: 1.2.1-alt0.M41.1
4.0: 0.9.4-alt1

Group :: Desenvolvimento/Outros
RPM: mercurial

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

# tests are too slow
%def_without check

Name: mercurial
Version: 6.3.1
Release: alt1

Summary: Mercurial source code management system

Group: Development/Other
License: GPLv2+
Url: https://mercurial-scm.org

Source: %name-%version.tar

Packager: Yury Yurevich <anarresti at altlinux.org>

BuildPreReq: rpm-build-python3
BuildRequires: asciidoc xmlto python3-module-docutils
BuildRequires: python3-modules-sqlite3 libzstd-devel

%if_with check
BuildRequires: unzip
%endif

Provides: hg = %version-%release

%add_findreq_skiplist %python3_sitelibdir/hgext/*
%add_findreq_skiplist %python3_sitelibdir/mercurial/win*
%add_findreq_skiplist %python3_sitelibdir/mercurial/scmwin*
%add_findreq_skiplist %python3_sitelibdir/mercurial/httpclient/tests/*
%add_findreq_skiplist %python3_sitelibdir/mercurial/py3kcompat.py

%description
Mercurial is a fast fast, lightweight
Source Control Management system designed for
efficient handling of very large distributed projects

%package -n bash-completion-%name
Summary: Bash completion for mercurial
Group: Development/Other
BuildArch: noarch

%description -n bash-completion-%name
Bash completion for mercurial

%package -n %name-hgext
Summary: Mercurial bundled extensions
Group: Development/Other
Requires: %name = %version-%release, tk, python3-module-Pygments

%description -n %name-hgext
Bundled extensions for Mercurial SCM. See
http://mercurial.selenic.com/wiki/UsingExtensions for details.
This extensions are included in package:

- acl -- Manage commit access to parts of a repo using control list
- alias -- User-defined command aliases
- bisect -- Quickly find revision that introduces a bug or feature
- bookmarks -- Markers on commits that move on commit
- bugzilla -- Update Bugzilla entries from commit messages
- children -- Display children revisions
- churn -- Show change statistics per author
- convert -- Convert repositories from other SCMs into Mercurial
- color -- Color output for the diff, status and qseries commands
- extdiff -- Compare changes using external programs
- fetch -- Conveniently pull, merge and update in one step
- gpg -- Sign changesets and check signatures using GnuPG
- graphlog -- Show revision history alongside an ASCII revision graph
- hgcia -- Send notifications to http://cia.navi.cx
- highlight -- Highlight syntax in the file revision view of hgweb
- imerge --Perform interactive, interruptible merges
- interhg -- Change changelog and summary text in InterWiki way
- keyword -- Use CVS-like keyword expandsion in tracked files
- mq -- Mercurail Patch Queues - manage changes as series of patches
- notify -- Send email to subscribed emails to notify repository changes
- pager -- Allows you to use pager
- parentrevspec -- Use git-like foo^ to refer to the parent of revision foo
- patchbomb -- Send a collection of changesets as a series of patch emails
- progress -- Show progress bars for some actions
- purge -- Purge all files and dirs that are not being tracked
- rebase -- Move revisions from one point to another
- record -- Comit changes per-hunk, like darcs record or git interactive commit
- relink -- Recreates hardlinks between repository clones
- schemes -- Add shortcuts to urls as url schemes
- share -- Share repository history between multiply repos
- transplant -- Cherry-picking, rebasing and changeset rewriting
- zeroconf -- Announce and browse repositories via zeroconf/bonjour

%prep
%setup

%build
%python3_build

%make PYTHON=%__python3 -C doc clean
%make PYTHON=%__python3 -C doc all

%install
%python3_install
install -D doc/hg.1 %buildroot%_man1dir/hg.1
install -D doc/hgrc.5 %buildroot%_man5dir/hgrc.5
install -D doc/hgignore.5 %buildroot%_man5dir/hgignore.5
install -D contrib/bash_completion %buildroot%_sysconfdir/bash_completion.d/%name
install -D contrib/hgk  %buildroot%_bindir/hgk
install contrib/hg-ssh %buildroot%_bindir/

mkdir -p %buildroot%_sysconfdir/%name/hgrc.d

%check
%make PYTHON=%__python3 check

%files
%doc CONTRIBUTORS README.rst contrib doc/*html
%dir %_sysconfdir/%name
%dir %_sysconfdir/%name/hgrc.d
%_bindir/hg
%_bindir/hg-ssh
%python3_sitelibdir/mercurial
%python3_sitelibdir/hgdemandimport
%python3_sitelibdir/%name-*py%_python3_version.egg-info
%_man1dir/hg.*
%_man5dir/hgrc.*
%_man5dir/hgignore.*

%exclude %python3_sitelibdir/hgext/*

%files -n bash-completion-%name
%dir %_sysconfdir/bash_completion.d
%_sysconfdir/bash_completion.d/%name
%dir %_datadir/bash-completion
%dir %_datadir/bash-completion/completions
%_datadir/bash-completion/completions/hg
%dir %_datadir/zsh
%dir %_datadir/zsh/site-functions
%_datadir/zsh/site-functions/_hg

%files -n %name-hgext
%_bindir/hgk
%python3_sitelibdir/hgext
%python3_sitelibdir/hgext3rd

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009