From 688a4bba71e1e0992cc0639abefe3e005a13fc85 Mon Sep 17 00:00:00 2001 From: Gris Ge Date: Thu, 4 Nov 2021 14:47:50 +0800 Subject: [PATCH] Import the fedora 35 srpm to CentOS 9 stream. Resolves: RHBZ#2004066 Signed-off-by: Gris Ge --- .gitignore | 1 + libqrtr-glib.spec | 73 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 75 insertions(+) create mode 100644 libqrtr-glib.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..438b029 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/libqrtr-glib-1.0.0.tar.xz diff --git a/libqrtr-glib.spec b/libqrtr-glib.spec new file mode 100644 index 0000000..473a4d6 --- /dev/null +++ b/libqrtr-glib.spec @@ -0,0 +1,73 @@ +Name: libqrtr-glib +Version: 1.0.0 +Release: 3%{?dist} +Summary: Support library to use and manage the QRTR (Qualcomm IPC Router) bus. +License: LGPLv2+ +URL: http://freedesktop.org/software/libqrtr-glib +Source: http://freedesktop.org/software/libqmi/libqrtr-glib/%{name}-%{version}.tar.xz + +BuildRequires: gcc +BuildRequires: glib2-devel >= 2.48.0 +BuildRequires: gobject-introspection-devel +BuildRequires: gtk-doc +BuildRequires: pkgconfig(gudev-1.0) >= 147 +BuildRequires: make +BuildRequires: python3 + +%description +This package contains the libraries that make it easier to use and +manage the QRTR (Qualcomm IPC Router) bus. + + +%package devel +Summary: Header files for adding QRTR support to applications that use glib +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: glib2-devel + +%description devel +This package contains the header and pkg-config files for development +applications using QRTR functionality from applications that use glib. + + +%prep +%autosetup -p1 + + +%build +%configure --enable-gtk-doc +%make_build V=1 + + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete +find %{buildroot} -type f -name "*.a" -delete + + +%ldconfig_scriptlets + + +%files +%license COPYING.LIB +%doc NEWS AUTHORS README +%{_libdir}/libqrtr-glib.so.* +%{_libdir}/girepository-1.0/Qrtr-1.0.typelib + + +%files devel +%{_includedir}/libqrtr-glib/ +%{_libdir}/libqrtr-glib.so +%{_libdir}/pkgconfig/qrtr-glib.pc +%{_datadir}/gtk-doc/html/libqrtr-glib/ +%{_datadir}/gir-1.0/Qrtr-1.0.gir + + +%changelog +* Thu Nov 04 2021 Gris Ge - 1.0.0-3 +- Import the fedora 35 srpm to CentOS 9 stream. + +* Thu Jul 22 2021 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Apr 13 2021 Peter Robinson - 1.0.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..9b8955b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (libqrtr-glib-1.0.0.tar.xz) = 8427495c2049fd7dd5ea570dfaa11adce694590aa3ac59b44d5624c240760543bb025334c1c8806544d2167c3d73330d820cf51b609e7861a142c43e399c438b