[packages/php-twig-Twig] new, version 1.13.2

glen glen at pld-linux.org
Sat Sep 14 01:58:48 CEST 2013


commit fa62d6b48a0adba1fbdf8b5bbf0dbf852a3b4a63
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Sep 14 02:58:02 2013 +0300

    new, version 1.13.2
    
    created with pear make-rpm-spec

 php-twig-Twig.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
---
diff --git a/php-twig-Twig.spec b/php-twig-Twig.spec
new file mode 100644
index 0000000..72ed494
--- /dev/null
+++ b/php-twig-Twig.spec
@@ -0,0 +1,50 @@
+%define		status		stable
+%define		pearname	Twig
+%include	/usr/lib/rpm/macros.php
+Summary:	%{pearname} - Twig is a PHP template engine
+Name:		php-twig-Twig
+Version:	1.13.2
+Release:	1
+License:	BSD Style
+Group:		Development/Languages/PHP
+Source0:	http://pear.twig-project.org/get/%{pearname}-%{version}.tgz
+# Source0-md5:	2832f6b1b6834f3a08e5a082e61297a9
+URL:		http://pear.twig-project.org/package/Twig/
+BuildRequires:	php-channel(pear.twig-project.org)
+BuildRequires:	php-packagexml2cl
+BuildRequires:	php-pear-PEAR
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+BuildRequires:	rpmbuild(macros) >= 1.610
+Requires:	php-channel(pear.twig-project.org)
+Requires:	php-pear
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Twig is a template language for PHP.
+
+Twig uses a syntax similar to the Django and Jinja template languages
+which inspired the Twig runtime environment.
+
+In PEAR status of this package is: %{status}.
+
+%prep
+%pear_package_setup
+
+%build
+packagexml2cl package.xml > ChangeLog
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog install.log
+%doc docs/Twig/*
+%{php_pear_dir}/.registry/.channel.*/*.reg
+%{php_pear_dir}/Twig
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-twig-Twig.git/commitdiff/fa62d6b48a0adba1fbdf8b5bbf0dbf852a3b4a63



More information about the pld-cvs-commit mailing list