rpms/php-pear-Config/F-10 import.log, NONE, 1.1 php-pear-Config.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Bernard Johnson bjohnson at fedoraproject.org
Sat Mar 7 16:17:17 UTC 2009


Author: bjohnson

Update of /cvs/pkgs/rpms/php-pear-Config/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14303/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log php-pear-Config.spec 
Log Message:
import



--- NEW FILE import.log ---
php-pear-Config-1_10_11-2_fc10:F-10:php-pear-Config-1.10.11-2.fc10.src.rpm:1236442473


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

#
# Note: the test suite for this package has two badly written tests that will
# cause failures.  These can be ignored.
#

Name:           php-pear-Config
Version:        1.10.11
Release:        2%{?dist}
Summary:        Configuration file manipulation for PHP

Group:          Development/Libraries
License:        PHP
URL:            http://pear.php.net/package/Config
Source0:        http://download.pear.php.net/package/%{pear_name}-%{version}.tgz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  php-pear >= 1:1.4.9-1.2
Requires:       php-pear(PEAR), php-pear(XML_Parser), php-pear(XML_Util)
Requires(post): %{__pear}
Requires(postun): %{__pear}
Provides:       php-pear(%{pear_name}) = %{version}

%description
The PHP Config package provides methods for configuration manipulation.
* Creates configurations from scratch
* Parses and outputs different formats (XML, PHP, INI, Apache...)
* Edits existing configurations
* Converts configurations to other formats
* Allows manipulation of sections, comments, directives...
* Parses configurations into a tree structure


%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}
# no build required


%install
cd %{pear_name}-%{version}
rm -rf $RPM_BUILD_ROOT docdir
%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml

# Move documentation
mkdir -p docdir
mv $RPM_BUILD_ROOT%{pear_docdir}/* docdir

# 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 \
        %{name} >/dev/null || :
fi


%files
%defattr(-,root,root,-)
%doc %{pear_name}-%{version}/docdir/%{pear_name}/*
%{pear_xmldir}/%{name}.xml
%{pear_testdir}/%{pear_name}
# package does not contain %%{pear_datadir}/%{pear_name} files
#%{pear_datadir}/%{pear_name}
%{pear_phpdir}/Config*


%changelog
* Wed Feb 25 2009 Bernard Johnson <bjohnson at symetrix.com> - 1.10.11-2
- add dependencies for php-pear(XML_Parser) and php-pear(XML_Util)
- change from %%{pear_name}.xml to %%{name}.xml to avoid channel conflicts
- changes %%files section from %%{pear_phpdir}/* to %%{pear_phpdir}/Config*
- note regarding test suite failures added

* Tue Feb 17 2009 Bernard Johnson <bjohnson at symetrix.com> - 1.10.11-1
- initial RPM


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/php-pear-Config/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	3 Mar 2009 00:15:23 -0000	1.1
+++ .cvsignore	7 Mar 2009 16:16:46 -0000	1.2
@@ -0,0 +1 @@
+Config-1.10.11.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/php-pear-Config/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	3 Mar 2009 00:15:23 -0000	1.1
+++ sources	7 Mar 2009 16:16:46 -0000	1.2
@@ -0,0 +1 @@
+ec85ece7ddd28a0a139c0699481c0116  Config-1.10.11.tgz




More information about the fedora-extras-commits mailing list