Summary: A Qt implementation of the DBusMenu protocol Name: dbusmenu-qt Version: 0.3.2 Release: 2%{?dist} Group: System Environment/Libraries License: LGPLv2+ URL: http://people.canonical.com/~agateau/dbusmenu/ Source0: http://people.canonical.com/~agateau/dbusmenu/libdbusmenu-qt-%{version}.tar.bz2 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) ## upstream patches # honor LIB_SUFFIX (ie, use /usr/lib64 on 64bit) Patch100: dbusmenu-qt-0.3.2-pkgconfig.patch BuildRequires: cmake BuildRequires: pkgconfig BuildRequires: qjson-devel BuildRequires: qt4-devel Provides: libdbusmenu-qt = %{version}-%{release} %description This library provides a Qt implementation of the DBusMenu protocol. The DBusMenu protocol makes it possible for applications to export and import their menus over DBus. %package devel Summary: Development files for %{name} Group: Development/Libraries Provides: libdbusmenu-devel = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel %{summary}. %prep %setup -q -n libdbusmenu-qt-%{version} %patch100 -p1 -b .pkgconfig %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake} .. popd make %{?_smp_mflags} -C %{_target_platform} %install rm -rf %{buildroot} make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %check # unfortunately, most of these require an active X/dbus session make -C %{_target_platform}/tests check ||: %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING README %{_libdir}/libdbusmenu-qt.so.2* %files devel %defattr(-,root,root,-) %{_includedir}/dbusmenu-qt/ %{_libdir}/libdbusmenu-qt.so %{_libdir}/pkgconfig/dbusmenu-qt.pc %changelog * Sun Apr 25 2010 Rex Dieter 0.3.2-2 - pkg rename s/libdbusmenu-qt/dbusmenu-qt/ - Provides: libdbusmenu-qt(-devel) * Sun Apr 25 2010 Rex Dieter 0.3.2-1 - dbusmenu-qt-0.3.2