]> git.pld-linux.org Git - packages/PHPTAL.git/commitdiff
- updated to 1.0.10, requires nothing else than PHP5 (according to README)
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 30 Dec 2005 13:25:08 +0000 (13:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- using PEAR build system
- NB! this module and php-Algo_map, php-GetText, php-Types are NOT required by current mediawiki. remove this and them from ftp?

Changed files:
    PHPTAL.spec -> 1.6

PHPTAL.spec

index 83669d9c0c4251ac9269de262b97b1a3f8a1a9ee..9eeff7921faecb344c6c8a1593cb742a92ce9e9d 100644 (file)
@@ -1,21 +1,20 @@
 %include       /usr/lib/rpm/macros.php
-%define                _snap           dev1
+%define                _class          PHPTAL
+%define                _status         beta
+%define                _pearname       %{_class}
 
 Summary:       PHPTAL is an implementation of Zope Page Templates (ZPT) for PHP
 Summary(pl):   PHPTAL jest implementacj± Zope Page Templates (ZPT) w PHP
 Name:          PHPTAL
-Version:       1.0.0
-Release:       0.%{_snap}.6
-License:       PHP 2.02
+Version:       1.0.10
+Release:       0.2
+License:       LGPL
 Group:         Development/Languages/PHP
-Source0:       http://dl.sourceforge.net/phptal/%{name}-%{version}%{_snap}.tar.gz
-# Source0-md5: 151f4bb4799d8c8fe6646a25f6069897
-URL:           http://phptal.sourceforge.net/
-BuildRequires: rpm-php-pearprov >= 4.0.2-98
-Requires:      php-GetText
-Requires:      php-Types
-Requires:      php-Algo_map
-Requires:      php >= 3:5.0.0
+Source0:       http://phptal.motion-twin.com/files/%{name}-%{version}.tar.gz
+# Source0-md5: eddd23d8c4165bdea9317205082bdf08
+URL:           http://phptal.motion-twin.com/
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+Requires:      php-common >= 3:5.0.0
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -26,17 +25,20 @@ PHPTAL is an implementation of Zope Page Templates (ZPT) for PHP.
 PHPTAL jest implementacj± Zope Page Templates (ZPT) w PHP.
 
 %prep
-%setup -q -c
+%pear_package_setup
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{name}
-
-cp -rf %{name}-%{version}%{_snap}/* $RPM_BUILD_ROOT%{php_pear_dir}/%{name}
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{php_pear_dir}/%{name}
+%doc install.log
+%doc docs/%{_pearname}/README
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/%{_class}
+%{php_pear_dir}/%{_class}.php
This page took 0.113613 seconds and 4 git commands to generate.