From: Eduardo Lima (Etrunko) Date: Mon, 14 Oct 2013 19:40:53 +0000 (-0300) Subject: Added tizen packaging X-Git-Tag: accepted/tizen/20131105.234120^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_ivi_panda;p=platform%2Fupstream%2Feldbus.git Added tizen packaging Change-Id: I2a53542f9a1f8a8b84af540ad2136b0bc170381e Signed-off-by: Eduardo Lima (Etrunko) --- diff --git a/.gbs.conf b/.gbs.conf new file mode 100644 index 0000000..99e7cc8 --- /dev/null +++ b/.gbs.conf @@ -0,0 +1,3 @@ +[general] +upstream_branch = upstream +upstream_tag = upstream/${upstreamversion} diff --git a/packaging/eldbus.changes b/packaging/eldbus.changes new file mode 100644 index 0000000..0eeed06 --- /dev/null +++ b/packaging/eldbus.changes @@ -0,0 +1,2 @@ +* Wed Oct 16 2013 Eduardo Lima (Etrunko) upstream/1.7.8@ee47fd3 +- Added tizen packaging diff --git a/packaging/eldbus.spec b/packaging/eldbus.spec new file mode 100644 index 0000000..789e546 --- /dev/null +++ b/packaging/eldbus.spec @@ -0,0 +1,72 @@ +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}*/