Author: ankry Date: Sat Oct 21 22:18:16 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - new, separated from perl-Template-Toolkit
---- Files affected: SPECS: perl-Template-DBI.spec (NONE -> 1.1) (NEW), perl-Template-XML.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Template-DBI.spec diff -u /dev/null SPECS/perl-Template-DBI.spec:1.1 --- /dev/null Sun Oct 22 00:18:16 2006 +++ SPECS/perl-Template-DBI.spec Sun Oct 22 00:18:11 2006 @@ -0,0 +1,82 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without autodeps # don't BR packages needed only for resolving deps +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Template +%define pnam DBI +Summary: DBI plugin for Template Toolkit - database access +Summary(pl): Wtyczka DBI dla pakietu Template Toolkit - dostęp do baz danych +Name: perl-Template-DBI +Version: 2.64 +Release: 1 +# same as perl +License: GPL v1+ or or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 424d2f17b8b2b3329e758044210920cb +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: perl(File::Spec) >= 0.6 +BuildRequires: perl-AppConfig >= 1.52 +%if %{with autodeps} || %{with tests} +BuildRequires: perl-DBI >= 1.14 +BuildRequires: perl-Pod-POM >= 0.1 +BuildRequires: perl-Template-Toolkit >= 2.15 +BuildRequires: perl-Text-Autoformat >= 1.03 +%endif +BuildRequires: rpm-perlprov >= 4.1-13 +Requires: perl-Template-Toolkit >= 2.15 +Obsoletes: perl-Template-Toolkit-Plugin-DBI +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +DBI plugin for Template Toolkit - interface to the DBI module. It +provides an interface to the Perl DBI/DBD modules, allowing you to +integrate SQL queries into your template documents. It also provides +an interface via the Tie::DBI module (if installed on your system) so +that you can access database records without having to embed any SQL +in your templates. + +%description -l pl +Wtyczka DBI dla pakietu Template Toolkit - będąca interfejsem do +modułu DBI. Daje dostęp do modułów Perla DBI/DBD, pozwalając na +integrowanie zapytań SQL do dokumentów szablonów. Udostępnia także +interfejs poprzez moduł Tie::DBI (jeśli jest zainstalowany), co +pozwala na dostęp do rekordów bazy danych bez potrzeby osadzania SQL-a +w szablonach. + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +echo "n" | %{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%{perl_vendorlib}/Template/Plugin/DBI.pm +%{_mandir}/man3/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/10/21 22:18:11 ankry +- new, separated from perl-Template-Toolkit ================================================================ Index: SPECS/perl-Template-XML.spec diff -u /dev/null SPECS/perl-Template-XML.spec:1.1 --- /dev/null Sun Oct 22 00:18:16 2006 +++ SPECS/perl-Template-XML.spec Sun Oct 22 00:18:11 2006 @@ -0,0 +1,196 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without autodeps # don't BR packages needed only for resolving deps +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Template +%define pnam XML +Summary: Fast, powerful and easily extensible template processing system +Summary(pl): Rozbudowany i wydajny system szablonów +Name: perl-Template-XML +Version: 2.16 +Release: 0.1 +# same as perl +License: GPL v1+ or or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: f18d8d6d2ce4920f4d5af1a3474285b6 +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: perl(File::Spec) >= 0.6 +BuildRequires: perl-AppConfig >= 1.52 +%if %{with autodeps} || %{with tests} +BuildRequires: perl-Pod-POM >= 0.1 +BuildRequires: perl-Text-Autoformat >= 1.03 +BuildRequires: perl-Template-Toolkit >= 2.15 +BuildRequires: perl-XML-Parser >= 2.23 +BuildRequires: perl-XML-RSS >= 0.9 +BuildRequires: perl-XML-Simple +BuildRequires: perl-XML-XPath >= 1.00 +BuildRequires: perl-XML-DOM >= 1.27 +%endif +BuildRequires: rpm-perlprov >= 4.1-13 +Requires: perl-Template-Toolkit >= 2.15 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +#TODO + +%description -l pl +#TODO + +%package -n Template-Plugin-XML-DOM +Summary: XML::DOM plugin for Template Toolkit +Summary(pl): Wtyczka XML::DOM dla pakietu Template Toolkit +Group: Development/Languages/Perl +Requires: %{name} = %{version} +Obsoletes: perl-Template-Toolkit-Plugin-XML-DOM + +%description -n Template-Plugin-XML-DOM +XML::DOM plugin for Template Toolkit - interface to the XML::DOM +module. + +%description -n Template-Plugin-XML-DOM -l pl +Wtyczka XML::DOM dla pakietu Template Toolkit - interfejs do modułu +XML::DOM. + +%package -n Template-Plugin-XML-RSS +Summary: XML::RSS plugin for Template Toolkit - parsing RSS files +Summary(pl): Wtyczka XML::RSS dla pakietu Template Toolkit - analiza plików RSS +Group: Development/Languages/Perl +Requires: %{name} = %{version} +Obsoletes: perl-Template-Toolkit-Plugin-XML-RSS + +%description -n Template-Plugin-XML-RSS +XML::RSS plugin for Template Toolkit - interface to the XML::RSS +module. It creates an XML::RSS object, which is then used to parse +specified RSS file. An RSS (Rich Site Summary) file is typically +used to store short news 'headlines' describing different links +within a site. + +%description -n Template-Plugin-XML-RSS -l pl +Wtyczka XML::RSS dla pakietu Template Toolkit - interfejs do modułu +XML::RSS. Tworzy on obiekt XML::RSS, który można użyć do analizy +podanego pliku RSS. Pliki RSS (Rich Site Summary - obfite streszczenie +witryny) zwykle są używane do zapisywania krótkich nowinek opisujących +odnośniki na witrynie. + +%package -n Template-Plugin-XML-Simple +Summary: XML::Simple plugin for Template Toolkit +Summary(pl): Wtyczka XML::Simple dla pakietu Template Toolkit +Group: Development/Languages/Perl +Requires: %{name} = %{version} +Obsoletes: perl-Template-Toolkit-Plugin-XML-Simple + +%description -n Template-Plugin-XML-Simple +XML::Simple plugin for Template Toolkit - interface to the XML::Simple +module. + +%description -n Template-Plugin-XML-Simple -l pl +Wtyczka XML::Simple dla pakietu Template Toolkit - interfejs do modułu +XML::Simple. + +%package -n Template-Plugin-XML-Style +Summary: XML::Style plugin for Template Toolkit - simple stylesheet-like transformations +Summary(pl): Wtyczka XML::Style dla pakietu Template Tookit - proste przekształcenia styli +Group: Development/Languages/Perl +Requires: %{name} = %{version} +Obsoletes: perl-Template-Toolkit-Plugin-XML-Style + +%description -n Template-Plugin-XML-Style +XML::Style plugin for Template Toolkit. It defines a filter for +performing simple stylesheet based transformations of XML text. + +%description -n Template-Plugin-XML-Style -l pl +Wtyczka XML::Style dla pakietu Template Toolkit. Definiuje ona filtr +do wykonywania opartych na arkuszu styli przekształceń tekstu XML. + +%package -n Template-Plugin-XML-XPath +Summary: XML::XPath plugin for Template Toolkit +Summary(pl): Wtyczka XML::XPath dla pakietu Template Toolkit +Group: Development/Languages/Perl +Requires: %{name} = %{version} +Obsoletes: perl-Template-Toolkit-Plugin-XML-XPath + +%description -n Template-Plugin-XML-XPath +XML::XPath plugin for Template Toolkit - interface to the XML::XPath +module. All methods implemented by the XML::XPath modules are +available. In addition, the XML::XPath::Node::Element module +implements present($view) and content($view) methods method for +seamless integration with Template Toolkit VIEWs. The +XML::XPath::Node::Text module is also adorned with a present($view) +method which presents itself via the view using the 'text' template. + +%description -n Template-Plugin-XML-XPath -l pl +Wtyczka XML::XPath dla pakietu Template Toolkit - będąca interfejsem +do modułu XML::XPath. Dostępne są wszystkie metody zaimplementowane w +modułach XML::XPath, a ponadto moduł XML::XPath::Node::Element zawiera +implementacje metod present($view) i content($view) do spójnej +integracji z widokami Toolkitu. Moduł XML::XPath::Node::Text jest +dodatkowo ulepszony o metodę present($view) prezentującą się przez +widok przy użyciu szablonu 'text'. + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%dir %{perl_vendorlib}/Template/Plugin/XML +%{perl_vendorlib}/Template/Plugin/XML.pm +%dir %{perl_vendorlib}/Template/Plugin/XML +%{perl_vendorlib}/Template/Plugin/XML/[FLV]*.pm +%{_mandir}/man3/Template::XML* +%{_mandir}/man3/Template::Plugin::XML.* +%{_mandir}/man3/Template::Plugin::XML::[FLV]* + +%files -n Template-Plugin-XML-DOM +%defattr(644,root,root,755) +%{perl_vendorlib}/Template/Plugin/XML/DOM.pm +%{_mandir}/man3/Template::Plugin::XML::DOM* + +%files -n Template-Plugin-XML-RSS +%defattr(644,root,root,755) +%{perl_vendorlib}/Template/Plugin/XML/RSS.pm +%{_mandir}/man3/Template::Plugin::XML::RSS* + +%files -n Template-Plugin-XML-Simple +%defattr(644,root,root,755) +%{perl_vendorlib}/Template/Plugin/XML/Simple.pm +%{_mandir}/man3/Template::Plugin::XML::Simple* + +%files -n Template-Plugin-XML-Style +%defattr(644,root,root,755) +%{perl_vendorlib}/Template/Plugin/XML/Style.pm +%{_mandir}/man3/Template::Plugin::XML::Style* + +%files -n Template-Plugin-XML-XPath +%defattr(644,root,root,755) +%{perl_vendorlib}/Template/Plugin/XML/XPath.pm +%{_mandir}/man3/Template::Plugin::XML::XPath* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/10/21 22:18:11 ankry +- new, separated from perl-Template-Toolkit ================================================================ _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit