From: Elan Ruusamäe Date: Mon, 23 Sep 2013 17:53:50 +0000 (+0300) Subject: new, version 1.0.1 X-Git-Tag: auto/th/php-phpunit-Version-1.0.1-1~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=ea5103791b6ce7e1b3f7a59f4f4f25901a9ba41b;p=packages%2Fphp-phpunit-Version.git new, version 1.0.1 created with pear make-rpm-spec --- ea5103791b6ce7e1b3f7a59f4f4f25901a9ba41b diff --git a/php-phpunit-Version.spec b/php-phpunit-Version.spec new file mode 100644 index 0000000..b041221 --- /dev/null +++ b/php-phpunit-Version.spec @@ -0,0 +1,49 @@ +%define status stable +%define pearname Version +%include /usr/lib/rpm/macros.php +Summary: Library that helps with managing the version number of Git-hosted PHP projects +Name: php-phpunit-Version +Version: 1.0.1 +Release: 1 +License: The BSD 3-Clause License +Group: Development/Languages/PHP +Source0: http://pear.phpunit.de/get/%{pearname}-%{version}.tgz +# Source0-md5: 2f946dfc4e1c84d676a46c9364c81825 +URL: http://pear.phpunit.de/package/Version/ +BuildRequires: php-channel(pear.phpunit.de) +BuildRequires: php-packagexml2cl +BuildRequires: php-pear-PEAR +BuildRequires: rpm-php-pearprov >= 4.4.2-11 +BuildRequires: rpmbuild(macros) >= 1.610 +Requires: php-channel(pear.phpunit.de) +Requires: php-pear +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Library that helps with managing the version number of Git-hosted PHP +projects + +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/Version/* +%{php_pear_dir}/.registry/.channel.*/*.reg +%dir %{php_pear_dir}/SebastianBergmann +%{php_pear_dir}/SebastianBergmann/Version