Group :: Desenvolvimento/Outros
RPM: mercurial
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Version: 1.2.1
Release: alt0.M41.1
Name: mercurial
%setup_python_module %name
Summary: Mercurial source code management system
Group: Development/Other
License: GPL v2
Url: http://selenic.com/mercurial/
Source0: %name-%version.tar
Packager: Yury Yurevich <anarresti at altlinux.org>
BuildPreReq: rpm-build-python
BuildRequires: python-devel asciidoc xmlto
%add_python_req_skip win32api pywintypes win32com win32con win32file win32process winerror
%description
Mercurial is a fast fast, lightweight
Source Control Management system designed for
efficient handling of very large distributed projects
%prep
%setup
%build
%__python setup.py build
make -C doc clean
make -C doc all
# TODO: run tests on build
%install
%__python setup.py install --skip-build --root=%buildroot
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/mercurial
%files
%doc CONTRIBUTORS README contrib doc/*html
%_sysconfdir/bash_completion.d/mercurial
%_bindir/hg
%python_sitelibdir/%name-*py%__python_version.egg-info
%python_sitelibdir/hgext/*
%python_sitelibdir/mercurial/*
%_man1dir/hg.*
%_man5dir/hgrc.*
%_man5dir/hgignore.*
%changelog
…
Todas as alterações você pod ver aqui
Release: alt0.M41.1
Name: mercurial
%setup_python_module %name
Summary: Mercurial source code management system
Group: Development/Other
License: GPL v2
Url: http://selenic.com/mercurial/
Source0: %name-%version.tar
Packager: Yury Yurevich <anarresti at altlinux.org>
BuildPreReq: rpm-build-python
BuildRequires: python-devel asciidoc xmlto
%add_python_req_skip win32api pywintypes win32com win32con win32file win32process winerror
%description
Mercurial is a fast fast, lightweight
Source Control Management system designed for
efficient handling of very large distributed projects
%prep
%setup
%build
%__python setup.py build
make -C doc clean
make -C doc all
# TODO: run tests on build
%install
%__python setup.py install --skip-build --root=%buildroot
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/mercurial
%files
%doc CONTRIBUTORS README contrib doc/*html
%_sysconfdir/bash_completion.d/mercurial
%_bindir/hg
%python_sitelibdir/%name-*py%__python_version.egg-info
%python_sitelibdir/hgext/*
%python_sitelibdir/mercurial/*
%_man1dir/hg.*
%_man5dir/hgrc.*
%_man5dir/hgignore.*
%changelog
…
Todas as alterações você pod ver aqui