2 Summary: Qt bindings for oFono
5 Group: System/Libraries
7 Source0: %{name}-%{version}.tar.bz2
8 Requires(post): /sbin/ldconfig
9 Requires(postun): /sbin/ldconfig
10 BuildRequires: pkgconfig(QtCore)
11 BuildRequires: pkgconfig(QtDBus)
14 This package contains the Qt bindings for a number of oFono cellular service
18 Summary: Development files for the oFono Qt bindings
19 Group: Development/Libraries
20 Requires: %{name} = %{version}-%{release}
21 Requires: %{name} = %{version}
24 This package contains the development header files for the oFono Qt bindings.
27 %setup -q -n %{name}-%{version}
31 export QTDIR=/usr/share/qt5
33 qmake install_prefix=/usr
39 make INSTALL_ROOT=%{buildroot} install
41 %post -p /sbin/ldconfig
43 %postun -p /sbin/ldconfig
46 %defattr(-,root,root,-)
50 %defattr(-,root,root,-)
53 %{_libdir}/pkgconfig/*.pc
54 %{_includedir}/ofono-qt/*.h
55 %{_datadir}/qt4/mkspecs/features/*.prf
56 %{_libdir}/libofono-qt/tests/*