Группа :: Разработка/Python
Пакет: python-module-HTMLTemplate
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define modulename HTMLTemplate
%define packagename python-module-%modulename
%define version 1.4.2
%define release alt1
%setup_python_module HTMLTemplate
Name: %packagename
Version: %version
Release: %release
Summary: HTMLTemplate python module
License: MIT
Group: Development/Python
URL: http://freespace.virgin.net/hamish.sanderson/htmltemplate.html
Packager: L.A. Kostis <lakostis at altlinux.ru>
Source0: http://cheeseshop.python.org/packages/source/H/%modulename/%modulename-%version.tar.gz
BuildArch: noarch
%description
HTMLTemplate converts HTML/XHTML templates into simple Python object models
that can be manipulated through callback functions in your scripts. Fast,
powerful and easy to use.
%prep
%setup -q -n %modulename-%version
%build
%__python setup.py build
%install
mkdir -p %buildroot%python_sitelibdir
%__python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES
find %buildroot%python_sitelibdir/%name -type d | \
sed -e "s,^%buildroot,%dir ,g" >> INSTALLED_FILES
%files -f INSTALLED_FILES
%doc README.txt Documentation Examples
%changelog
…
Полный changelog можно просмотреть здесь
%define packagename python-module-%modulename
%define version 1.4.2
%define release alt1
%setup_python_module HTMLTemplate
Name: %packagename
Version: %version
Release: %release
Summary: HTMLTemplate python module
License: MIT
Group: Development/Python
URL: http://freespace.virgin.net/hamish.sanderson/htmltemplate.html
Packager: L.A. Kostis <lakostis at altlinux.ru>
Source0: http://cheeseshop.python.org/packages/source/H/%modulename/%modulename-%version.tar.gz
BuildArch: noarch
%description
HTMLTemplate converts HTML/XHTML templates into simple Python object models
that can be manipulated through callback functions in your scripts. Fast,
powerful and easy to use.
%prep
%setup -q -n %modulename-%version
%build
%__python setup.py build
%install
mkdir -p %buildroot%python_sitelibdir
%__python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES
find %buildroot%python_sitelibdir/%name -type d | \
sed -e "s,^%buildroot,%dir ,g" >> INSTALLED_FILES
%files -f INSTALLED_FILES
%doc README.txt Documentation Examples
%changelog
…
Полный changelog можно просмотреть здесь