Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37835215
en ru br
Репозитории ALT
S:6.3.1-alt1
5.1: 1.3.1-alt1
4.1: 1.2.1-alt0.M41.1
4.0: 0.9.4-alt1
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: mercurial

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: mercurial
Version: 0.9.4
Release: alt1

Summary: Mercurial source code management system
Group: Development/Other
License: GPL
Url: http://selenic.com/mercurial/

Source0: http://www.selenic.com/mercurial/release/%name-%version.tar.gz

Packager: Igor Zubkov <icesik at altlinux.org>

# Automatically added by buildreq on Wed Jul 18 2007

BuildRequires: asciidoc python-dev python-modules-compiler python-modules-encodings xmlto

%add_python_req_skip win32api pywintypes win32com win32con win32file win32process winerror

%description
Mercurial source code management system.

%prep
%setup -q

%build
%__mkdir_p buildroot/

# Unfortunately build and install steps should be done at once

# because otherwise .pyo files won't get into INSTALLED_FILES
# record

CFLAGS="%optflags -I$RPM_BUILD_DIR" %__python setup.py \
install --optimize=2 \
--root=`pwd`/buildroot \
--record=INSTALLED_FILES

pushd doc
make clean
make man
popd

%install
mkdir -p %buildroot/
cp -pr buildroot/* %buildroot/

unset RPM_PYTHON

mkdir -p %buildroot%_man1dir/
install -p doc/hg.1 %buildroot%_man1dir/
install -p doc/hgmerge.1 %buildroot%_man1dir/
mkdir -p %buildroot%_man5dir/
install -p doc/hgrc.5 %buildroot%_man5dir/
install -p doc/hgignore.5 %buildroot%_man5dir/

%files -f INSTALLED_FILES
%doc CONTRIBUTORS README contrib
%_man1dir/*
%_man5dir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin