[packages/php-symfony2-Yaml: 1/5] - initial from pear make-rpm-spec

glen glen at pld-linux.org
Wed Oct 17 21:13:30 CEST 2012


commit 14e70fac45695d696ae8934ae71bf3d7da85bf28
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Oct 20 06:07:17 2010 +0000

    - initial from pear make-rpm-spec
    
    Changed files:
        php-symfony-YAML.spec -> 1.1

 php-symfony-YAML.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
---
diff --git a/php-symfony-YAML.spec b/php-symfony-YAML.spec
new file mode 100644
index 0000000..b4f42d5
--- /dev/null
+++ b/php-symfony-YAML.spec
@@ -0,0 +1,49 @@
+%include	/usr/lib/rpm/macros.php
+%define		status		stable
+%define		pearname	YAML
+Summary:	%{pearname} - The Symfony YAML Component
+Name:		php-symfony-YAML
+Version:	1.0.3
+Release:	1
+License:	MIT license
+Group:		Development/Languages/PHP
+Source0:	http://pear.symfony-project.com/get/%{pearname}-%{version}.tgz
+# Source0-md5:	fc318d227896fcb3df95229cd9dd8479
+URL:		http://pear.symfony-project.com/package/YAML/
+BuildRequires:	php-channel(pear.symfony-project.com)
+BuildRequires:	php-packagexml2cl
+BuildRequires:	php-pear-PEAR
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+BuildRequires:	rpmbuild(macros) >= 1.580
+Requires:	php-channel(pear.symfony-project.com)
+Requires:	php-pear
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Symfony YAML Component.
+
+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/YAML/*
+%{php_pear_dir}/.registry/.channel.*/*.reg
+# XXX: who owns
+%dir %{php_pear_dir}/SymfonyComponents
+%{php_pear_dir}/SymfonyComponents/YAML
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-symfony2-Yaml.git/commitdiff/5aff7033c94c31ab6882d92d7b9e0f5b64f4726c



More information about the pld-cvs-commit mailing list