Репозитории ALT
S: | 0.43.2-alt1 |
5.1: | 0.34.4-alt1 |
4.1: | 0.33-alt1.1 |
4.0: | 0.30-alt3 |
3.0: | 0.26-alt1 |
Группа :: Разработка/Прочее
Пакет: rpm-build-python
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: rpm-build-python
Version: 0.30
Release: alt3
# redefine python_libdir for 0.29.alt2 is buggy
%define python_libdir %_target_libdir/python%__python_version
Summary: RPM helper macros to rebuild python packages
License: GPL
Group: Development/Other
Source: %name-%version-%release.tar
BuildArch: noarch
Packager: Python Development Team <python at packages.altlinux.org>
Requires: rpm-build >= 0:4.0.4-alt39
Requires: python-base >= 2.4.4-alt8
BuildRequires: python, rpm-build >= 0:4.0.4-alt39
AutoReqProv: yes, nopython
%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
Requires: %name = %version-%release
%description tools
Package consist small toolset to diaganostic common problem of requires in python modules.
%prep
%setup -q -n %name-%version-%release
%build
subst 's/ at PYTHON_VERSION at /%__python_version/g' python
%install
install -pD -m644 python %buildroot%_sysconfdir/rpm/macros.d/python
install -pD -m644 python.env %buildroot%_sysconfdir/rpm/macros.d/python.env
install -pD -m644 python.buildreq %buildroot%_sysconfdir/buildreqs/files/ignore.d/%name
install -pD -m755 python.prov %buildroot%_rpmlibdir/python.prov
install -pD -m755 python.prov.py %buildroot%_rpmlibdir/python.prov.py
install -pD -m755 python.prov.files %buildroot%_rpmlibdir/python.prov.files
install -pD -m755 python.req %buildroot%_rpmlibdir/python.req
install -pD -m755 python.req.py %buildroot%_rpmlibdir/python.req.py
install -pD -m755 python.req.files %buildroot%_rpmlibdir/python.req.files
install -pD -m755 python.compileall.py %buildroot%_rpmlibdir/python.compileall.py
install -pd -m755 %buildroot%python_tooldir/rpm-build
install -pD -m644 bdist_altrpm.py %buildroot%_libdir/python%__python_version/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 `relative %buildroot%python_tooldir/rpm-build/imalyzer.py %buildroot%_bindir/` %buildroot%_bindir/imalyzer
ln -s `relative %buildroot%python_tooldir/rpm-build/requires.py %buildroot%_bindir/` %buildroot%_bindir/py_requires
ln -s `relative %buildroot%python_tooldir/rpm-build/provides.py %buildroot%_bindir/` %buildroot%_bindir/py_provides
unset RPM_PYTHON
%files
%_sysconfdir/rpm/macros.d/python
%_sysconfdir/rpm/macros.d/python.env
%_sysconfdir/buildreqs/files/ignore.d/%name
%_rpmlibdir/python.compileall.py
%_rpmlibdir/python.req
%_rpmlibdir/python.req.py
%_rpmlibdir/python.req.files
%_rpmlibdir/python.prov
%_rpmlibdir/python.prov.py
%_rpmlibdir/python.prov.files
%_libdir/python%__python_version/distutils/command/bdist_altrpm.py
%doc python-module-SAMPLE.spec policy notes doc
%files tools
%_bindir/*
%python_tooldir/rpm-build
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.30
Release: alt3
# redefine python_libdir for 0.29.alt2 is buggy
%define python_libdir %_target_libdir/python%__python_version
Summary: RPM helper macros to rebuild python packages
License: GPL
Group: Development/Other
Source: %name-%version-%release.tar
BuildArch: noarch
Packager: Python Development Team <python at packages.altlinux.org>
Requires: rpm-build >= 0:4.0.4-alt39
Requires: python-base >= 2.4.4-alt8
BuildRequires: python, rpm-build >= 0:4.0.4-alt39
AutoReqProv: yes, nopython
%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
Requires: %name = %version-%release
%description tools
Package consist small toolset to diaganostic common problem of requires in python modules.
%prep
%setup -q -n %name-%version-%release
%build
subst 's/ at PYTHON_VERSION at /%__python_version/g' python
%install
install -pD -m644 python %buildroot%_sysconfdir/rpm/macros.d/python
install -pD -m644 python.env %buildroot%_sysconfdir/rpm/macros.d/python.env
install -pD -m644 python.buildreq %buildroot%_sysconfdir/buildreqs/files/ignore.d/%name
install -pD -m755 python.prov %buildroot%_rpmlibdir/python.prov
install -pD -m755 python.prov.py %buildroot%_rpmlibdir/python.prov.py
install -pD -m755 python.prov.files %buildroot%_rpmlibdir/python.prov.files
install -pD -m755 python.req %buildroot%_rpmlibdir/python.req
install -pD -m755 python.req.py %buildroot%_rpmlibdir/python.req.py
install -pD -m755 python.req.files %buildroot%_rpmlibdir/python.req.files
install -pD -m755 python.compileall.py %buildroot%_rpmlibdir/python.compileall.py
install -pd -m755 %buildroot%python_tooldir/rpm-build
install -pD -m644 bdist_altrpm.py %buildroot%_libdir/python%__python_version/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 `relative %buildroot%python_tooldir/rpm-build/imalyzer.py %buildroot%_bindir/` %buildroot%_bindir/imalyzer
ln -s `relative %buildroot%python_tooldir/rpm-build/requires.py %buildroot%_bindir/` %buildroot%_bindir/py_requires
ln -s `relative %buildroot%python_tooldir/rpm-build/provides.py %buildroot%_bindir/` %buildroot%_bindir/py_provides
unset RPM_PYTHON
%files
%_sysconfdir/rpm/macros.d/python
%_sysconfdir/rpm/macros.d/python.env
%_sysconfdir/buildreqs/files/ignore.d/%name
%_rpmlibdir/python.compileall.py
%_rpmlibdir/python.req
%_rpmlibdir/python.req.py
%_rpmlibdir/python.req.files
%_rpmlibdir/python.prov
%_rpmlibdir/python.prov.py
%_rpmlibdir/python.prov.files
%_libdir/python%__python_version/distutils/command/bdist_altrpm.py
%doc python-module-SAMPLE.spec policy notes doc
%files tools
%_bindir/*
%python_tooldir/rpm-build
%changelog
…
Полный changelog можно просмотреть здесь