Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vodoo
php5-PHPUnit
php5-PHPUnit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php5-PHPUnit.spec of Package php5-PHPUnit
#norootforbuild #!BuildIgnore: post-build-checks %define pkg_name PHPUnit Summary: A unit testing framework for PHP Name: php5-PHPUnit Version: 3.4.9 Release: 3 License: BSD Group: Development/Libraries/PHP Source0: %{pkg_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build URL: http://www.phpunit.de/ BuildRequires: unzip patch Requires: php5 BuildArch: noarch %description PHPUnit is a unit testing framework for the PHP programming language. Created by Sebastian Bergmann, PHPUnit is one of the xUnit family of frameworks. %prep %setup -qn %{pkg_name}-%{version} %build find . -type f -perm /111 \ -fprint executables -exec %{__chmod} -x '{}' \; >/dev/null find . -type f -name \*.sh \ -fprint valid_executables -exec %{__chmod} +x '{}' \; >/dev/null %{__cat} executables valid_executables|sort|uniq -u > invalid_executables %install export NO_BRP_CHECK_BYTECODE_VERSION=true %{__rm} -rf $RPM_BUILD_ROOT %{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/php5/%{pkg_name} %{__cp} -pr PHPUnit/* $RPM_BUILD_ROOT%{_datadir}/php5/%{pkg_name} %{__cp} -pr phpunit.php $RPM_BUILD_ROOT%{_datadir}/php5 # cli tool %{__mkdir_p} %{buildroot}%{_bindir} %{__chmod} +x $RPM_BUILD_ROOT%{_datadir}/php5/phpunit.php %{__ln_s} -f /usr/share/php5/phpunit.php %{buildroot}%{_bindir}/phpunit %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_datadir}/php5/%{pkg_name} %{_datadir}/php5/phpunit.php %{_bindir}/phpunit %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor