rpms/php-deepend-Mockery/devel import.log, NONE, 1.1 php-deepend-Mockery.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Christof Damian
cdamian at fedoraproject.org
Tue Jul 27 20:49:34 UTC 2010
Author: cdamian
Update of /cvs/pkgs/rpms/php-deepend-Mockery/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv8110/devel
Modified Files:
.cvsignore sources
Added Files:
import.log php-deepend-Mockery.spec
Log Message:
import
--- NEW FILE import.log ---
php-deepend-Mockery-0_6_3-1_fc13:HEAD:php-deepend-Mockery-0.6.3-1.fc13.src.rpm:1280263750
--- NEW FILE php-deepend-Mockery.spec ---
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%global pear_name Mockery
%global channel pear.survivethedeepend.com
Name: php-deepend-Mockery
Version: 0.6.3
Release: 1%{?dist}
Summary: Mockery is a simple but flexible PHP mock object framework
Group: Development/Libraries
License: BSD
URL: http://github.com/padraic/mockery
Source0: http://pear.survivethedeepend.com/get/%{pear_name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php-pear >= 1:1.4.9-1.2
BuildRequires: php-channel(%{channel})
Requires: php-channel(%{channel})
Requires: php-common >= 5.3.2
Requires(post): %{__pear}
Requires(postun): %{__pear}
Provides: php-pear(%{channel}/%{pear_name}) = %{version}
%description
Mockery is a simple but flexible PHP mock object framework for use in unit
testing. It is inspired by Ruby's flexmock and Java's Mockito, borrowing
elements from both of their APIs.
%prep
%setup -q -c
[ -f package2.xml ] || mv package.xml package2.xml
%{__mv} package2.xml %{pear_name}-%{version}/%{name}.xml
cd %{pear_name}-%{version}
%build
cd %{pear_name}-%{version}
# Empty build section, most likely nothing required.
%install
cd %{pear_name}-%{version}
%{__rm} -rf $RPM_BUILD_ROOT docdir
%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml
# Clean up unnecessary files
%{__rm} -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*
# Install XML package description
%{__mkdir} -p $RPM_BUILD_ROOT%{pear_xmldir}
%{__install} -pm 644 %{name}.xml $RPM_BUILD_ROOT%{pear_xmldir}
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%post
%{__pear} install --nodeps --soft --force --register-only \
%{pear_xmldir}/%{name}.xml >/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
%{__pear} uninstall --nodeps --ignore-errors --register-only \
%{channel}/%{pear_name} >/dev/null || :
fi
%files
%defattr(-,root,root,-)
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/Mockery.php
%{pear_phpdir}/Mockery
%changelog
* Fri May 28 2010 Christof Damian <christof at damian.net> - 0.6.0-1
- initial packaging
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/php-deepend-Mockery/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 26 Jul 2010 22:37:59 -0000 1.1
+++ .cvsignore 27 Jul 2010 20:49:34 -0000 1.2
@@ -0,0 +1 @@
+Mockery-0.6.3.tgz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/php-deepend-Mockery/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 26 Jul 2010 22:38:00 -0000 1.1
+++ sources 27 Jul 2010 20:49:34 -0000 1.2
@@ -0,0 +1 @@
+e3c24179ba0d99862a4ac74d82206d37 Mockery-0.6.3.tgz
More information about the scm-commits
mailing list