Группа :: Разработка/Python
Пакет: python-module-probstat
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# -*- coding: utf-8 -*-
%define name probstat
%define version 0.912
%define release alt1
%setup_python_module probstat
Summary: probability and statistics utils for Python
Name: %packagename
Version: %version
Release: %release.1
Source: %{modulename}_%version.tgz
License: GPL v2
Group: Development/Python
Url: http://probstat.sourceforge.net/
%description
A fast C implementation of various probability and statistical methods with
Python bindings, featuring combinations, permutations, Cartesians, products,
and priority queues.
This module is built for python %__python_version.
%prep
%setup -q -n %{modulename}_%version
%build
mkdir -p buildroot
CFLAGS="%optflags" %__python setup.py \
install --optimize=2 \
--root=`pwd`/buildroot \
--record=INSTALLED_FILES
%install
cp -pr buildroot %buildroot
unset RPM_PYTHON
%files -f INSTALLED_FILES
%changelog
…
Полный changelog можно просмотреть здесь
%define name probstat
%define version 0.912
%define release alt1
%setup_python_module probstat
Summary: probability and statistics utils for Python
Name: %packagename
Version: %version
Release: %release.1
Source: %{modulename}_%version.tgz
License: GPL v2
Group: Development/Python
Url: http://probstat.sourceforge.net/
%description
A fast C implementation of various probability and statistical methods with
Python bindings, featuring combinations, permutations, Cartesians, products,
and priority queues.
This module is built for python %__python_version.
%prep
%setup -q -n %{modulename}_%version
%build
mkdir -p buildroot
CFLAGS="%optflags" %__python setup.py \
install --optimize=2 \
--root=`pwd`/buildroot \
--record=INSTALLED_FILES
%install
cp -pr buildroot %buildroot
unset RPM_PYTHON
%files -f INSTALLED_FILES
%changelog
…
Полный changelog можно просмотреть здесь