rpms/php-phpunit-bytekit/devel import.log, NONE, 1.1 php-phpunit-bytekit.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Guillaume Kulakowski llaumgui at fedoraproject.org
Sat Dec 12 08:39:58 UTC 2009


Author: llaumgui

Update of /cvs/pkgs/rpms/php-phpunit-bytekit/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8526/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log php-phpunit-bytekit.spec 
Log Message:
"Initial import"



--- NEW FILE import.log ---
php-phpunit-bytekit-1_0_0-2_fc12:HEAD:php-phpunit-bytekit-1.0.0-2.fc12.src.rpm:1260607148


--- NEW FILE php-phpunit-bytekit.spec ---
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%define pear_name bytekit
%define channel pear.phpunit.de

Name:           php-phpunit-bytekit
Version:        1.0.0
Release:        2%{?dist}
Summary:        A command-line tool built on the PHP Bytekit extension

Group:          Development/Libraries
License:        BSD
URL:            http://github.com/sebastianbergmann/bytekit-cli
Source0:        http://pear.phpunit.de/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(post): %{__pear}
Requires(postun): %{__pear}

Provides:       php-pear(%{channel}/%{pear_name}) = %{version}


%description
Bytekit is a PHP extension that provides userspace access to the opcodes
generated by PHP's compiler.

bytekit-cli is a command-line tool that leverages Bytekit to perform common code
analysis tasks.


%prep
%setup -q -c
[ -f package2.xml ] || mv package.xml package2.xml
%{__mv} package2.xml %{pear_name}-%{version}/%{name}.xml
cd %{pear_name}-%{version}
%{__sed} -i -e "s@<min>1.8.1</min>@<min>1.7.2</min>@" %{name}.xml


%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 \
        pear.phpunit.de/%{pear_name} >/dev/null || :
fi


%files
%defattr(-,root,root,-)
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/Bytekit/Scanner/Rule/DisallowedOpcodes.php
%{pear_phpdir}/Bytekit/Scanner/Rule/DirectOutput.php
%{pear_phpdir}/Bytekit/Scanner/Rule.php
%{pear_phpdir}/Bytekit/TextUI/ResultFormatter/Disassembler/Graph.php
%{pear_phpdir}/Bytekit/TextUI/ResultFormatter/Disassembler/Text.php
%{pear_phpdir}/Bytekit/TextUI/ResultFormatter/Scanner/Text.php
%{pear_phpdir}/Bytekit/TextUI/ResultFormatter/Scanner/XML.php
%{pear_phpdir}/Bytekit/TextUI/Command.php
%{pear_phpdir}/Bytekit/TextUI/Getopt.php
%{pear_phpdir}/Bytekit/Util/FilterIterator.php
%{pear_phpdir}/Bytekit/Disassembler.php
%{pear_phpdir}/Bytekit/Functions.php
%{pear_phpdir}/Bytekit/Scanner.php
%{_bindir}/bytekit


%changelog
* Thu Nov 26 2009 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 1.0.0-2
- F-(10|11)

* Wed Oct 14 2009 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 1.0.0-1
- Initial packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/php-phpunit-bytekit/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	3 Dec 2009 06:41:24 -0000	1.1
+++ .cvsignore	12 Dec 2009 08:39:57 -0000	1.2
@@ -0,0 +1 @@
+bytekit-1.0.0.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/php-phpunit-bytekit/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	3 Dec 2009 06:41:25 -0000	1.1
+++ sources	12 Dec 2009 08:39:57 -0000	1.2
@@ -0,0 +1 @@
+833f1cd7f385cb8b39c88102a5ba3911  bytekit-1.0.0.tgz




More information about the fedora-extras-commits mailing list