[packages/php-symfony2-BrowserKit] initial add. version 2.1.4

glen glen at pld-linux.org
Wed Dec 19 12:29:43 CET 2012


commit 533df723d7d5a2214541c6ed0493ac0089938ed2
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Dec 19 13:29:36 2012 +0200

    initial add. version 2.1.4
    
    created with pear make-rpm-spec and heavily cleaned up

 php-symfony2-BrowserKit.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
---
diff --git a/php-symfony2-BrowserKit.spec b/php-symfony2-BrowserKit.spec
new file mode 100644
index 0000000..c60827c
--- /dev/null
+++ b/php-symfony2-BrowserKit.spec
@@ -0,0 +1,57 @@
+%define		status		stable
+%define		pearname	BrowserKit
+%define		php_min_version 5.3.3
+%include	/usr/lib/rpm/macros.php
+Summary:	%{pearname} - Symfony2 BrowserKit Component
+Name:		php-symfony2-BrowserKit
+Version:	2.1.4
+Release:	1
+License:	MIT
+Group:		Development/Languages/PHP
+Source0:	http://pear.symfony.com/get/%{pearname}-%{version}.tgz
+# Source0-md5:	27bfdaab2418cac0934bd69b002bce72
+URL:		http://pear.symfony.com/package/BrowserKit/
+BuildRequires:	php-channel(pear.symfony.com)
+BuildRequires:	php-pear-PEAR >= 1:1.4.0
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+BuildRequires:	rpmbuild(macros) >= 1.610
+Requires:	php(core) >= %{php_min_version}
+Requires:	php-channel(pear.symfony.com)
+Requires:	php-pear >= 4:1.3.10
+Requires:	php-symfony2-DomCrawler
+Suggests:	php-symfony2-Process
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Symfony2 BrowserKit Component
+
+In PEAR status of this package is: %{status}.
+
+%prep
+%pear_package_setup
+
+# no packaging of tests
+rm -r .%{php_pear_dir}/Symfony/Component/%{pearname}/Tests
+rm .%{php_pear_dir}/Symfony/Component/%{pearname}/phpunit.xml.dist
+
+# fixups
+mv .%{php_pear_dir}/Symfony/Component/%{pearname}/CHANGELOG.md .
+rm .%{php_pear_dir}/Symfony/Component/%{pearname}/.gitattributes
+rm .%{php_pear_dir}/Symfony/Component/%{pearname}/.gitignore
+mv docs/%{pearname}/Symfony/Component/%{pearname}/* .
+
+%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.md LICENSE README.md install.log
+%{php_pear_dir}/.registry/.channel.*/*.reg
+%dir %{php_pear_dir}/Symfony/Component/BrowserKit
+%{php_pear_dir}/Symfony/Component/BrowserKit/*.php
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-symfony2-BrowserKit.git/commitdiff/533df723d7d5a2214541c6ed0493ac0089938ed2



More information about the pld-cvs-commit mailing list