Репозиторий Sisyphus
Последнее обновление: 22 мая 2019 | Пакетов: 17693 | Посещений: 13576050
en ru br
Репозитории ALT
S:1.5.0-alt1.1
5.1: 1.4.2-alt1.1
4.1: 1.4.2-alt1.1
4.0: 1.4.2-alt1
www.altlinux.org/Changes

Группа :: Разработка/Python
Пакет: python-module-HTMLTemplate

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define modulename HTMLTemplate
%define packagename python-module-%modulename
%define version 1.5.0
%define release alt1

%setup_python_module HTMLTemplate

Name: %packagename
Version: %version
Release: %release.1

Summary: HTMLTemplate python module
License: MIT
Group: Development/Python
URL: http://sourceforge.net/projects/py-templates/
Packager: Python Development Team <python at packages.altlinux.org>

# https://py-templates.svn.sourceforge.net/svnroot/py-templates/htmltemplate/trunk/

Source0: %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 -n %modulename-%version

%build
%python_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

# There is a file in the package with a name starting with <tt>._</tt>,

# the file name pattern used by Mac OS X to store resource forks in non-native
# file systems. Such files are generally useless in packages and were usually
# accidentally included by copying complete directories from the source tarball.
find $RPM_BUILD_ROOT -name '._*' -size 1 -print0 | xargs -0 grep -lZ 'Mac OS X' -- | xargs -0 rm -f
# for ones installed as %%doc
find . -name '._*' -size 1 -print0 | xargs -0 grep -lZ 'Mac OS X' -- | xargs -0 rm -f


%files -f INSTALLED_FILES
%doc README doc sample

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin