rpms/php-ezc-SystemInformation/F-9 import.log, NONE, 1.1 php-ezc-SystemInformation.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Guillaume Kulakowski llaumgui at fedoraproject.org
Wed Apr 29 17:16:47 UTC 2009


Author: llaumgui

Update of /cvs/pkgs/rpms/php-ezc-SystemInformation/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19847/F-9

Modified Files:
	.cvsignore sources 
Added Files:
	import.log php-ezc-SystemInformation.spec 
Log Message:
Initial import branch F-9


--- NEW FILE import.log ---
php-ezc-SystemInformation-1_0_7-1_fc10:F-9:php-ezc-SystemInformation-1.0.7-1.fc10.src.rpm:1241025264


--- NEW FILE php-ezc-SystemInformation.spec ---
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%define pear_name SystemInformation
%define channel components.ez.no

Name:           php-ezc-SystemInformation
Version:        1.0.7
Release:        1%{?dist}
Summary:        Provides access to common system variables

Group:          Development/Libraries
License:        BSD
URL:            http://ezcomponents.org/
Source0:        http://components.ez.no/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-common >= 5.2.1
Requires:       php-pear(%{channel}/Base) >= 1.5.2
Requires(post): %{__pear}
Requires(postun): %{__pear}

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


%description
Provides access to common system variables, such as CPU type and speed, and the
available amount of memory.


%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 %{buildroot} docdir
%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml

# Move documentation
mv %{buildroot}%{pear_docdir}/%{pear_name}/docs ./docdir
rm -rf %{buildroot}%{pear_docdir}

# Clean up unnecessary files
rm -rf %{buildroot}%{pear_phpdir}/.??*

# Install XML package description
mkdir -p %{buildroot}%{pear_xmldir}
install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}


%clean
rm -rf %{buildroot}


%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,-)
%doc %{pear_name}-%{version}/docdir/*
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/data/%{pear_name}
%{pear_phpdir}/ezc/%{pear_name}
%{pear_phpdir}/ezc/autoload/system_autoload.php


%changelog
* Sun Feb 08 2009 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 1.0.7-1
- Initial packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/php-ezc-SystemInformation/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	29 Apr 2009 03:05:30 -0000	1.1
+++ .cvsignore	29 Apr 2009 17:16:16 -0000	1.2
@@ -0,0 +1 @@
+SystemInformation-1.0.7.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/php-ezc-SystemInformation/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	29 Apr 2009 03:05:30 -0000	1.1
+++ sources	29 Apr 2009 17:16:17 -0000	1.2
@@ -0,0 +1 @@
+7cb58a3adf1b0507688333a258e1fa83  SystemInformation-1.0.7.tgz




More information about the fedora-extras-commits mailing list