Группа :: Разработка/Прочее
Пакет: rpm-build-python
Главная Изменения Спек Патчи Загрузить Bugs and FR
# $Id: rpm-build-python.spec 416 2004-12-19 09:35:57Z cray $
Name: rpm-build-python
Version: 0.27
Release: alt0.M24.1
Summary: RPM helper macros to rebuild python packages
License: GPL
Group: Development/Other
Source0: %name-%version.tar.bz2
BuildArch: noarch
Packager: Python Development Team <python at packages.altlinux.org>
Requires: %_sysconfdir/rpm/macros.d
Requires: rpm-build >= 4.0.4-alt38.d
Requires: rpm >= 4.0.4-alt38.d
AutoReqProv: yes, nopython
BuildRequires: python = %__python_version
%description
These helper macros provide possibility to rebuild
python modules by some Alt Linux Team Policy compatible way.
%package tools
Summary: diagnostic tools
Group: Development/Python
%description tools
Package consist small toolset to diaganostic common problem of requires in python modules.
%prep
%setup
%build
%install
%__install -pD -m644 python %buildroot%_sysconfdir/rpm/macros.d/python
%__install -pD -m755 python.prov.py %buildroot%_libdir/rpm/python.prov.py
%__install -pD -m755 python.req.py %buildroot%_libdir/rpm/python.req.py
%__install -pD -m755 python.compileall.py %buildroot%_libdir/rpm/python.compileall.py
%__install -pd -m755 %buildroot%python_tooldir/rpm-build
%__install -pD -m644 bdist_altrpm.py %buildroot%python_libdir/distutils/command/bdist_altrpm.py
%__install -pD -m755 tools/*py %buildroot%python_tooldir/rpm-build
%__install -pd -m755 %buildroot%python_tooldir/rpm-build/find
%__install -pD -m644 tools/find/*py %buildroot%python_tooldir/rpm-build/find
%__install -pd -m755 %buildroot%_bindir
ln -s %python_tooldir/rpm-build/imalyzer.py %buildroot%_bindir/imalyzer
ln -s %python_tooldir/rpm-build/requires.py %buildroot%_bindir/py_requires
ln -s %python_tooldir/rpm-build/provides.py %buildroot%_bindir/py_provides
unset RPM_PYTHON
%files
%_sysconfdir/rpm/macros.d/python
%_libdir/rpm/python.compileall.py
%_libdir/rpm/python.req.py
%_libdir/rpm/python.prov.py
%python_libdir/distutils/command/bdist_altrpm.py
%doc python-module-SAMPLE.spec policy notes doc
%files tools
%_bindir/*
%python_tooldir/rpm-build
%changelog
…
Полный changelog можно просмотреть здесь
Name: rpm-build-python
Version: 0.27
Release: alt0.M24.1
Summary: RPM helper macros to rebuild python packages
License: GPL
Group: Development/Other
Source0: %name-%version.tar.bz2
BuildArch: noarch
Packager: Python Development Team <python at packages.altlinux.org>
Requires: %_sysconfdir/rpm/macros.d
Requires: rpm-build >= 4.0.4-alt38.d
Requires: rpm >= 4.0.4-alt38.d
AutoReqProv: yes, nopython
BuildRequires: python = %__python_version
%description
These helper macros provide possibility to rebuild
python modules by some Alt Linux Team Policy compatible way.
%package tools
Summary: diagnostic tools
Group: Development/Python
%description tools
Package consist small toolset to diaganostic common problem of requires in python modules.
%prep
%setup
%build
%install
%__install -pD -m644 python %buildroot%_sysconfdir/rpm/macros.d/python
%__install -pD -m755 python.prov.py %buildroot%_libdir/rpm/python.prov.py
%__install -pD -m755 python.req.py %buildroot%_libdir/rpm/python.req.py
%__install -pD -m755 python.compileall.py %buildroot%_libdir/rpm/python.compileall.py
%__install -pd -m755 %buildroot%python_tooldir/rpm-build
%__install -pD -m644 bdist_altrpm.py %buildroot%python_libdir/distutils/command/bdist_altrpm.py
%__install -pD -m755 tools/*py %buildroot%python_tooldir/rpm-build
%__install -pd -m755 %buildroot%python_tooldir/rpm-build/find
%__install -pD -m644 tools/find/*py %buildroot%python_tooldir/rpm-build/find
%__install -pd -m755 %buildroot%_bindir
ln -s %python_tooldir/rpm-build/imalyzer.py %buildroot%_bindir/imalyzer
ln -s %python_tooldir/rpm-build/requires.py %buildroot%_bindir/py_requires
ln -s %python_tooldir/rpm-build/provides.py %buildroot%_bindir/py_provides
unset RPM_PYTHON
%files
%_sysconfdir/rpm/macros.d/python
%_libdir/rpm/python.compileall.py
%_libdir/rpm/python.req.py
%_libdir/rpm/python.prov.py
%python_libdir/distutils/command/bdist_altrpm.py
%doc python-module-SAMPLE.spec policy notes doc
%files tools
%_bindir/*
%python_tooldir/rpm-build
%changelog
…
Полный changelog можно просмотреть здесь