diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-10-30 16:35:34 -0700 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-03-07 08:11:17 -0800 |
commit | 206842b8f5fab5951a6d2d8b25efbb551e31e6dc (patch) | |
tree | ed3ed8bdee78e881aee1936570c02f19a632df49 | |
parent | 16119b2b96e935743238c6ebbc39dc74c1aa6cf6 (diff) | |
download | dbus-glib-206842b8f5fab5951a6d2d8b25efbb551e31e6dc.tar.gz dbus-glib-206842b8f5fab5951a6d2d8b25efbb551e31e6dc.tar.bz2 dbus-glib-206842b8f5fab5951a6d2d8b25efbb551e31e6dc.zip |
add packaging
-rw-r--r-- | packaging/baselibs.conf | 2 | ||||
-rw-r--r-- | packaging/dbus-glib.spec | 63 |
2 files changed, 65 insertions, 0 deletions
diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf new file mode 100644 index 0000000..bda4103 --- /dev/null +++ b/packaging/baselibs.conf @@ -0,0 +1,2 @@ +dbus-glib +dbus-glib-devel diff --git a/packaging/dbus-glib.spec b/packaging/dbus-glib.spec new file mode 100644 index 0000000..7157892 --- /dev/null +++ b/packaging/dbus-glib.spec @@ -0,0 +1,63 @@ +Name: dbus-glib +Summary: GLib bindings for D-Bus +Version: 0.100 +Release: 1 +Group: System/Libraries +License: AFL/GPL +URL: http://www.freedesktop.org/software/dbus/ +Source0: http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-%{version}.tar.gz +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: libtool +BuildRequires: expat-devel +BuildRequires: gettext-tools +BuildRequires: autoconf + +%description +D-Bus add-on library to integrate the standard D-Bus library with +the GLib thread abstraction and main loop. + +%package devel +Summary: Libraries and headers for the D-Bus GLib bindings +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Headers and static libraries for the D-Bus GLib bindings + +%prep +%setup -q + +%build + +%configure --disable-tests \ + --enable-verbose-mode=yes \ + --enable-asserts=yes \ + --disable-gtk-doc + +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%make_install + +# don't care about bash completion in a consumer device +rm -rf $RPM_BUILD_ROOT/etc/bash_completion.d/dbus-bash-completion.sh +rm -rf $RPM_BUILD_ROOT/usr/libexec/dbus-bash-completion-helper + +%doc_package + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%{_libdir}/*glib*.so.* + +%files devel +%{_libdir}/lib*.so +%{_libdir}/pkgconfig/dbus-glib-1.pc +%{_includedir}/dbus-1.0/dbus/* +%{_bindir}/dbus-binding-tool + |