Group :: Desenvolvimento/Outros
RPM: mercurial
Main Changelog Spec Patches Sources Download Gear Bugs e 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
…
Todas as alterações você pod ver aqui
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
…
Todas as alterações você pod ver aqui