SampleSpecs/pythonmodule: различия между версиями
(протухло) |
(пхиксоред) |
||
Строка 1: | Строка 1: | ||
<pre> | |||
%define modulename foo | |||
<pre> | |||
%define | |||
% | Name: python-module-%modulename | ||
Version: 1.0 | |||
Release: alt1 | |||
Summary: ... | Summary: ... | ||
License: GPL | License: GPL | ||
Group: Development/Python | Group: Development/Python | ||
Source: %name-%version.tar | |||
Url: http://... | Url: http://... | ||
%setup_python_module %modulename | |||
%description | %description | ||
Строка 23: | Строка 23: | ||
%build | %build | ||
%python_build | |||
%install | %install | ||
%python_install | |||
%files - | %files | ||
%python_sitelibdir/%modulename/ | |||
%python_sitelibdir/*.egg-info</pre> | |||
{{Category navigation|title=SampleSpecs|category=SampleSpecs|sortkey={{SUBPAGENAME}}}} | {{Category navigation|title=SampleSpecs|category=SampleSpecs|sortkey={{SUBPAGENAME}}}} |
Версия от 16:20, 30 марта 2009
%define modulename foo Name: python-module-%modulename Version: 1.0 Release: alt1 Summary: ... License: GPL Group: Development/Python Source: %name-%version.tar Url: http://... %setup_python_module %modulename %description ... %prep %setup %build %python_build %install %python_install %files %python_sitelibdir/%modulename/ %python_sitelibdir/*.egg-info