Compare commits
No commits in common. "a198d30a9c3fd35ed06c1ee82103aa15cf272361" and "24a985f2d91acdfef6ecf4363c9c76a575763f57" have entirely different histories.
a198d30a9c
...
24a985f2d9
BIN
libqmi-1.30.8.tar.xz
Normal file
BIN
libqmi-1.30.8.tar.xz
Normal file
Binary file not shown.
Binary file not shown.
38
libqmi.spec
38
libqmi.spec
@ -1,12 +1,11 @@
|
|||||||
Name: libqmi
|
Name: libqmi
|
||||||
Version: 1.34.0
|
Version: 1.30.8
|
||||||
Release: 2
|
Release: 1
|
||||||
License: LGPLv2+ and GPLv2+
|
License: LGPLv2+ and GPLv2+
|
||||||
Summary: A glib-based library to use the Qualcomm MSM Interface (QMI) protocol
|
Summary: A glib-based library to use the Qualcomm MSM Interface (QMI) protocol
|
||||||
URL: https://gitlab.freedesktop.org/mobile-broadband/libqmi
|
URL: http://freedesktop.org/software/libqmi
|
||||||
Source0: https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/archive/%{version}/%{name}-%{version}.tar.bz2
|
Source0: http://freedesktop.org/software/libqmi/libqmi-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: meson help2man gobject-introspection-devel
|
|
||||||
BuildRequires: glib2-devel >= 2.32.0 libgudev-devel >= 147 libmbim-devel >= 1.18.0 python3 gtk-doc gcc
|
BuildRequires: glib2-devel >= 2.32.0 libgudev-devel >= 147 libmbim-devel >= 1.18.0 python3 gtk-doc gcc
|
||||||
Provides: libqmi-utils = %{version}-%{release}
|
Provides: libqmi-utils = %{version}-%{release}
|
||||||
Obsoletes: libqmi-utils < 1.20.0.4
|
Obsoletes: libqmi-utils < 1.20.0.4
|
||||||
@ -29,14 +28,15 @@ applications using QMI functionality from applications that use glib.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson -Dgtk_doc=true -Dbash_completion=false -Dqrtr=false
|
%configure --disable-static --enable-gtk-doc --enable-mbim-qmux
|
||||||
%meson_build
|
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
|
||||||
|
|
||||||
|
LD_LIBRARY_PATH="$PWD/src/libqmi-glib/.libs" %make_build V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%make_install
|
||||||
find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference meson.build
|
find %{buildroot}%{_datadir}/gtk-doc | xargs touch --reference configure.ac
|
||||||
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
|
|
||||||
cp -a src/qmicli/qmicli %{buildroot}%{_datadir}/bash-completion/completions/
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
@ -50,7 +50,6 @@ cp -a src/qmicli/qmicli %{buildroot}%{_datadir}/bash-completion/completions/
|
|||||||
%{_libdir}/libqmi-glib.so.*
|
%{_libdir}/libqmi-glib.so.*
|
||||||
%{_datadir}/bash-completion
|
%{_datadir}/bash-completion
|
||||||
%{_libexecdir}/qmi-proxy
|
%{_libexecdir}/qmi-proxy
|
||||||
%{_libdir}/girepository-1.0/Qmi-1.0.typelib
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%dir %{_includedir}/libqmi-glib
|
%dir %{_includedir}/libqmi-glib
|
||||||
@ -60,25 +59,12 @@ cp -a src/qmicli/qmicli %{buildroot}%{_datadir}/bash-completion/completions/
|
|||||||
%{_libdir}/libqmi-glib.so
|
%{_libdir}/libqmi-glib.so
|
||||||
%{_datadir}/gtk-doc/html/libqmi-glib/*
|
%{_datadir}/gtk-doc/html/libqmi-glib/*
|
||||||
%exclude %{_libdir}/libqmi-glib.la
|
%exclude %{_libdir}/libqmi-glib.la
|
||||||
%{_datadir}/gir-1.0/Qmi-1.0.gir
|
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%doc NEWS AUTHORS README.md
|
%doc NEWS AUTHORS README
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Mar 5 2024 liyanan <liyanan61@h-partners.com> - 1.34.0-2
|
|
||||||
- Add buildrequires gobject-introspection-devel
|
|
||||||
|
|
||||||
* Tue Oct 24 2023 liyanan <liyanan61@h-partners.com> - 1.34.0-1
|
|
||||||
- Update to 1.34.0
|
|
||||||
|
|
||||||
* Sat Jul 22 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 1.33.3-1
|
|
||||||
- update to 1.33.3
|
|
||||||
|
|
||||||
* Mon Feb 20 2023 liyanan <liyanan32@h-partners.com> - 1.30.8-2
|
|
||||||
- fix build error
|
|
||||||
|
|
||||||
* Wed Nov 16 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.30.8-1
|
* Wed Nov 16 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.30.8-1
|
||||||
- update to 1.30.8
|
- update to 1.30.8
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
version_control: git
|
version_control: github
|
||||||
src_repo: https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
|
src_repo: freedesktop/libqmi
|
||||||
tag_prefix: ^
|
tag_prefix: ^
|
||||||
separator: .
|
seperator: .
|
||||||
git_url: https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user