Name: libqmi Summary: Support library to use the Qualcomm MSM Interface (QMI) protocol Version: 1.12.0 Release: 1%{?dist} Group: Development/Libraries License: LGPLv2+ URL: http://freedesktop.org/software/libqmi Source: http://freedesktop.org/software/libqmi/%{name}-%{version}.tar.xz BuildRequires: glib2-devel >= 2.32.0 BuildRequires: python >= 2.7 %description This package contains the libraries that make it easier to use QMI functionality from applications that use glib. %package devel Summary: Header files for adding QMI support to applications that use glib Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: glib2-devel Requires: pkgconfig %description devel This package contains the header and pkg-config files for development applications using QMI functionality from applications that use glib. %package utils Summary: Utilities to use the QMI protocol from the command line Requires: %{name}%{?_isa} = %{version}-%{release} License: GPLv2+ %description utils This package contains the utilities that make it easier to use QMI functionality from the command line. %prep %setup -q %build %configure --disable-static # Uses private copy of libtool: # http://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} V=1 %install make install DESTDIR=$RPM_BUILD_ROOT %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc NEWS AUTHORS README %license COPYING %{_libdir}/libqmi-glib.so.* %files devel %dir %{_includedir}/libqmi-glib %{_includedir}/libqmi-glib/*.h %{_libdir}/pkgconfig/qmi-glib.pc %{_libdir}/libqmi-glib.so %dir %{_datadir}/gtk-doc/html/libqmi-glib %{_datadir}/gtk-doc/html/libqmi-glib/* %files utils %{_bindir}/qmicli %{_bindir}/qmi-network %{_mandir}/man1/* %{_libexecdir}/qmi-proxy %changelog * Tue Feb 10 2015 Lubomir Rintel - Clean up the spec file a bit * Thu Jan 15 2015 Dan Williams - 1.12.0-1 - Update to 1.12.0 release * Sun Aug 17 2014 Fedora Release Engineering - 1.10.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Tue Aug 5 2014 Dan Williams - 1.10.2 - Update to 1.10.2 release * Sat Jun 07 2014 Fedora Release Engineering - 1.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Feb 1 2014 poma - 1.8.0-1 - Update to 1.8.0 release * Fri Sep 6 2013 Dan Williams - 1.6.0-1 - Update to 1.6.0 release * Fri Jun 7 2013 Dan Williams - 1.4.0-1 - Update to 1.4.0 release * Fri May 10 2013 Dan Williams - 1.3.0-1.git20130510 - Initial Fedora release