Репозитории ALT
S: | 4.0.1-alt1 |
5.1: | 1.2.0.d20100117-alt0.M51.1 |
4.1: | 0.97-alt2.1 |
4.0: | 0.97-alt2 |
3.0: | 0.96.90-alt2 |
Группа :: Разработка/Python
Пакет: scons
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: scons
Version: 2.3.0
Release: alt1
Summary: an Open Source software construction tool
Summary(ru_RU.UTF-8): Open Source я│я─п╣п╢я│я┌п╡п╬ п╢п╩я▐ я│п╠п╬я─п╨п╦ п÷п·
License: MIT, freely distributable
Group: Development/Python
Url: http://www.scons.org
BuildArch: noarch
BuildRequires: python-devel
Source: http://dl.sf.net/scons/%name-src-%version.tar.gz
Patch: %name-%version-%release.patch
Obsoletes: scons-doc < %version-%release
Provides: scons-doc = %version-%release
%add_python_req_skip builtins
%description
SCons is an Open Source software construction tool--that is, a build
tool; an improved substitute for the classic Make utility; a better way
to build software. SCons is based on the design which won the Software
Carpentry build tool design competition in August 2000.
SCons "configuration files" are Python scripts, eliminating the need
to learn a new build tool syntax. SCons maintains a global view of
all dependencies in a tree, and can scan source (or other) files for
implicit dependencies, such as files specified on #include lines. SCons
uses MD5 signatures to rebuild only when the contents of a file have
really changed, not just when the timestamp has been touched. SCons
supports side-by-side variant builds, and is easily extended with user-
defined Builder and/or Scanner objects.
%description -l ru_RU.UTF-8
SCons -- п╬я┌п╨я─я▀я┌п╬п╣ я│я─п╣п╢я│я┌п╡п╬ п╢п╩я▐ я│п╠п╬я─п╨п╦ п÷п· -- п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ п╦п╥ я│п╣п╠я▐ я┐п╩я┐я┤я┬п╣п╫п╫я┐я▌
п╥п╟п╪п╣п╫я┐ п╨п╩п╟я│я│п╦я┤п╣я│п╨п╬п╧ я┐я┌п╦п╩п╦я┌п╣ Make; я█я┌п╬ п╩я┐я┤я┬п╦п╧ я│п©п╬я│п╬п╠ я│п╬п╠я─п╟я┌я▄ п÷п·. SCons
п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╢п╦п╥п╟п╧п╫, п©п╬п╠п╣п╢п╦п╡я┬п╦п╧ п╫п╟ я│п╬я─п╣п╡п╫п╬п╡п╟п╫п╦п╦ я│я─п╣п╢я│я┌п╡ п╢п╩я▐ я│п╠п╬я─п╨п╦ п÷п· Software
Carpentry п╡ п╟п╡пЁя┐я│я┌п╣ 2000пЁ.
п╒п╟п╨ п╨п╟п╨ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╬п╫п╫я▀п╣ я└п╟п╧п╩я▀ SCons -- я│п╨я─п╦п©я┌я▀ п╫п╟ я▐п╥я▀п╨п╣ Python, п╫п╣я┌ п╫п╟п╢п╬п╠п╫п╬я│я┌п╦
п╬я│п╡п╟п╦п╡п╟я┌я▄ п╫п╬п╡я▀п╧ я│п╦п╫я┌п╟п╨я│п╦я│ п╢п╩я▐ я│я─п╣п╢я│я┌п╡п╟ я│п╠п╬я─п╨п╦ п÷п·. SCons п╬я┌я│п╩п╣п╤п╦п╡п╟п╣я┌ п╬п╠я┴п╦п╧ я│п©п╦я│п╬п╨
п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╣п╧ п╡ п╢п╣я─п╣п╡п╣ п╦я│я┘п╬п╢п╫я▀я┘ я┌п╣п╨я│я┌п╬п╡, п╬п╫ я┐п╪п╣п╣я┌ я│п╨п╟п╫п╦я─п╬п╡п╟я┌я▄ п╦я│я┘п╬п╢п╫я▀п╣ я┌п╣п╨я│я┌я▀
(п╦п╩п╦ п╢я─я┐пЁп╦п╣ я└п╟п╧п╩я▀) п╫п╟ п©я─п╣п╢п╪п╣я┌ п╫п╣я▐п╡п╫я▀я┘ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╣п╧, я┌п╟п╨п╦я┘ п╨п╟п╨ я└п╟п╧п╩я▀, я┐п╨п╟п╥п╟п╫п╫я▀п╣
п╡ я│я┌я─п╬п╨п╟я┘ #include. SCons п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п©п╬п╢п©п╦я│п╦ MD5 п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀
п©п╣я─п╣п╨п╬п╪п©п╦п╩п╦я─п╬п╡п╟я┌я▄ я┌п╬п╩я▄п╨п╬ я┌п╣ я└п╟п╧п╩я▀, я┤я▄я▒ я│п╬п╢п╣я─п╤п╟п╫п╦п╣ п╢п╣п╧я│я┌п╡п╦я┌п╣п╩я▄п╫п╬ п╦п╥п╪п╣п╫п╦п╩п╬я│я▄, п╟ п╫п╣
п╨п╬пЁп╢п╟ я┌п╬п╩я▄п╨п╬ п╦п╥п╪п╣п╫п╦п╩п╬я│я▄ п╡я─п╣п╪я▐ я│п╬п╥п╢п╟п╫п╦я▐. SCons п╪п╬п╤п╣я┌ п╠я▀я┌я▄ п╩п╣пЁп╨п╬ я─п╟я│я┬п╦я─п╣п╫ п╥п╟ я│я┤я▒я┌
п╬п©я─п╣п╢п╣п╩я▐п╣п╪я▀я┘ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╪ п╬п╠я┼п╣п╨я┌п╬п╡ Builder п╦/п╦п╩п╦ Scanner.
%prep
%setup -n %name-src-%version
%patch -p1
sed -i 's|/usr/bin/env python|/usr/bin/python|' script/*
# Convert to utf-8
for file in *.txt; do
iconv -f ISO-8859-1 -t UTF-8 -o $file.new $file && \
touch -r $file $file.new && \
mv $file.new $file
done
%build
python setup.py build
export SCONS_LIB_DIR=%_builddir/%name-src-%version/src/engine
%install
python setup.py install -O1 --skip-build \
--root=%buildroot \
--no-version-script \
--standard-lib \
--install-scripts=%_bindir \
--install-data=%_datadir
%files
%doc LICENSE.txt CHANGES.txt README.txt RELEASE.txt
%_man1dir/*
%_bindir/*
%python_sitelibdir_noarch/SCons
%_mandir/man?/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.3.0
Release: alt1
Summary: an Open Source software construction tool
Summary(ru_RU.UTF-8): Open Source я│я─п╣п╢я│я┌п╡п╬ п╢п╩я▐ я│п╠п╬я─п╨п╦ п÷п·
License: MIT, freely distributable
Group: Development/Python
Url: http://www.scons.org
BuildArch: noarch
BuildRequires: python-devel
Source: http://dl.sf.net/scons/%name-src-%version.tar.gz
Patch: %name-%version-%release.patch
Obsoletes: scons-doc < %version-%release
Provides: scons-doc = %version-%release
%add_python_req_skip builtins
%description
SCons is an Open Source software construction tool--that is, a build
tool; an improved substitute for the classic Make utility; a better way
to build software. SCons is based on the design which won the Software
Carpentry build tool design competition in August 2000.
SCons "configuration files" are Python scripts, eliminating the need
to learn a new build tool syntax. SCons maintains a global view of
all dependencies in a tree, and can scan source (or other) files for
implicit dependencies, such as files specified on #include lines. SCons
uses MD5 signatures to rebuild only when the contents of a file have
really changed, not just when the timestamp has been touched. SCons
supports side-by-side variant builds, and is easily extended with user-
defined Builder and/or Scanner objects.
%description -l ru_RU.UTF-8
SCons -- п╬я┌п╨я─я▀я┌п╬п╣ я│я─п╣п╢я│я┌п╡п╬ п╢п╩я▐ я│п╠п╬я─п╨п╦ п÷п· -- п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ п╦п╥ я│п╣п╠я▐ я┐п╩я┐я┤я┬п╣п╫п╫я┐я▌
п╥п╟п╪п╣п╫я┐ п╨п╩п╟я│я│п╦я┤п╣я│п╨п╬п╧ я┐я┌п╦п╩п╦я┌п╣ Make; я█я┌п╬ п╩я┐я┤я┬п╦п╧ я│п©п╬я│п╬п╠ я│п╬п╠я─п╟я┌я▄ п÷п·. SCons
п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╢п╦п╥п╟п╧п╫, п©п╬п╠п╣п╢п╦п╡я┬п╦п╧ п╫п╟ я│п╬я─п╣п╡п╫п╬п╡п╟п╫п╦п╦ я│я─п╣п╢я│я┌п╡ п╢п╩я▐ я│п╠п╬я─п╨п╦ п÷п· Software
Carpentry п╡ п╟п╡пЁя┐я│я┌п╣ 2000пЁ.
п╒п╟п╨ п╨п╟п╨ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╬п╫п╫я▀п╣ я└п╟п╧п╩я▀ SCons -- я│п╨я─п╦п©я┌я▀ п╫п╟ я▐п╥я▀п╨п╣ Python, п╫п╣я┌ п╫п╟п╢п╬п╠п╫п╬я│я┌п╦
п╬я│п╡п╟п╦п╡п╟я┌я▄ п╫п╬п╡я▀п╧ я│п╦п╫я┌п╟п╨я│п╦я│ п╢п╩я▐ я│я─п╣п╢я│я┌п╡п╟ я│п╠п╬я─п╨п╦ п÷п·. SCons п╬я┌я│п╩п╣п╤п╦п╡п╟п╣я┌ п╬п╠я┴п╦п╧ я│п©п╦я│п╬п╨
п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╣п╧ п╡ п╢п╣я─п╣п╡п╣ п╦я│я┘п╬п╢п╫я▀я┘ я┌п╣п╨я│я┌п╬п╡, п╬п╫ я┐п╪п╣п╣я┌ я│п╨п╟п╫п╦я─п╬п╡п╟я┌я▄ п╦я│я┘п╬п╢п╫я▀п╣ я┌п╣п╨я│я┌я▀
(п╦п╩п╦ п╢я─я┐пЁп╦п╣ я└п╟п╧п╩я▀) п╫п╟ п©я─п╣п╢п╪п╣я┌ п╫п╣я▐п╡п╫я▀я┘ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╣п╧, я┌п╟п╨п╦я┘ п╨п╟п╨ я└п╟п╧п╩я▀, я┐п╨п╟п╥п╟п╫п╫я▀п╣
п╡ я│я┌я─п╬п╨п╟я┘ #include. SCons п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п©п╬п╢п©п╦я│п╦ MD5 п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀
п©п╣я─п╣п╨п╬п╪п©п╦п╩п╦я─п╬п╡п╟я┌я▄ я┌п╬п╩я▄п╨п╬ я┌п╣ я└п╟п╧п╩я▀, я┤я▄я▒ я│п╬п╢п╣я─п╤п╟п╫п╦п╣ п╢п╣п╧я│я┌п╡п╦я┌п╣п╩я▄п╫п╬ п╦п╥п╪п╣п╫п╦п╩п╬я│я▄, п╟ п╫п╣
п╨п╬пЁп╢п╟ я┌п╬п╩я▄п╨п╬ п╦п╥п╪п╣п╫п╦п╩п╬я│я▄ п╡я─п╣п╪я▐ я│п╬п╥п╢п╟п╫п╦я▐. SCons п╪п╬п╤п╣я┌ п╠я▀я┌я▄ п╩п╣пЁп╨п╬ я─п╟я│я┬п╦я─п╣п╫ п╥п╟ я│я┤я▒я┌
п╬п©я─п╣п╢п╣п╩я▐п╣п╪я▀я┘ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╪ п╬п╠я┼п╣п╨я┌п╬п╡ Builder п╦/п╦п╩п╦ Scanner.
%prep
%setup -n %name-src-%version
%patch -p1
sed -i 's|/usr/bin/env python|/usr/bin/python|' script/*
# Convert to utf-8
for file in *.txt; do
iconv -f ISO-8859-1 -t UTF-8 -o $file.new $file && \
touch -r $file $file.new && \
mv $file.new $file
done
%build
python setup.py build
export SCONS_LIB_DIR=%_builddir/%name-src-%version/src/engine
%install
python setup.py install -O1 --skip-build \
--root=%buildroot \
--no-version-script \
--standard-lib \
--install-scripts=%_bindir \
--install-data=%_datadir
%files
%doc LICENSE.txt CHANGES.txt README.txt RELEASE.txt
%_man1dir/*
%_bindir/*
%python_sitelibdir_noarch/SCons
%_mandir/man?/*
%changelog
…
Полный changelog можно просмотреть здесь