]> git.pld-linux.org Git - packages/php-symfony2-PropertyAccess.git/commitdiff
new, version 2.3.4 auto/th/php-symfony2-PropertyAccess-2.3.4-1
authorElan Ruusamäe <glen@delfi.ee>
Mon, 23 Sep 2013 20:05:51 +0000 (23:05 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 23 Sep 2013 20:40:02 +0000 (23:40 +0300)
php-symfony2-PropertyAccess.spec [new file with mode: 0644]

diff --git a/php-symfony2-PropertyAccess.spec b/php-symfony2-PropertyAccess.spec
new file mode 100644 (file)
index 0000000..a57a5bb
--- /dev/null
@@ -0,0 +1,49 @@
+%define                pearname        PropertyAccess
+%define                php_min_version 5.3.3
+%include       /usr/lib/rpm/macros.php
+Summary:       Symfony2 PropertyAccess Component
+Name:          php-symfony2-PropertyAccess
+Version:       2.3.4
+Release:       1
+License:       MIT
+Group:         Development/Languages/PHP
+Source0:       http://pear.symfony.com/get/%{pearname}-%{version}.tgz
+# Source0-md5: a5841bc19b17f74afa7084dbcb12e833
+URL:           http://symfony.com/doc/current/components/property_access/introduction.html
+BuildRequires: php-channel(pear.symfony.com)
+BuildRequires: php-pear-PEAR
+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
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Provides function to read and write from/to an object or array using a
+simple string notation.
+
+%prep
+%pear_package_setup
+
+# no packaging of tests
+mv .%{php_pear_dir}/Symfony/Component/%{pearname}/Tests .
+mv .%{php_pear_dir}/Symfony/Component/%{pearname}/phpunit.xml.dist .
+
+# fixups
+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
+%{php_pear_dir}/Symfony/Component/PropertyAccess
This page took 0.082149 seconds and 4 git commands to generate.