Compare commits
10 Commits
24a985f2d9
...
a198d30a9c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a198d30a9c | ||
|
|
1ddf75d992 | ||
|
|
7793bbddc6 | ||
|
|
b3cd602e41 | ||
|
|
5e7d809dbc | ||
|
|
b81295dac9 | ||
|
|
9ef552976f | ||
|
|
3645df7e5e | ||
|
|
85a10ffbbc | ||
|
|
729aebc1a8 |
Binary file not shown.
BIN
libqmi-1.34.0.tar.bz2
Normal file
BIN
libqmi-1.34.0.tar.bz2
Normal file
Binary file not shown.
38
libqmi.spec
38
libqmi.spec
@ -1,11 +1,12 @@
|
||||
Name: libqmi
|
||||
Version: 1.30.8
|
||||
Release: 1
|
||||
Version: 1.34.0
|
||||
Release: 2
|
||||
License: LGPLv2+ and GPLv2+
|
||||
Summary: A glib-based library to use the Qualcomm MSM Interface (QMI) protocol
|
||||
URL: http://freedesktop.org/software/libqmi
|
||||
Source0: http://freedesktop.org/software/libqmi/libqmi-%{version}.tar.xz
|
||||
URL: https://gitlab.freedesktop.org/mobile-broadband/libqmi
|
||||
Source0: https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/archive/%{version}/%{name}-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: meson help2man gobject-introspection-devel
|
||||
BuildRequires: glib2-devel >= 2.32.0 libgudev-devel >= 147 libmbim-devel >= 1.18.0 python3 gtk-doc gcc
|
||||
Provides: libqmi-utils = %{version}-%{release}
|
||||
Obsoletes: libqmi-utils < 1.20.0.4
|
||||
@ -28,15 +29,14 @@ applications using QMI functionality from applications that use glib.
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static --enable-gtk-doc --enable-mbim-qmux
|
||||
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
|
||||
%meson -Dgtk_doc=true -Dbash_completion=false -Dqrtr=false
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot}%{_datadir}/gtk-doc | xargs touch --reference configure.ac
|
||||
%meson_install
|
||||
find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference meson.build
|
||||
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
|
||||
cp -a src/qmicli/qmicli %{buildroot}%{_datadir}/bash-completion/completions/
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
@ -50,6 +50,7 @@ find %{buildroot}%{_datadir}/gtk-doc | xargs touch --reference configure.ac
|
||||
%{_libdir}/libqmi-glib.so.*
|
||||
%{_datadir}/bash-completion
|
||||
%{_libexecdir}/qmi-proxy
|
||||
%{_libdir}/girepository-1.0/Qmi-1.0.typelib
|
||||
|
||||
%files devel
|
||||
%dir %{_includedir}/libqmi-glib
|
||||
@ -59,12 +60,25 @@ find %{buildroot}%{_datadir}/gtk-doc | xargs touch --reference configure.ac
|
||||
%{_libdir}/libqmi-glib.so
|
||||
%{_datadir}/gtk-doc/html/libqmi-glib/*
|
||||
%exclude %{_libdir}/libqmi-glib.la
|
||||
%{_datadir}/gir-1.0/Qmi-1.0.gir
|
||||
|
||||
%files help
|
||||
%doc NEWS AUTHORS README
|
||||
%doc NEWS AUTHORS README.md
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%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
|
||||
- update to 1.30.8
|
||||
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
version_control: github
|
||||
src_repo: freedesktop/libqmi
|
||||
version_control: git
|
||||
src_repo: https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
|
||||
tag_prefix: ^
|
||||
seperator: .
|
||||
separator: .
|
||||
git_url: https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user