Группа :: Разработка/Python
Пакет: python-module-Reportlab
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# $Id: pyserial.spec 61 2004-02-23 19:05:36Z cray $
# -*- coding: koi8-r -*-
%define version 2.0
%define release alt1
%define source_version 2_0
%setup_python_module Reportlab
Summary: The Reportlab Toolkit
Name: %{packagename}
Version: %{version}
Release: %{release}
Source0: ReportLab_%{source_version}.tgz
License: BSD license (see license.txt for details), Copyright (c) 2000-2003, ReportLab Inc.
Group: Development/Python
Prefix: %{_prefix}
Vendor: Robinson, Watters, Becker, Precedo and many more... <info at reportlab.com>
Url: http://www.reportlab.com/
Requires: python >= 2.4
%description
The ReportLab Toolkit.
An Open Source Python library for generating PDFs and graphics.
%prep
%setup -q -n reportlab_%source_version/reportlab
%add_python_req_skip rlextra
%build
env CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build
%install
%__python setup.py install --root=$RPM_BUILD_ROOT --optimize=2 --record=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc license.txt
%doc docs
%changelog
…
Полный changelog можно просмотреть здесь
# -*- coding: koi8-r -*-
%define version 2.0
%define release alt1
%define source_version 2_0
%setup_python_module Reportlab
Summary: The Reportlab Toolkit
Name: %{packagename}
Version: %{version}
Release: %{release}
Source0: ReportLab_%{source_version}.tgz
License: BSD license (see license.txt for details), Copyright (c) 2000-2003, ReportLab Inc.
Group: Development/Python
Prefix: %{_prefix}
Vendor: Robinson, Watters, Becker, Precedo and many more... <info at reportlab.com>
Url: http://www.reportlab.com/
Requires: python >= 2.4
%description
The ReportLab Toolkit.
An Open Source Python library for generating PDFs and graphics.
%prep
%setup -q -n reportlab_%source_version/reportlab
%add_python_req_skip rlextra
%build
env CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build
%install
%__python setup.py install --root=$RPM_BUILD_ROOT --optimize=2 --record=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc license.txt
%doc docs
%changelog
…
Полный changelog можно просмотреть здесь