--- /dev/null
+Summary: DBus bindings for dhcpcd
+Name: dhcpcd-dbus
+Version: 0.5.2
+Release: 1
+License: BSD
+Group: Libraries
+Source0: http://roy.marples.name/downloads/dhcpcd/%{name}-%{version}.tar.bz2
+# Source0-md5: 29ab75851bc907d698add2087b0d28d3
+URL: http://roy.marples.name/projects/dhcpcd-dbus/wiki
+BuildRequires: dbus-devel >= 1.1.0
+Requires: dhcpcd >= 5.0.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+dhcpcd-dbus receives interface configuration events from the dhcpcd
+control socket and emits them to the DBus listeners. It also has
+methods to release, rebind, stop, query and configure dhcpcd on an
+interface.
+
+dhcpcd-dbus also listens to wpa_supplicant for wireless interfaces via
+its control socket.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/dhcpcd-dbus.conf
+%{_libdir}/dhcpcd-dbus
+%{_datadir}/dbus-1/system-services/name.marples.roy.dhcpcd.service