Blame SPECS/libqmi.spec

11f694
%if 0%{?fedora} || 0%{?rhel} >= 9
11f694
%bcond_without qrtr
11f694
%else
11f694
%bcond_with qrtr
11f694
%endif
11f694
aeb81e
Name: libqmi
11f694
Version: 1.32.2
11f694
Release: 3%{?dist}
aeb81e
Summary: Support library to use the Qualcomm MSM Interface (QMI) protocol
aeb81e
License: LGPLv2+
aeb81e
URL: http://freedesktop.org/software/libqmi
11f694
Source: https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/archive/%{version}/%{name}-%{version}.tar.bz2
11f694
Patch0: 0001-Disable-docs-check.patch
aeb81e
11f694
BuildRequires: meson >= 0.53
aeb81e
BuildRequires: gcc
11f694
BuildRequires: glib2-devel >= 2.56
332374
BuildRequires: gobject-introspection-devel
aeb81e
BuildRequires: gtk-doc
332374
BuildRequires: pkgconfig(gudev-1.0) >= 147
c75313
BuildRequires: libmbim-devel >= 1.18.0
11f694
%if %{with qrtr}
11f694
BuildRequires: libqrtr-glib-devel
11f694
%endif
332374
BuildRequires: python3
11f694
BuildRequires: help2man
aeb81e
aeb81e
%description
aeb81e
This package contains the libraries that make it easier to use QMI functionality
aeb81e
from applications that use glib.
aeb81e
aeb81e
aeb81e
%package devel
aeb81e
Summary: Header files for adding QMI support to applications that use glib
aeb81e
Requires: %{name}%{?_isa} = %{version}-%{release}
11f694
Requires: glib2-devel%{?_isa}
aeb81e
Requires: pkgconfig
aeb81e
aeb81e
%description devel
aeb81e
This package contains the header and pkg-config files for development
aeb81e
applications using QMI functionality from applications that use glib.
aeb81e
332374
aeb81e
%package utils
aeb81e
Summary: Utilities to use the QMI protocol from the command line
aeb81e
Requires: %{name}%{?_isa} = %{version}-%{release}
aeb81e
License: GPLv2+
aeb81e
aeb81e
%description utils
aeb81e
This package contains the utilities that make it easier to use QMI functionality
aeb81e
from the command line.
aeb81e
aeb81e
aeb81e
%prep
41f4f5
%autosetup -p1
332374
aeb81e
aeb81e
%build
11f694
# Let's avoid BuildRequiring bash-completion because it changes behavior
11f694
# of shell, at least until the .pc file gets into the -devel subpackage.
11f694
# We'll just install the bash-completion file ourselves.
11f694
%meson -Dgtk_doc=true -Dbash_completion=false \
11f694
%if %{with qrtr}
11f694
	-Dqrtr=true
11f694
%else
11f694
	-Dqrtr=false
11f694
%endif
11f694
%meson_build
11f694
%ninja_build -C %{_vpath_builddir} libqmi-glib-doc
aeb81e
aeb81e
aeb81e
%install
11f694
%meson_install
11f694
find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference meson.build
332374
find %{buildroot} -type f -name "*.la" -delete
11f694
mkdir -p %{buildroot}%{_datadir}/bash-completion
11f694
cp -a src/qmicli/qmicli %{buildroot}%{_datadir}/bash-completion
11f694
11f694
11f694
%check
11f694
%meson_test
aeb81e
aeb81e
332374
%ldconfig_scriptlets
aeb81e
aeb81e
aeb81e
%files
332374
%license COPYING.LIB
11f694
%doc NEWS AUTHORS README.md
aeb81e
%{_libdir}/libqmi-glib.so.*
332374
%{_libdir}/girepository-1.0/Qmi-1.0.typelib
332374
aeb81e
aeb81e
%files devel
332374
%{_includedir}/libqmi-glib/
aeb81e
%{_libdir}/pkgconfig/qmi-glib.pc
aeb81e
%{_libdir}/libqmi-glib.so
332374
%{_datadir}/gtk-doc/html/libqmi-glib/
332374
%{_datadir}/gir-1.0/Qmi-1.0.gir
332374
aeb81e
aeb81e
%files utils
332374
%license COPYING
aeb81e
%{_bindir}/qmicli
aeb81e
%{_bindir}/qmi-network
aeb81e
%{_bindir}/qmi-firmware-update
332374
%{_datadir}/bash-completion
aeb81e
%{_libexecdir}/qmi-proxy
332374
%{_mandir}/man1/*
aeb81e
aeb81e
aeb81e
%changelog
11f694
* Mon Dec 12 2022 Lubomir Rintel <lkundrak@v3.sk> - 1.32.2-3
11f694
- Update to 1.32.2
11f694
- Build without QRTR
11f694
332374
* Fri Oct 1 2021 Ana Cabral <acabral@redhat.com> - 1.30.2-1
332374
- Upgrade to 1.30.2
332374
41f4f5
* Mon Jul 19 2021 Thomas Haller <thaller@redhat.com> - 1.24.0-3
41f4f5
- fix crash in qmi_endpoint_is_open() (rh #1976888)
41f4f5
41f4f5
* Mon Jul 19 2021 Thomas Haller <thaller@redhat.com> - 1.24.0-2
41f4f5
- fix crash and detect QMI port over smdpkt subsystem (rh #1976886)
41f4f5
39be4e
* Wed Oct 16 2019 Lubomir Rintel <lkundrak@v3.sk> - 1.24.0-1
39be4e
- Update to 1.24.0
39be4e
c75313
* Mon May 06 2019 Lubomir Rintel <lkundrak@v3.sk> - 1.22.4-1
c75313
- Update to 1.22.4
c75313
aeb81e
* Fri Jun 29 2018 Charalampos Stratakis <cstratak@redhat.com> - 1.20.0-4
aeb81e
- Change to Python 3 as a build dependency
aeb81e
aeb81e
* Thu Mar 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.20.0-3
aeb81e
- Update Python 2 dependency declarations to new packaging standards
aeb81e
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
aeb81e
aeb81e
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.0-2
aeb81e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
aeb81e
aeb81e
* Mon Jan 22 2018 Lubomir Rintel <lkundrak@v3.sk> - 1.20.0-1
aeb81e
- Update to 1.18.0
aeb81e
aeb81e
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.0-2
aeb81e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
aeb81e
aeb81e
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.0-1
aeb81e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
aeb81e
aeb81e
* Wed Mar 22 2017 Lubomir Rintel <lkundrak@v3.sk> - 1.18.0-1
aeb81e
- Update to 1.18.0
aeb81e
aeb81e
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.2-2
aeb81e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
aeb81e
aeb81e
* Tue Nov 15 2016 Lubomir Rintel <lkundrak@v3.sk> - 1.16.2-1
aeb81e
- Update to 1.16.2
aeb81e
aeb81e
* Tue Oct 04 2016 Lubomir Rintel <lkundrak@v3.sk> - 1.16.0-2
aeb81e
- Enable hardening
aeb81e
aeb81e
* Fri Jul 08 2016 Lubomir Rintel <lkundrak@v3.sk> - 1.16.0-1
aeb81e
- Update to 1.16.0
aeb81e
aeb81e
* Tue May 03 2016 Lubomir Rintel <lkundrak@v3.sk> - 1.14.2-1
aeb81e
- Update to 1.14.2
aeb81e
aeb81e
* Mon Mar 21 2016 Lubomir Rintel <lkundrak@v3.sk> - 1.14.0-1
aeb81e
- Update to 1.14.0 release
aeb81e
aeb81e
* Tue Mar 01 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 1.12.6-3
aeb81e
- Fix FTBFS with GCC 6 (#1307733)
aeb81e
aeb81e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.6-2
aeb81e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
aeb81e
aeb81e
* Tue Aug 18 2015 Lubomir Rintel <lkundrak@v3.sk> - 1.12.6-1
aeb81e
- Update to 1.12.6 release
aeb81e
aeb81e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.4-3
aeb81e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
aeb81e
aeb81e
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.12.4-2
aeb81e
- Rebuilt for Fedora 23 Change
aeb81e
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
aeb81e
aeb81e
* Wed Feb 11 2015 Lubomir Rintel <lkundrak@v3.sk> - 1.12.4-1
aeb81e
- Update to 1.12.4 release
aeb81e
aeb81e
* Tue Feb 10 2015 Lubomir Rintel <lkundrak@v3.sk> - 1.12.2-1
aeb81e
- Clean up the spec file a bit
aeb81e
- Update to 1.12.2 release
aeb81e
aeb81e
* Thu Jan 15 2015 Dan Williams <dcbw@redhat.com> - 1.12.0-1
aeb81e
- Update to 1.12.0 release
aeb81e
aeb81e
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.2-2
aeb81e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
aeb81e
aeb81e
* Tue Aug  5 2014 Dan Williams <dcbw@redhat.com> - 1.10.2
aeb81e
- Update to 1.10.2 release
aeb81e
aeb81e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-2
aeb81e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
aeb81e
aeb81e
* Sat Feb  1 2014 poma <poma@gmail.com> - 1.8.0-1
aeb81e
- Update to 1.8.0 release
aeb81e
aeb81e
* Fri Sep  6 2013 Dan Williams <dcbw@redhat.com> - 1.6.0-1
aeb81e
- Update to 1.6.0 release
aeb81e
aeb81e
* Fri Jun  7 2013 Dan Williams <dcbw@redhat.com> - 1.4.0-1
aeb81e
- Update to 1.4.0 release
aeb81e
aeb81e
* Fri May 10 2013 Dan Williams <dcbw@redhat.com> - 1.3.0-1.git20130510
aeb81e
- Initial Fedora release
aeb81e