Группа :: Разработка/Python
Пакет: python-module-gmpy
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# -*- coding: utf-8 -*-
%define version 1.0
%define release alt1
%setup_python_module gmpy
Summary: Python wrapper for the GMP big integer library
Summary(ru_RU.UTF-8): п╦п╫я┌п╣я─я└п╣п╧я│ п╨ п╠п╦п╠п╩п╦п╬я┌п╣п╨п╣ GMP п╢п╩я▐ Python
Name: %packagename
Version: %version
Release: %release
Source: http://prdownloads.sourceforge.net/gmpy/%modulename-sources-10.zip
License: Python
Group: Development/Python
Prefix: %_prefix
Url: http://gmpy.sourceforge.net
# Automatically added by buildreq on Tue Apr 19 2005
BuildRequires: libgmp-devel python-dev python-modules-encodings unzip
BuildRequires: unzip
%description
The General Multiprecision PYthon project (GMPY) focuses on Python-usable
modules providing multiprecision arithmetic functionality to Python
programmers. The project mission includes both C and C++ Python-modules
(for speed) and pure Python modules (for flexibility and convenience).
This module is built for python %__python_version
%prep
%setup -q -n %modulename
%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" %__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 version 1.0
%define release alt1
%setup_python_module gmpy
Summary: Python wrapper for the GMP big integer library
Summary(ru_RU.UTF-8): п╦п╫я┌п╣я─я└п╣п╧я│ п╨ п╠п╦п╠п╩п╦п╬я┌п╣п╨п╣ GMP п╢п╩я▐ Python
Name: %packagename
Version: %version
Release: %release
Source: http://prdownloads.sourceforge.net/gmpy/%modulename-sources-10.zip
License: Python
Group: Development/Python
Prefix: %_prefix
Url: http://gmpy.sourceforge.net
# Automatically added by buildreq on Tue Apr 19 2005
BuildRequires: libgmp-devel python-dev python-modules-encodings unzip
BuildRequires: unzip
%description
The General Multiprecision PYthon project (GMPY) focuses on Python-usable
modules providing multiprecision arithmetic functionality to Python
programmers. The project mission includes both C and C++ Python-modules
(for speed) and pure Python modules (for flexibility and convenience).
This module is built for python %__python_version
%prep
%setup -q -n %modulename
%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" %__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 можно просмотреть здесь