Hello community,

here is the log from the commit of package php5-pear-Horde_Xml_Wbxml for 
openSUSE:Factory
checked in at Fri Jun 10 10:17:13 CEST 2011.



--------
New Changes file:

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ 
/mounts/work_src_done/STABLE/php5-pear-Horde_Xml_Wbxml/php5-pear-Horde_Xml_Wbxml.changes
    2011-06-09 10:40:02.000000000 +0200
@@ -0,0 +1,22 @@
+-------------------------------------------------------------------
+Thu Jun  9 08:39:54 UTC 2011 - [email protected]
+
+- Moved docs to docdir
+- no longer clear buildroot in %install phase because of policy
+
+-------------------------------------------------------------------
+Wed May 18 16:45:10 UTC 2011 - [email protected]
+
+- * [jan] Don't set codepage multiple times (Bug #9964).
+- Version 1.0.1
+
+-------------------------------------------------------------------
+Wed Apr  6 16:57:07 UTC 2011 - [email protected]
+
+- Updating to version 1.0.0
+
+-------------------------------------------------------------------
+Thu Mar 17 09:42:13 UTC 2011 - [email protected]
+
+- Initial commit of version 1.0.0beta1
+

calling whatdependson for head-i586


New:
----
  Horde_Xml_Wbxml-1.0.1.tgz
  php5-pear-Horde_Xml_Wbxml.changes
  php5-pear-Horde_Xml_Wbxml.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ php5-pear-Horde_Xml_Wbxml.spec ++++++
#
# spec file for package php5-pear-Horde_Xml_Wbxml
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define peardir %(pear config-get php_dir 2> /dev/null || echo %{_datadir}/pear)
%define xmldir  /var/lib/pear

Summary:        Encoding and decoding WBXML documents used in SyncML and other 
applications

Name:           php5-pear-Horde_Xml_Wbxml
Version:        1.0.1
Release:        1
License:        LGPL
Group:          Development/Libraries/PHP
Source0:        http://pear.horde.org/get/Horde_Xml_Wbxml-%{version}.tgz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Url:            http://pear.horde.org/package/Horde_Xml_Wbxml
BuildRequires:  php5-pear >= 1.4.7
Requires:       php5-pear-Horde_Util < 2.0.0, php5-pear >= 1.7.0
Conflicts:      php5-pear-Horde_Util = 2.0.0
BuildRequires:  php5-pear-channel-horde
Requires:       php5-pear-channel-horde
BuildArch:      noarch
%define pear_name  Horde_Xml_Wbxml
%define pear_sname horde_xml_wbxml
# Fix for renaming (package convention)
Provides:       php5-pear-%{pear_sname} = %{version}
Provides:       php-pear-%{pear_sname} = %{version}
Provides:       pear-%{pear_sname} = %{version}
Obsoletes:      php5-pear-%{pear_sname} < %{version}
Obsoletes:      php-pear-%{pear_sname} < %{version}
Obsoletes:      pear-%{pear_sname} < %{version}

%description
This package provides encoding and decoding of WBXML (Wireless Binary XML)
documents. WBXML is used in SyncML for transferring smaller amounts of data
with wireless devices.

%prep
%setup -c -T
pear -v -c pearrc \
        -d php_dir=%{peardir} \
        -d doc_dir=%{_docdir}/%{name} \
        -d bin_dir=%{_bindir} \
        -d data_dir=%{peardir}/data \
        -d test_dir=%{peardir}/tests \
        -d ext_dir=%{_libdir} \
        -s

%build

%install
pear -c pearrc install --nodeps --packagingroot %{buildroot} %{SOURCE0}

# Clean up unnecessary files
rm pearrc
rm %{buildroot}/%{peardir}/.filemap
rm %{buildroot}/%{peardir}/.lock
rm -rf %{buildroot}/%{peardir}/.registry
rm -rf %{buildroot}%{peardir}/.channels
rm %{buildroot}%{peardir}/.depdb
rm %{buildroot}%{peardir}/.depdblock

# Install XML package description
mkdir -p %{buildroot}%{xmldir}
tar -xzf %{SOURCE0} package.xml
cp -p package.xml %{buildroot}%{xmldir}/Horde_Xml_Wbxml.xml

%clean
rm -rf %{buildroot}

%post
pear install --nodeps --soft --force --register-only 
%{xmldir}/Horde_Xml_Wbxml.xml

%postun
if [ "$1" -eq "0" ]; then
    pear uninstall --nodeps --ignore-errors --register-only 
pear.horde.org/Horde_Xml_Wbxml
fi

%files
%defattr(-,root,root)
%doc %{_docdir}/%{name}
%{peardir}/*
%attr(0755,root,root) %{peardir}/tests/%{pear_name}/Horde/Xml/Wbxml/decode.php
%{xmldir}/Horde_Xml_Wbxml.xml

%changelog

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to