--- /dev/null
+Name: eldbus
+Summary: Easy access to D-Bus from EFL applications
+Version: 1.7.8
+Release: 1
+Group: System/Libraries
+License: LGPL-2.1
+Source0: %{name}-%{version}.tar.bz2
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(eina)
+BuildRequires: dbus-devel
+
+%description
+Eldbus allows connecting to both system and session buses acting as
+both client and service roles.
+
+This is a replacement for old library "edbus". Its main purpose is to
+fix some core bugs and completely encapsulating D-Bus without exposing
+libdbus to end-user. One day libdbus may be completely removed as a
+dependency.
+
+
+%package devel
+Summary: Easy access to D-Bus from EFL applications
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Eldbus allows connecting to both system and session buses acting as
+both client and service roles.
+
+This is a replacement for old library "edbus". Its main purpose is to
+fix some core bugs and completely encapsulating D-Bus without exposing
+libdbus to end-user. One day libdbus may be completely removed as a
+dependency.
+
+
+%prep
+%setup -q
+
+
+%build
+export CFLAGS+=" -fvisibility=hidden -fPIC"
+export LDFLAGS+=" -fvisibility=hidden -Wl,--hash-style=both -Wl,--as-needed"
+
+%configure --disable-static
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/usr/share/license/%{name}
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/*.so.*
+%{_bindir}/%{name}*
+/usr/share/license/%{name}
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/%{name}*/