SampleSpecs/pythonmodule
Материал из ALT Linux Wiki
< SampleSpecs(Различия между версиями)
(ns@ advice) |
(often-used buildreq) |
||
Строка 17: | Строка 17: | ||
Source: %name-%version.tar | Source: %name-%version.tar | ||
+ | |||
+ | #BuildPreReq: %py_dependencies setuptools | ||
%description | %description |
Текущая версия на 05:47, 6 апреля 2009
%define modulename foo Name: python-module-%modulename Version: 1.0 Release: alt1 %setup_python_module %modulename Summary: ... License: GPL Group: Development/Python Url: http://... Packager: BuildArch: noarch Source: %name-%version.tar #BuildPreReq: %py_dependencies setuptools %description ... %prep %setup %build %python_build %install %python_install %files %python_sitelibdir/%modulename/ %python_sitelibdir/*.egg-info