Группа :: Система/Библиотеки
Пакет: htmltmplpro
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_disable static
#def_enable debug
%define libname libhtmltmplpro
Name: htmltmplpro
Version: 0.9503
Release: alt0.M51.1
Summary: HTML::Template compatible HTML template library
License: GPL2+ or Artistic
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 libpcre-devel doxygen graphviz
%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 можно просмотреть здесь
#def_enable debug
%define libname libhtmltmplpro
Name: htmltmplpro
Version: 0.9503
Release: alt0.M51.1
Summary: HTML::Template compatible HTML template library
License: GPL2+ or Artistic
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 libpcre-devel doxygen graphviz
%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 можно просмотреть здесь