SampleSpecs/pythonmodule: различия между версиями

Материал из ALT Linux Wiki
(пхиксоред)
Нет описания правки
Строка 9: Строка 9:
License: GPL
License: GPL
Group: Development/Python
Group: Development/Python
Url: http://...
Packager:
BuildArch: noarch


Source: %name-%version.tar
Source: %name-%version.tar
Url: http://...


%setup_python_module %modulename
%setup_python_module %modulename

Версия от 16:36, 30 марта 2009

%define modulename foo

Name: python-module-%modulename
Version: 1.0
Release: alt1

Summary: ...
License: GPL
Group: Development/Python

Url: http://...
Packager:
BuildArch: noarch

Source: %name-%version.tar

%setup_python_module %modulename

%description
...

%prep
%setup

%build
%python_build
               
%install
%python_install

%files
%python_sitelibdir/%modulename/
%python_sitelibdir/*.egg-info