%define major 4 %define libname %mklibname mbim %{major} %define develname %mklibname mbim -d Name: libmbim Version: 1.10.0 Release: %mkrel 5 Summary: MBIM modem protocol helper library License: GPLv2 Group: System/Libraries URL: http://cgit.freedesktop.org/libmbim/libmbim/ Source: http://www.freedesktop.org/software/libmbim/libmbim-%version.tar.xz BuildRequires: glib2-devel BuildRequires: libgudev-devel BuildRequires: gtk-doc %description The Mobile Broadband Interface Model (MBIM) is a new standard to communicate with mobile broadband modem devices developed by the USB Implementors Forum. %package -n %{libname} Summary: Libraries for %{name} Group: Development/C %description -n %{libname} The Mobile Broadband Interface Model (MBIM) is a new standard to communicate with mobile broadband modem devices developed by the USB Implementors Forum. This package contains MBIM shared libraries. %package -n %{develname} Summary: Header files and development libraries for %{name} Group: Development/C Requires: %{libname} = %{version}-%{release} Provides: mbim-devel = %{version}-%{release} %description -n %{develname} The Mobile Broadband Interface Model (MBIM) is a new standard to communicate with mobile broadband modem devices developed by the USB Implementors Forum. This package contains MBIM header files and development libraries. %package utils Summary: MBIM command line utilities License: GPLv2 Group: System/Base %description utils The Mobile Broadband Interface Model (MBIM) is a new standard to communicate with mobile broadband modem devices developed by the USB Implementors Forum. This package contains MBIM command line utilities. %prep %setup -q %build %configure2_5x \ --disable-static \ --enable-gtk-doc %make %install %makeinstall_std rm -f %{buildroot}%{_libdir}/*.la %check make check %files -n %{libname} %doc AUTHORS COPYING NEWS %_libdir/*.so.%{major}* %files -n %{develname} %_includedir/* %_libdir/*.so %_libdir/pkgconfig/*.pc %_datadir/gtk-doc/html/* %files utils %_bindir/mbimcli %_bindir/mbim-network %_libexecdir/mbim-proxy %_mandir/man1/mbimcli.1* %_mandir/man1/mbim-network.1* %changelog * Wed Oct 15 2014 umeabot <umeabot> 1.10.0-5.mga5 + Revision: 747709 - Second Mageia 5 Mass Rebuild * Sat Sep 27 2014 tv <tv> 1.10.0-4.mga5 + Revision: 726743 - rebuild for missing pythoneggs deps * Tue Sep 16 2014 umeabot <umeabot> 1.10.0-3.mga5 + Revision: 681595 - Mageia 5 Mass Rebuild * Thu Aug 07 2014 tv <tv> 1.10.0-2.mga5 + Revision: 660598 - fix major - prevent this packaging error to ever happen again... * Thu Aug 07 2014 guillomovitch <guillomovitch> 1.10.0-1.mga5 + Revision: 660354 - new version 1.10.0 * Mon Mar 10 2014 guillomovitch <guillomovitch> 1.8.0-1.mga5 + Revision: 601839 - new version 1.8.0 * Thu Dec 19 2013 guillomovitch <guillomovitch> 1.6.0-1.mga4 + Revision: 558907 - new version - fix devel package virtual package name * Sat Oct 19 2013 umeabot <umeabot> 1.4.0-2.mga4 + Revision: 531138 - Mageia 4 Mass Rebuild * Thu Aug 01 2013 guillomovitch <guillomovitch> 1.4.0-1.mga4 + Revision: 462160 - imported package libmbim