[dbus-tools] Initial import (#798200).

Michal Minar miminar at fedoraproject.org
Mon Mar 5 12:09:49 UTC 2012


commit 7a4c2eb2305230f436deb481cfff2a43aed49318
Author: Michal Minar <miminar at redhat.com>
Date:   Mon Mar 5 13:09:31 2012 +0100

    Initial import (#798200).

 .gitignore      |    1 +
 dbus-tools.spec |   57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6ce8138 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dbus-tools-20120227.tar.xz
diff --git a/dbus-tools.spec b/dbus-tools.spec
new file mode 100644
index 0000000..c885ea9
--- /dev/null
+++ b/dbus-tools.spec
@@ -0,0 +1,57 @@
+%define ver     20120227
+Name:           dbus-tools
+Version:        0
+Release:        0.1.%{ver}svn
+Summary:        DBus developer tools
+
+License:        ISC
+URL:            http://code.google.com/p/dbus-tools/
+# The source for this package was pulled from upstream's vcs.  Use the
+# following commands to generate the tarball:
+#  svn export -r 8  http://dbus-tools.googlecode.com/svn/trunk/ dbus-tools-20120227
+#  tar -cJvf dbus-tools-20120227.tar.xz dbus-tools-20120227
+Source0:        %{name}-%{ver}.tar.xz
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+Requires:       python-lxml
+
+%description
+Set of tools to help developers playing with DBus. Allows to test DBus
+interfaces of project.
+
+%prep
+%setup -q -n %{name}-%{ver}
+
+%build
+sed -i 's/\<dbus\>/\0-cli/g' _dbus
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d ${RPM_BUILD_ROOT}%{_bindir}
+install -m 0755 dbus ${RPM_BUILD_ROOT}%{_bindir}/dbus-cli
+install -d ${RPM_BUILD_ROOT}%{_datadir}/zsh/site-functions
+install -m 0644 _dbus ${RPM_BUILD_ROOT}%{_datadir}/zsh/site-functions/_dbus-cli
+
+%files
+%{_bindir}/dbus-cli
+%doc README COPYING
+
+%package zsh
+Requires: %{name} = %{version}-%{release}, zsh
+Summary: DBus tools zsh completion
+
+%description zsh
+Set of tools to help developers playing with DBus. Allows to test DBus
+interfaces of project.
+
+This package provides zsh completion for DBus tools.
+
+%files zsh
+%{_datadir}/zsh/site-functions/_dbus-cli
+
+
+%changelog
+ * Wed Feb 29 2012 Michal Minar <miminar at redhat.com> - 0-0.1.20120227svn
+ - Initial packages.
+
diff --git a/sources b/sources
index e69de29..298f36f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b0f11489fde748bd4b4cb1a29a05551c  dbus-tools-20120227.tar.xz


More information about the scm-commits mailing list