From 7e2a1728b31225c2becb47d531486c2bc52483b7 Mon Sep 17 00:00:00 2001 From: Michal Novotny Date: Aug 22 2011 09:52:11 +0000 Subject: Build 0.4.4 --- diff --git a/.gitignore b/.gitignore index 76c7e38..d1cd668 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /libvirt-php-0.4.1.tar.gz /php-libvirt-0.4.3.tar.gz +/php-libvirt-0.4.4.tar.gz diff --git a/php-libvirt.spec b/php-libvirt.spec index 9617332..e072be3 100644 --- a/php-libvirt.spec +++ b/php-libvirt.spec @@ -1,14 +1,24 @@ %define req_libvirt_version 0.6.2 + +%if 0%{?suse_version} +%define php_confdir %{_sysconfdir}/php5/conf.d +%define php_extdir %{_libdir}/php5/extensions +%else %define php_confdir %{_sysconfdir}/php.d %define php_extdir %{_libdir}/php/modules +%endif Name: php-libvirt -Version: 0.4.3 +Version: 0.4.4 Release: 1%{?dist}%{?extra_release} Summary: PHP language binding for Libvirt +%if 0%{?suse_version} +Group: Development/Libraries/PHP +%else Group: Development/Libraries -License: LGPLv2+ +%endif +License: PHP URL: http://libvirt.org/php Source0: http://libvirt.org/sources/php/php-libvirt-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root @@ -17,14 +27,17 @@ BuildRequires: php-devel BuildRequires: libvirt-devel >= %{req_libvirt_version} BuildRequires: libxml2-devel BuildRequires: libxslt +%if 0%{?suse_version} +BuildRequires: xhtml-dtd +%else BuildRequires: xhtml1-dtds +%endif Requires: libvirt >= %{req_libvirt_version} +%if 0%{?suse_version} +Requires: php5 +%else Requires: php -Requires: php(zend-abi) = %{php_zend_api} -Requires: php(api) = %{php_core_api} - -%define debug_package %{nil} -%global _use_internal_dependency_generator 0 +%endif %description PHP language bindings for Libvirt API. @@ -32,7 +45,7 @@ For more details see: http://www.libvirt.org/php/ %package -n php-libvirt-doc Summary: Document of php-libvirt -Group: Development/Libraries +Group: Development/Libraries/PHP BuildArch: noarch Requires: php-libvirt = %{version} @@ -59,38 +72,18 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc %{php_extdir}/php-libvirt.so %config(noreplace) %{php_confdir}/php-libvirt.ini %files -n php-libvirt-doc %defattr(-,root,root,-) -%doc README +%doc %dir %{_datadir}/doc/%{name}-%{version} %{_datadir}/doc/%{name}-%{version}/html %changelog -* Thu Aug 11 2011 Michal Novotny - 0.4.3 -- Rebase to 0.4.3 from master branch - -* Tue Apr 19 2011 Michal Novotny - 0.4.1-5 -- Minor memory leak fixes -- Several bug fixes - -* Mon Apr 11 2011 Michal Novotny - 0.4.1-4 -- Add new storagepool API functions -- Add optional xPath argument for *_get_xml_desc() functions -- Add new network API functions -- Add new API functions to add/remove disks - -* Wed Mar 23 2011 Michal Novotny - 0.4.1-3 -- Add connection information function -- Add coredump support -- Add snapshots support -- Improve error reporting for destructors - -* Thu Mar 10 2011 Michal Novotny - 0.4.1-2 -- Changes done to comply with Fedora package policy +* Mon Aug 22 2011 Michal Novotny - 0.4.4 +- Several bugfixes and updated SPEC file and codes not to require open tags -* Tue Feb 8 2011 Michal Novotny - 0.4.1-1 +* Tue Feb 8 2011 Michal Novotny - 0.4.1 - Initial commit (from github) diff --git a/sources b/sources index 5e3d194..cddaca3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -942faa45fee7dfe808ff1fc6d1a9c91e php-libvirt-0.4.3.tar.gz +b1bbd2836304f3fa8e273f47353434a5 php-libvirt-0.4.4.tar.gz