|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
%global snapshot .git20130723
|
|
|
|
|
%global snapshot .git20130913
|
|
|
|
|
%global glib2_version 2.32
|
|
|
|
|
%global systemd_dir %{_prefix}/lib/systemd/system
|
|
|
|
|
|
|
|
|
@ -6,8 +6,8 @@
|
|
|
|
|
|
|
|
|
|
Summary: Mobile broadband modem management service
|
|
|
|
|
Name: ModemManager
|
|
|
|
|
Version: 1.0.1
|
|
|
|
|
Release: 1%{snapshot}%{?dist}
|
|
|
|
|
Version: 1.1.0
|
|
|
|
|
Release: 2%{snapshot}%{?dist}
|
|
|
|
|
#
|
|
|
|
|
# Source from git://anongit.freedesktop.org/ModemManager/ModemManager
|
|
|
|
|
# tarball built with:
|
|
|
|
@ -25,8 +25,11 @@ BuildRequires: glib2-devel >= %{glib2_version}
|
|
|
|
|
BuildRequires: libgudev1-devel >= 143
|
|
|
|
|
BuildRequires: automake autoconf intltool libtool
|
|
|
|
|
BuildRequires: intltool
|
|
|
|
|
BuildRequires: dia libxslt gtk-doc
|
|
|
|
|
BuildRequires: libqmi-devel >= 1.4
|
|
|
|
|
BuildRequires: libxslt gtk-doc
|
|
|
|
|
BuildRequires: libqmi-devel >= 1.6
|
|
|
|
|
BuildRequires: libmbim-devel >= 1.5
|
|
|
|
|
BuildRequires: gobject-introspection-devel >= 0.10.3
|
|
|
|
|
BuildRequires: vala-tools vala-devel
|
|
|
|
|
|
|
|
|
|
Patch0: buildsys-hates-openpty.patch
|
|
|
|
|
|
|
|
|
@ -66,6 +69,15 @@ Requires: pkgconfig
|
|
|
|
|
This package contains various headers for accessing some ModemManager functionality
|
|
|
|
|
from glib applications.
|
|
|
|
|
|
|
|
|
|
%package vala
|
|
|
|
|
Summary: Vala bindings for ModemManager
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: vala
|
|
|
|
|
Requires: %{name}-glib%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description vala
|
|
|
|
|
Vala bindings for ModemManager
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0 -p1 -b .pty
|
|
|
|
@ -76,10 +88,10 @@ autoreconf -i --force
|
|
|
|
|
intltoolize --force
|
|
|
|
|
%configure \
|
|
|
|
|
--enable-more-warnings=error \
|
|
|
|
|
--with-udev-base-dir=%{_libdir}/udev \
|
|
|
|
|
--with-udev-base-dir=%{_prefix}/lib/udev \
|
|
|
|
|
--enable-gtk-doc=yes \
|
|
|
|
|
--with-qmi=yes \
|
|
|
|
|
--without-mbim \
|
|
|
|
|
--with-mbim=yes \
|
|
|
|
|
--disable-static \
|
|
|
|
|
--with-polkit=no \
|
|
|
|
|
--with-dist-version=%{version}-%{release}
|
|
|
|
@ -124,7 +136,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
%attr(0755,root,root) %{_bindir}/mmcli
|
|
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
|
%attr(0755,root,root) %{_libdir}/%{name}/*.so*
|
|
|
|
|
%{_libdir}/udev/rules.d/*
|
|
|
|
|
%{_udevrulesdir}/*
|
|
|
|
|
%{_datadir}/dbus-1/interfaces/*.xml
|
|
|
|
|
%{systemd_dir}/ModemManager.service
|
|
|
|
|
%{_datadir}/icons/hicolor/22x22/apps/*.png
|
|
|
|
@ -138,6 +150,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
|
|
%files glib
|
|
|
|
|
%{_libdir}/libmm-glib.so.*
|
|
|
|
|
%{_libdir}/girepository-1.0/*.typelib
|
|
|
|
|
|
|
|
|
|
%files glib-devel
|
|
|
|
|
%{_libdir}/libmm-glib.so
|
|
|
|
@ -146,8 +159,23 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
%{_libdir}/pkgconfig/mm-glib.pc
|
|
|
|
|
%dir %{_datadir}/gtk-doc/html/libmm-glib
|
|
|
|
|
%{_datadir}/gtk-doc/html/libmm-glib/*
|
|
|
|
|
%{_datadir}/gir-1.0/*.gir
|
|
|
|
|
|
|
|
|
|
%files vala
|
|
|
|
|
%{_datadir}/vala/vapi/libmm-glib.*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Sep 13 2013 Dan Williams <dcbw@redhat.com> - 1.1.0-2.git20130913
|
|
|
|
|
- Build with MBIM support
|
|
|
|
|
- Enable Vala bindings
|
|
|
|
|
|
|
|
|
|
* Fri Sep 6 2013 Dan Williams <dcbw@redhat.com> - 1.1.0-1.git20130906
|
|
|
|
|
- Update to latest git snapshot
|
|
|
|
|
|
|
|
|
|
* Mon Aug 26 2013 Dan Williams <dcbw@redhat.com> - 1.0.1-2.git20130723
|
|
|
|
|
- Fix udev rules file paths
|
|
|
|
|
- Remove 'dia' from BuildRequires
|
|
|
|
|
|
|
|
|
|
* Tue Jul 23 2013 Dan Williams <dcbw@redhat.com> - 1.0.1-1.git20130723
|
|
|
|
|
- Update to 1.0.1 release
|
|
|
|
|
- Enable QMI support
|
|
|
|
|