From 502de2adbb878878085d13f37adf62a532bc9b40 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:05:00 +0100 Subject: [PATCH] update to 0.9.0 [release 0.9.0-1mamba;Mon Sep 03 2012] --- README.md | 4 +- libdbus-c++-0.9.0-gcc-4.7.patch | 11 ++++ libdbus-c++.spec | 102 ++++++++++++++++++++++++++++++++ 3 files changed, 116 insertions(+), 1 deletion(-) create mode 100644 libdbus-c++-0.9.0-gcc-4.7.patch create mode 100644 libdbus-c++.spec diff --git a/README.md b/README.md index d8c5b17..3efa1bc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ -# libdbus-cPlusPlus +# libdbus-c++ + +libdbus-c++ attempts to provide a C++ API for D-BUS. The library has a glib/gtk and an Ecore mainloop integration. It also offers an optional own main loop. diff --git a/libdbus-c++-0.9.0-gcc-4.7.patch b/libdbus-c++-0.9.0-gcc-4.7.patch new file mode 100644 index 0000000..3689c2a --- /dev/null +++ b/libdbus-c++-0.9.0-gcc-4.7.patch @@ -0,0 +1,11 @@ +diff -Nru libdbus-c++-0.9.0.orig/include/dbus-c++/eventloop-integration.h libdbus-c++-0.9.0/include/dbus-c++/eventloop-integration.h +--- libdbus-c++-0.9.0.orig/include/dbus-c++/eventloop-integration.h 2011-11-28 16:03:19.000000000 +0100 ++++ libdbus-c++-0.9.0/include/dbus-c++/eventloop-integration.h 2012-09-03 16:48:22.334507821 +0200 +@@ -26,6 +26,7 @@ + #define __DBUSXX_EVENTLOOP_INTEGRATION_H + + #include ++#include + #include "api.h" + #include "dispatcher.h" + #include "util.h" diff --git a/libdbus-c++.spec b/libdbus-c++.spec new file mode 100644 index 0000000..2ef5605 --- /dev/null +++ b/libdbus-c++.spec @@ -0,0 +1,102 @@ +Name: libdbus-c++ +Version: 0.9.0 +Release: 1mamba +Summary: C++ Interface for DBus +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://sourceforge.net/apps/mediawiki/dbus-cplusplus/index.php?title=Main_Page +Source: http://downloads.sourceforge.net/project/dbus-cplusplus/dbus-c%2B%2B/%{version}/libdbus-c%2B%2B-%{version}.tar.gz +Patch0: libdbus-c++-0.9.0-gcc-4.7.patch +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libdbus-devel +BuildRequires: libecore-devel +BuildRequires: libeina-devel +BuildRequires: libexpat-devel +BuildRequires: libgcc +BuildRequires: libglib-devel +BuildRequires: libstdc++6-devel +BuildRequires: pkg-config +## AUTOBUILDREQ-END +BuildRequires: libgtkmm-devel +BuildRequires: libtool +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +%{name} attempts to provide a C++ API for D-BUS. The library has a glib/gtk and an Ecore mainloop integration. It also offers an optional own main loop. + +%package devel +Group: Development/Libraries +Summary: Libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +C++ Interface for DBus. + +This package contains libraries and header files need for development. + +%package static +Group: Development/Libraries +Summary: Static libraries for %{name} +Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release} + +%description static +C++ Interface for DBus. + +This package contains static libraries need for development. + +%prep + +%setup -q +%patch0 -p1 + +%build +#./autogen.sh +export CPPFLAGS='%{optflags}' +export LDFLAGS='-lexpat -lpthread' +%configure \ + --enable-glib +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +make install DESTDIR=%{buildroot} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/dbusxx-introspect +%{_bindir}/dbusxx-xml2cpp +%{_libdir}/libdbus-c++-*.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/dbus-c++-* +%dir %{_includedir}/dbus-c++-*/dbus-c++ +%{_includedir}/dbus-c++-*/dbus-c++/*.h +%{_libdir}/libdbus-c++-*.so +%{_libdir}/pkgconfig/dbus-c++-*.pc +%doc README TODO + +%files static +%defattr(-,root,root) +%{_libdir}/libdbus-c++-*.*a + +%changelog +* Mon Sep 03 2012 Silvan Calarco 0.9.0-1mamba +- update to 0.9.0 + +* Sat Dec 11 2010 Silvan Calarco 0.5.0-2mamba +- imported from milestone1-contib to devel + +* Sat Oct 02 2010 gil 0.5.0-1mamba +- package created by autospec