Репозиторий Sisyphus
Последнее обновление: 14 декабря 2018 | Пакетов: 18664 | Посещений: 12703253
en ru br
Репозитории ALT
5.1: 0.10.5-alt1
4.1: 0.10.4-alt3.1
4.0: 0.10.4-alt2
3.0: 0.9.14-alt1

Другие репозитории

Группа :: Разработка/Прочее
Пакет: clearsilver

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

Name: clearsilver
Version: 0.10.4
Release: alt3.1

Summary: Neotonic ClearSilver
License: Open Source - Neotonic ClearSilver License (Apache 1.1 based)
Group: Development/Other
Url: http://www.clearsilver.net/
Packager: Ivan Fedorov <ns at altlinux.ru>

Source: http://www.clearsilver.net/downloads/%name.tar

BuildPreReq: zlib-devel
BuildPreReq: python-devel >= %__python_version

%def_disable static
%set_verify_elf_method strict
%define _unpackaged_files_terminate_build 1

# Automatically added by buildreq on Sun Oct 17 2004

BuildRequires: python-base python-modules-encodings zlib-devel

ClearSilver is a fast, powerful, and language-neutral HTML template system.
In both static content sites and dynamic HTML applications, it provides a
separation between presentation code and application logic which makes
working with your project easier.

Because it's written as a C-library, and exported to scripting languages
like Python and Perl via modules, it is extremely fast compared to template
systems written in a script language.

%if_enabled static
%package -n lib%name-devel-static
Summary: Neotonic ClearSilver development files
Group: Development/Python

%description -n lib%name-devel-static
This package contains Neotonic ClearSilver development files.

%package python
Summary: Neotonic ClearSilver Python Module
Group: Development/Python
#Requires: %name = %version-%release
Provides: python%__python_version(neo_cgi)
Provides: python%__python_version(neo_cs)
Provides: python%__python_version(neo_util)

%description python
The clearsilver-python package provides a python interface to the
clearsilver CGI kit and templating system.

%setup -q -n %name
sed -i 's/LIBRARIES = inserted + LIBRARIES/LIBRARIES = LIBRARIES + inserted/' \

#__subst 's,python_versions=".*",python_versions="%__python_version",' configure.in
%configure \
--disable-wdb \
--disable-apache \
--disable-ruby \
--disable-perl \
--disable-java \
--disable-csharp \
--enable-gettext \
--enable-python \
--with-python=%__python \
%{subst_enable static}

%add_optflags %optflags_shared
%make_build OPT='%optflags'
#__subst "s,/bin/env python,%_bindir/python%__python_version," scripts/document.py

mkdir -p %buildroot{%python_sitelibdir,%_docdir/%name-%version}
%makeinstall PYTHON_SITE=%buildroot%python_sitelibdir install

%if_disabled static
rm -rf %buildroot{%_libdir/*.a,%_includedir/*,%_man3dir/*}


%if_enabled static
%files -n lib%name-devel-static

%files python


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

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