Accepting request 108785 from home:plater
Final package (hopefully) OBS-URL: https://build.opensuse.org/request/show/108785 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libdbus-c++?expand=0&rev=2
This commit is contained in:
parent
ff74030d0c
commit
17ac99ca8f
@ -15,66 +15,68 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: libdbus-c++
|
Name: libdbus-c++
|
||||||
Version: 0.9.0
|
Version: 0.9.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: C++ Interface for DBus
|
Summary: C++ Interface for DBus
|
||||||
URL: http://dbus-cplusplus.sourceforge.net/index.html
|
Url: http://dbus-cplusplus.sourceforge.net/index.html
|
||||||
License: LGPL-2.0
|
License: LGPL-2.0
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
# Fix no return from function
|
# Fix no return from function
|
||||||
Patch0: libdbus-c++-noreturn.patch
|
Patch0: libdbus-c++-noreturn.patch
|
||||||
# Attempt to fix ffado build
|
# Get ffado to build
|
||||||
Patch1: libdbus-c++-pthread.patch
|
Patch1: libdbus-c++-pthread.patch
|
||||||
BuildRequires: pkgconfig gcc-c++ dbus-1-devel
|
BuildRequires: dbus-1-devel gcc-c++ pkgconfig
|
||||||
BuildRequires: autoconf automake libtool
|
BuildRequires: autoconf automake libtool
|
||||||
BuildRequires: dbus-1-glib-devel libexpat-devel
|
BuildRequires: dbus-1-glib-devel libexpat-devel
|
||||||
BuildRequires: gtkmm2-devel dos2unix doxygen
|
BuildRequires: dos2unix doxygen gtkmm2-devel
|
||||||
# ecore
|
# ecore
|
||||||
%if 0%{?suse_version} >= 1030
|
%if 0%{?suse_version} >= 1030
|
||||||
BuildRequires: libexpat-devel
|
BuildRequires: libexpat-devel
|
||||||
%else
|
%else
|
||||||
BuildRequires: expat
|
BuildRequires: expat
|
||||||
%endif
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Ability to reflect dbus methods and signals into a more natural
|
DBus-c++ attempts to provide a C++ API for D-BUS. The library has
|
||||||
C++ object system.
|
a glib and an ecore mainloop integration. It also offers an
|
||||||
|
optional own main loop.
|
||||||
|
|
||||||
|
|
||||||
%package -n libdbus-c++-1-0
|
%package -n libdbus-c++-1-0
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: Libdbus-c++ library
|
Summary: The libdbus-c++ library
|
||||||
|
|
||||||
|
|
||||||
%description -n libdbus-c++-1-0
|
%description -n libdbus-c++-1-0
|
||||||
Ability to reflect dbus methods and signals into a more natural
|
DBus-c++ attempts to provide a C++ API for D-BUS. The library has
|
||||||
C++ object system. The libdbus-c++ library.
|
a glib and an ecore mainloop integration. It also offers an
|
||||||
|
optional own main loop. The libdbus-c++ library.
|
||||||
|
|
||||||
|
|
||||||
%package -n libdbus-c++-glib-1-0
|
%package -n libdbus-c++-glib-1-0
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: Glib for libdbus-c++
|
Summary: Glib for libdbus-c++
|
||||||
|
|
||||||
|
|
||||||
%description -n libdbus-c++-glib-1-0
|
%description -n libdbus-c++-glib-1-0
|
||||||
Ability to reflect dbus methods and signals into a more natural
|
DBus-c++ attempts to provide a C++ API for D-BUS. The library has
|
||||||
C++ object system. The glib libdbus-c++ library.
|
a glib and an ecore mainloop integration. It also offers an
|
||||||
|
optional own main loop. The glib libdbus-c++ library.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Summary: Development files for libdbus-c++
|
||||||
Requires: libdbus-c++-glib-1-0 = %{version}
|
Requires: libdbus-c++-glib-1-0 = %{version}
|
||||||
Requires: libdbus-c++-1-0 = %{version}
|
Requires: libdbus-c++-1-0 = %{version}
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Summary: Header files for libdbus-c++
|
|
||||||
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Ability to reflect dbus methods and signals into a more natural
|
DBus-c++ attempts to provide a C++ API for D-BUS. The library has
|
||||||
C++ object system. Files for building against libdbus-c++
|
a glib and an ecore mainloop integration. It also offers an
|
||||||
|
optional own main loop. Files for building against libdbus-c++
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
@ -84,20 +86,20 @@ C++ object system. Files for building against libdbus-c++
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
#./autogen.sh
|
#./autogen.sh
|
||||||
|
# FIXME: for some strange reason the 32 bit build needs -lpthread.
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
export LDFLAGS="$LDFLAGS -lexpat"
|
export LDFLAGS="$LDFLAGS -lexpat"
|
||||||
%else
|
%else
|
||||||
export LDFLAGS="$LDFLAGS -lexpat -lpthread"
|
export LDFLAGS="$LDFLAGS -lexpat -lpthread"
|
||||||
%endif
|
%endif
|
||||||
|
# FIXME: The documentation doesn't build do a manual build if need be.
|
||||||
%configure --disable-ecore --enable-doxygen-docs --enable-static=no
|
%configure --disable-ecore --enable-doxygen-docs --enable-static=no
|
||||||
make %{?_smp_flags}
|
make %{?_smp_flags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall
|
||||||
dos2unix -k AUTHORS
|
dos2unix -k AUTHORS
|
||||||
|
|
||||||
|
|
||||||
%post -n libdbus-c++-glib-1-0 -p /sbin/ldconfig
|
%post -n libdbus-c++-glib-1-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libdbus-c++-glib-1-0 -p /sbin/ldconfig
|
%postun -n libdbus-c++-glib-1-0 -p /sbin/ldconfig
|
||||||
@ -116,6 +118,8 @@ dos2unix -k AUTHORS
|
|||||||
%{_libdir}/libdbus-c++-glib-1.so.0
|
%{_libdir}/libdbus-c++-glib-1.so.0
|
||||||
%{_libdir}/libdbus-c++-glib-1.so.0.0.0
|
%{_libdir}/libdbus-c++-glib-1.so.0.0.0
|
||||||
|
|
||||||
|
# TODO: Separate the two lib's devel packages. There's only one set of headers.
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING README TODO
|
%doc AUTHORS COPYING README TODO
|
||||||
|
Loading…
x
Reference in New Issue
Block a user