rpms/php-deepend-Mockery/F-13 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 21:05:11 UTC 2010
- Previous message: rpms/php-deepend-Mockery/EL-6 php-deepend-Mockery.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/libgdiplus/F-13 .cvsignore, 1.27, 1.28 libgdiplus.spec, 1.49, 1.50 sources, 1.30, 1.31
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: cdamian
Update of /cvs/pkgs/rpms/php-deepend-Mockery/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv12848/F-13
Modified Files:
.cvsignore sources
Added Files:
php-deepend-Mockery.spec
Log Message:
copied devel version
--- 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: 2%{?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
Source1: http://github.com/padraic/mockery/blob/master/LICENSE
Source2: http://github.com/padraic/mockery/blob/master/README.markdown
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}
mkdir docdir
%{__cp} %{SOURCE1} %{SOURCE2} docdir
%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
%doc %{pear_name}-%{version}/docdir/*
%changelog
* Tue Jul 27 2010 Christof Damian <christof at damian.net> - 0.6.3-2
- add license and readme file from github
* 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/F-13/.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 21:05:11 -0000 1.2
@@ -0,0 +1,3 @@
+README.markdown
+LICENSE
+Mockery-0.6.3.tgz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/php-deepend-Mockery/F-13/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 21:05:11 -0000 1.2
@@ -0,0 +1,3 @@
+5fc624feb5ef1a756912a525b7097a1e README.markdown
+ce68a96293906342c45ed0bf8e3b3624 LICENSE
+e3c24179ba0d99862a4ac74d82206d37 Mockery-0.6.3.tgz
- Previous message: rpms/php-deepend-Mockery/EL-6 php-deepend-Mockery.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/libgdiplus/F-13 .cvsignore, 1.27, 1.28 libgdiplus.spec, 1.49, 1.50 sources, 1.30, 1.31
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list