2016-10-04 12:29:06 +00:00
|
|
|
%global _hardened_build 1
|
|
|
|
|
2013-05-13 15:15:45 +00:00
|
|
|
Name: libqmi
|
|
|
|
Summary: Support library to use the Qualcomm MSM Interface (QMI) protocol
|
2017-03-22 19:12:23 +00:00
|
|
|
Version: 1.18.0
|
|
|
|
Release: 0%{?dist}
|
2013-05-13 15:15:45 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
License: LGPLv2+
|
2014-02-05 09:14:51 +00:00
|
|
|
URL: http://freedesktop.org/software/libqmi
|
2015-02-10 13:10:25 +00:00
|
|
|
Source: http://freedesktop.org/software/libqmi/%{name}-%{version}.tar.xz
|
2013-05-13 15:15:45 +00:00
|
|
|
|
2015-02-10 13:10:25 +00:00
|
|
|
BuildRequires: glib2-devel >= 2.32.0
|
2013-05-13 15:15:45 +00:00
|
|
|
BuildRequires: python >= 2.7
|
2016-03-21 13:42:32 +00:00
|
|
|
BuildRequires: gtk-doc
|
2016-07-08 15:02:28 +00:00
|
|
|
BuildRequires: libmbim-devel >= 1.14.0
|
2013-05-13 15:15:45 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains the libraries that make it easier to use QMI functionality
|
|
|
|
from applications that use glib.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Header files for adding QMI support to applications that use glib
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: glib2-devel
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the header and pkg-config files for development
|
|
|
|
applications using QMI functionality from applications that use glib.
|
|
|
|
|
|
|
|
%package utils
|
|
|
|
Summary: Utilities to use the QMI protocol from the command line
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
License: GPLv2+
|
|
|
|
|
|
|
|
%description utils
|
|
|
|
This package contains the utilities that make it easier to use QMI functionality
|
|
|
|
from the command line.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2015-02-10 13:10:25 +00:00
|
|
|
%setup -q
|
2013-05-13 15:15:45 +00:00
|
|
|
|
|
|
|
%build
|
2016-07-08 15:02:28 +00:00
|
|
|
%configure --disable-static --enable-gtk-doc --enable-mbim-qmux
|
2015-02-10 13:10:25 +00:00
|
|
|
|
|
|
|
# Uses private copy of libtool:
|
|
|
|
# http://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath
|
|
|
|
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
|
|
|
|
|
2016-03-21 13:42:32 +00:00
|
|
|
LD_LIBRARY_PATH="$PWD/src/libqmi-glib/.libs" make %{?_smp_mflags} V=1
|
2013-05-13 15:15:45 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
2016-03-21 13:42:32 +00:00
|
|
|
find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac
|
2013-05-13 15:15:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
2015-02-10 13:10:25 +00:00
|
|
|
%doc NEWS AUTHORS README
|
|
|
|
%license COPYING
|
2013-05-13 15:15:45 +00:00
|
|
|
%{_libdir}/libqmi-glib.so.*
|
2016-03-21 13:21:22 +00:00
|
|
|
%{_datadir}/bash-completion
|
2013-05-13 15:15:45 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%dir %{_includedir}/libqmi-glib
|
|
|
|
%{_includedir}/libqmi-glib/*.h
|
|
|
|
%{_libdir}/pkgconfig/qmi-glib.pc
|
|
|
|
%{_libdir}/libqmi-glib.so
|
|
|
|
%dir %{_datadir}/gtk-doc/html/libqmi-glib
|
|
|
|
%{_datadir}/gtk-doc/html/libqmi-glib/*
|
|
|
|
|
|
|
|
%files utils
|
|
|
|
%{_bindir}/qmicli
|
|
|
|
%{_bindir}/qmi-network
|
2017-03-22 19:12:23 +00:00
|
|
|
%{_bindir}/qmi-firmware-update
|
2013-09-13 16:05:24 +00:00
|
|
|
%{_mandir}/man1/*
|
2014-02-05 09:14:51 +00:00
|
|
|
%{_libexecdir}/qmi-proxy
|
2013-05-13 15:15:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2017-03-22 19:12:23 +00:00
|
|
|
* Wed Mar 22 2017 Lubomir Rintel <lkundrak@v3.sk> - 1.18.0-1
|
|
|
|
- Update to 1.18.0
|
|
|
|
|
2017-02-10 19:19:35 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-11-15 13:22:45 +00:00
|
|
|
* Tue Nov 15 2016 Lubomir Rintel <lkundrak@v3.sk> - 1.16.2-1
|
|
|
|
- Update to 1.16.2
|
|
|
|
|
2016-10-04 12:29:06 +00:00
|
|
|
* Tue Oct 04 2016 Lubomir Rintel <lkundrak@v3.sk> - 1.16.0-2
|
|
|
|
- Enable hardening
|
|
|
|
|
2016-07-08 15:02:28 +00:00
|
|
|
* Fri Jul 08 2016 Lubomir Rintel <lkundrak@v3.sk> - 1.16.0-1
|
|
|
|
- Update to 1.16.0
|
|
|
|
|
2016-05-03 11:07:28 +00:00
|
|
|
* Tue May 03 2016 Lubomir Rintel <lkundrak@v3.sk> - 1.14.2-1
|
|
|
|
- Update to 1.14.2
|
|
|
|
|
2016-03-21 13:21:22 +00:00
|
|
|
* Mon Mar 21 2016 Lubomir Rintel <lkundrak@v3.sk> - 1.14.0-1
|
|
|
|
- Update to 1.14.0 release
|
|
|
|
|
2016-03-01 03:28:38 +00:00
|
|
|
* Tue Mar 01 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 1.12.6-3
|
|
|
|
- Fix FTBFS with GCC 6 (#1307733)
|
|
|
|
|
2016-02-04 03:48:20 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-08-18 13:29:42 +00:00
|
|
|
* Tue Aug 18 2015 Lubomir Rintel <lkundrak@v3.sk> - 1.12.6-1
|
|
|
|
- Update to 1.12.6 release
|
|
|
|
|
2015-06-17 16:26:59 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-02-21 21:28:28 +00:00
|
|
|
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.12.4-2
|
|
|
|
- Rebuilt for Fedora 23 Change
|
|
|
|
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
|
|
|
|
2015-02-11 12:00:01 +00:00
|
|
|
* Wed Feb 11 2015 Lubomir Rintel <lkundrak@v3.sk> - 1.12.4-1
|
|
|
|
- Update to 1.12.4 release
|
|
|
|
|
2015-02-10 13:10:58 +00:00
|
|
|
* Tue Feb 10 2015 Lubomir Rintel <lkundrak@v3.sk> - 1.12.2-1
|
2015-02-10 13:10:25 +00:00
|
|
|
- Clean up the spec file a bit
|
2015-02-10 13:10:58 +00:00
|
|
|
- Update to 1.12.2 release
|
2015-02-10 13:10:25 +00:00
|
|
|
|
2015-01-15 19:27:25 +00:00
|
|
|
* Thu Jan 15 2015 Dan Williams <dcbw@redhat.com> - 1.12.0-1
|
|
|
|
- Update to 1.12.0 release
|
|
|
|
|
2014-08-17 05:36:32 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-08-05 14:35:18 +00:00
|
|
|
* Tue Aug 5 2014 Dan Williams <dcbw@redhat.com> - 1.10.2
|
|
|
|
- Update to 1.10.2 release
|
|
|
|
|
2014-06-07 05:09:28 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-02-05 09:14:51 +00:00
|
|
|
* Sat Feb 1 2014 poma <poma@gmail.com> - 1.8.0-1
|
|
|
|
- Update to 1.8.0 release
|
|
|
|
|
2013-09-13 16:05:24 +00:00
|
|
|
* Fri Sep 6 2013 Dan Williams <dcbw@redhat.com> - 1.6.0-1
|
|
|
|
- Update to 1.6.0 release
|
2013-08-03 06:48:25 +00:00
|
|
|
|
2013-06-07 16:51:52 +00:00
|
|
|
* Fri Jun 7 2013 Dan Williams <dcbw@redhat.com> - 1.4.0-1
|
|
|
|
- Update to 1.4.0 release
|
|
|
|
|
2013-05-13 15:15:45 +00:00
|
|
|
* Fri May 10 2013 Dan Williams <dcbw@redhat.com> - 1.3.0-1.git20130510
|
|
|
|
- Initial Fedora release
|
|
|
|
|