]>
Commit | Line | Data |
---|---|---|
7bf47453 ER |
1 | # TODO: |
2 | # - zsh completion: _dbus | |
3 | ||
4 | %define svnrev 8 | |
5 | %define rel 0.1 | |
6 | Summary: Set of tools for DBus | |
7 | Name: dbus-tools | |
8 | Version: 1 | |
9 | Release: 0.%{svnrev}.%{rel} | |
10 | License: MIT | |
11 | Group: Applications/System | |
12 | # revno= | |
13 | # svn co http://dbus-tools.googlecode.com/svn/trunk${revno:+@$revno} dbus-tools | |
14 | # tar -cjf dbus-tools-$(svnversion dbus-tools).tar.bz2 --exclude=.svn dbus-tools | |
15 | # ../dropin dbus-tools-$(svnversion dbus-tools).tar.bz2 | |
16 | Source0: %{name}-%{svnrev}.tar.bz2 | |
17 | # Source0-md5: 7ff7a085e5e352c6d3188acce3661a89 | |
18 | URL: http://code.google.com/p/dbus-tools/ | |
19 | BuildRequires: rpm-pythonprov | |
20 | Requires: python-modules | |
21 | Requires: python-lxml | |
22 | Requires: python-dbus | |
23 | BuildArch: noarch | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | dbus-tools is a set of tools to help developers playing with DBus. | |
28 | ||
29 | %prep | |
30 | %setup -q -n %{name} | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT%{_bindir} | |
35 | install -p dbus $RPM_BUILD_ROOT%{_bindir} | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
42 | %doc COPYING | |
43 | %attr(755,root,root) %{_bindir}/dbus |