diff --git a/README.md b/README.md index dce275c..62e04be 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libmbim +libmbim is a glib-based library for talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol. + diff --git a/libmbim.spec b/libmbim.spec new file mode 100644 index 0000000..17dc4cf --- /dev/null +++ b/libmbim.spec @@ -0,0 +1,107 @@ +Name: libmbim +Version: 1.8.0 +Release: 1mamba +Summary: A library for talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.freedesktop.org/wiki/Software/libmbim/ +Source: http://www.freedesktop.org/software/libmbim/libmbim-%{version}.tar.xz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libffi-devel +BuildRequires: libglib-devel +BuildRequires: libpcre-devel +BuildRequires: libselinux-devel +BuildRequires: libsepol-devel +BuildRequires: libz-devel +BuildRequires: udev-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +libmbim is a glib-based library for talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%package tools +Group: Applications/Networking +Summary: Utility applications for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +This package contains utility applications for %{name}. + +%package apidocs +Group: Documentation +Summary: %{name} API documentation +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: gtk-doc + +%description apidocs +This package includes the %{name} API documentation. + +%debug_package + +%prep +%setup -q + +%build +%configure --enable-gtk-doc +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libmbim-glib.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libmbim-glib +%{_includedir}/libmbim-glib/*.h +%{_libdir}/libmbim-glib.a +%{_libdir}/libmbim-glib.la +%{_libdir}/libmbim-glib.so +%{_libdir}/pkgconfig/mbim-glib.pc +%doc NEWS + +%files tools +%defattr(-,root,root) +%{_bindir}/mbim-network +%{_bindir}/mbimcli +%{_mandir}/man1/mbim-network.1* +%{_mandir}/man1/mbimcli.1* + +%files apidocs +%defattr(-,root,root) +%dir %{_datadir}/gtk-doc/html/libmbim-glib +%{_datadir}/gtk-doc/html/libmbim-glib/* + +%changelog +* Sun Mar 16 2014 Automatic Build System 1.8.0-1mamba +- automatic version update by autodist + +* Sun Mar 02 2014 Automatic Build System 1.6.0-1mamba +- automatic version update by autodist + +* Sun Nov 24 2013 Silvan Calarco 1.4.0-1mamba +- package created using the webbuild interface