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

diff --git a/php-symfony2-Stopwatch.spec b/php-symfony2-Stopwatch.spec
new file mode 100644 (file)
index 0000000..556539f
--- /dev/null
@@ -0,0 +1,49 @@
+%define                pearname        Stopwatch
+%define                php_min_version 5.3.3
+%include       /usr/lib/rpm/macros.php
+Summary:       Symfony2 Stopwatch Component
+Name:          php-symfony2-Stopwatch
+Version:       2.3.4
+Release:       1
+License:       MIT
+Group:         Development/Languages/PHP
+Source0:       http://pear.symfony.com/get/%{pearname}-%{version}.tgz
+# Source0-md5: f0b1753dfd9c3af1b51817abec8ebfdb
+URL:           http://pear.symfony.com/package/Stopwatch/
+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
+Stopwatch component provides a way to profile code.
+
+%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 LICENSE README.md install.log
+%{php_pear_dir}/.registry/.channel.*/*.reg
+%dir %{php_pear_dir}/Symfony/Component/Stopwatch
+%{php_pear_dir}/Symfony/Component/Stopwatch/*.php
This page took 0.079244 seconds and 4 git commands to generate.