Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37514691
en ru br
Репозитории ALT
S:0.9524-alt1
5.1: 0.9503-alt0.M51.1
4.1: 0.93-alt0.M41.1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: htmltmplpro

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

#set_automake_version 1.11

%def_disable static
#def_enable debug

%define libname libhtmltmplpro
Name: htmltmplpro
Version: 0.9524
Release: alt1

Summary: HTML::Template compatible HTML template library
License: LGPLv2+ or Artistic-2.0
Group: System/Libraries
Url: http://sf.net/projects/html-tmpl-pro
Packager: Igor Vlasenko <viy at altlinux.org>

Source: htmltmplpro-%version.tar.gz

BuildRequires: gcc doxygen graphviz
BuildRequires: libpcre2-devel

%package -n %libname
Summary: HTML::Template compatible HTML template shared library
Summary(ru_RU.UTF-8): п═п╟п╥п╢п╣п╩я▐п╣п╪п╟я▐ п╠п╦п╠п╩п╦п╬я┌п╣п╨п╟ п╢п╩я▐ я─п╟п╠п╬я┌я▀ я│ я┬п╟п╠п╩п╬п╫п╟п╪п╦ HTML::Template
Group: System/Libraries
Provides: %name = %version
Obsoletes: %name < %version

%package -n lib%name-devel
Summary: HTML::Template compatible HTML template library development environment
Group: Development/C
Provides: %name-devel = %version
Obsoletes: %name-devel < %version
Requires: %libname = %version-%release

%package -n lib%name-devel-static
Summary: HTML::Template compatible HTML template static library
Summary(ru_RU.UTF-8): п▓п╟я─п╦п╟п╫я┌ п╠п╦п╠п╩п╦п╬я┌п╣п╨п╦ htmltemplpro п╢п╩я▐ я│я┌п╟я┌п╦я┤п╣я│п╨п╬п╧ п╨п╬п╪п©п╬п╫п╬п╡п╨п╦
Group: Development/C
Provides: %name-devel-static = %version
Obsoletes: %name-devel-static < %version
Requires: lib%name-devel = %version-%release

%package -n %name-testsuite
Summary: HTML template library common testsuite
Group: Development/C
Requires: %libname = %version-%release

%description
The HTML::Template::Pro library is a portable template engine for templates
that use syntax of known perl modules HTML::Template, HTML::Template::Expr
and HTML::Template::Pro.

%description -n %libname
The HTML::Template::Pro library is a portable template engine for templates
that use syntax of known perl modules HTML::Template, HTML::Template::Expr
and HTML::Template::Pro.

This package contains shared libraries.

%description -n lib%name-devel
The HTML::Template::Pro library is a portable template engine for templates
that use syntax of known perl modules HTML::Template, HTML::Template::Expr
and HTML::Template::Pro.

This package contains development libraries, include files and development
documentation required for developing applications which use perl-style
regular expressions.

%description -n lib%name-devel-static
The HTML::Template::Pro library is a portable template engine for templates
that use syntax of known perl modules HTML::Template, HTML::Template::Expr
and HTML::Template::Pro.

This package contains static development libraries required for developing
statically linked applications which use perl-style regular expressions.

%description -n %name-testsuite
The HTML::Template::Pro library is a portable template engine for templates
that use syntax of known perl modules HTML::Template, HTML::Template::Expr
and HTML::Template::Pro.

This package contains library's test suite to test its bindings.

%prep
%setup -q

%build
autoreconf -fisv
%define docdir %_docdir/%name-%version
%configure --includedir=%_includedir/%name \
--docdir=%docdir \
%{subst_enable static} \
#
%make_build
#%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make_build check}}}

%install
%make_install install DESTDIR=%buildroot

# install testsuite

mkdir -p %buildroot%_datadir/%name/
cp -a tests/templates-Pro %buildroot%_datadir/%name/

%check
make check

%files -n %libname
/%_libdir/lib*.so.*
#%dir %docdir
#%docdir/[ACLN]*

%files -n lib%name-devel
%doc doc/html
%doc API README
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*.pc

%files testsuite
%_datadir/%name

%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif

%changelog

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

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