]> git.pld-linux.org Git - packages/php-dbus.git/commitdiff
- switch source that actually includes code
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 20 Oct 2010 07:09:19 +0000 (07:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-dbus.spec -> 1.2

php-dbus.spec

index 2557e88bc7a820f5c5b3dc9bdd114487a309273b..5ce2e7a2f21151bd6524bce02bba9668c58fbc43 100644 (file)
@@ -2,22 +2,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
@@ -25,27 +19,22 @@ BuildRequires:      rpmbuild(macros) >= 1.519
 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 \
@@ -55,8 +44,6 @@ cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
 extension=%{modname}.so
 EOF
 
-cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -70,7 +57,6 @@ fi
 
 %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}
This page took 0.127611 seconds and 4 git commands to generate.