rpms/php-phpunit-PHP-TokenStream/F-13 import.log, NONE, 1.1 php-phpunit-PHP-TokenStream.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Christof Damian cdamian at fedoraproject.org
Tue Feb 23 18:37:48 UTC 2010


Author: cdamian

Update of /cvs/pkgs/rpms/php-phpunit-PHP-TokenStream/F-13
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9473/F-13

Modified Files:
	.cvsignore sources 
Added Files:
	import.log php-phpunit-PHP-TokenStream.spec 
Log Message:
import


--- NEW FILE import.log ---
php-phpunit-PHP-TokenStream-0_9_1-1_fc12:F-13:php-phpunit-PHP-TokenStream-0.9.1-1.fc12.src.rpm:1266950244


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

Name:           php-phpunit-PHP-TokenStream
Version:        0.9.1
Release:        1%{?dist}
Summary:        Wrapper around PHP's tokenizer extension

Group:          Development/Libraries
License:        BSD
URL:            http://github.com/sebastianbergmann/php-token-stream
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.8.1
BuildRequires:  php-channel(%{channel})
Requires:       php-channel(%{channel})
Requires:       php-common >= 5.2.0
Requires:       php-tokenizer
Requires(post): %{__pear}
Requires(postun): %{__pear}

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


%description
Wrapper around PHP's tokenizer extension.

%prep
%setup -q -c
[ -f package2.xml ] || mv package.xml package2.xml
%{__mv} package2.xml %{pear_name}-%{version}/%{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 \
    %{channel}/%{pear_name} >/dev/null || :
fi


%files
%defattr(-,root,root,-)
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/PHP

%changelog
* Thu Feb 4 2010 Christof Damian <christof at damian.net> 0.9.1-1
- initial packaging



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/php-phpunit-PHP-TokenStream/F-13/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	22 Feb 2010 20:13:22 -0000	1.1
+++ .cvsignore	23 Feb 2010 18:37:48 -0000	1.2
@@ -0,0 +1 @@
+PHP_TokenStream-0.9.1.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/php-phpunit-PHP-TokenStream/F-13/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	22 Feb 2010 20:13:23 -0000	1.1
+++ sources	23 Feb 2010 18:37:48 -0000	1.2
@@ -0,0 +1 @@
+328c7d9e95fc9b0078b180bbb8c532d1  PHP_TokenStream-0.9.1.tgz



More information about the scm-commits mailing list