packages: php-dbus/php-dbus.spec - switch source that actually includes code
glen
glen at pld-linux.org
Wed Oct 20 09:09:25 CEST 2010
Author: glen Date: Wed Oct 20 07:09:25 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- switch source that actually includes code
---- Files affected:
packages/php-dbus:
php-dbus.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/php-dbus/php-dbus.spec
diff -u packages/php-dbus/php-dbus.spec:1.1 packages/php-dbus/php-dbus.spec:1.2
--- packages/php-dbus/php-dbus.spec:1.1 Wed Oct 20 09:04:28 2010
+++ packages/php-dbus/php-dbus.spec Wed Oct 20 09:09:19 2010
@@ -3,22 +3,16 @@
# Conditional build:
%bcond_without tests # build without tests
-%define svnrev 1
-%define rel 0.1
%define modname dbus
Summary: DBus binding for PHP
Name: php-%{modname}
-Version: 1.0
-Release: 0.svn%{svnrev}.%{rel}
-License: New BSD License
+Version: 0.1.2
+Release: 1
+License: PHP 3.0
Group: Development/Languages/PHP
-# revno=
-# svn co http://php-dbus.googlecode.com/svn/trunk${revno:+@$revno} php-dbus
-# tar -cjf php-dbus-$(svnversion php-dbus).tar.bz2 --exclude-vcs php-dbus
-# ../dropin php-dbus-$(svnversion php-dbus).tar.bz2
-Source0: %{name}-%{svnrev}.tar.bz2
-# Source0-md5: bc29a6add663ae977fde560175ccf306
-URL: http://code.google.com/p/php-dbus/
+Source0: http://labs.gree.jp/data/source/php-dbus-%{version}.tgz
+# Source0-md5: 2fc2b92ac805128326ecfa382f6807ab
+URL: http://labs.gree.jp/Top/OpenSource/DBus-en.html
BuildRequires: dbus-devel
BuildRequires: php-devel >= 4:5.0.4
BuildRequires: rpmbuild(macros) >= 1.519
@@ -26,27 +20,22 @@
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-D-Bus is a message bus system, a simple way for applications to talk
-to one another. In addition to interprocess communication, D-Bus helps
-coordinate process lifecycle; it makes it simple and reliable to code
-a "single instance" application or daemon, and to launch applications
-and daemons on demand when their services are needed.
-
-php-dbus is a binding of PHP and DBus.
+PHP Dbus is a PHP extension to handle D-Bus functions. This module
+provides D-Bus interfaces via PHP classes and enables Inter Porcess
+Communication in D-Bus.
%prep
-%setup -qn %{name}
+%setup -q
%build
phpize
+CPPFLAGS="%{rpmcppflags} -DDBUS_API_SUBJECT_TO_CHANGE"
%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d
-install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir}}
-install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir},%{_examplesdir}/%{name}-%{version}}
%{__make} install \
INSTALL_ROOT=$RPM_BUILD_ROOT \
@@ -56,8 +45,6 @@
extension=%{modname}.so
EOF
-cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-
%clean
rm -rf $RPM_BUILD_ROOT
@@ -71,10 +58,9 @@
%files
%defattr(644,root,root,755)
-%doc CREDITS EXPERIMENTAL
+%doc CREDITS
%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{modname}.ini
%attr(755,root,root) %{php_extensiondir}/%{modname}.so
-%{_examplesdir}/%{name}-%{version}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -82,5 +68,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2010/10/20 07:09:19 glen
+- switch source that actually includes code
+
Revision 1.1 2010/10/20 07:04:28 glen
- new
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-dbus/php-dbus.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list