From 777525c6d6ae4823b417f51da29147a3b9a790e6 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Mar 29 2022 18:06:51 +0000 Subject: import libqrtr-glib-1.0.0-1.el8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2767253 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libqrtr-glib-1.0.0.tar.xz diff --git a/.libqrtr-glib.metadata b/.libqrtr-glib.metadata new file mode 100644 index 0000000..e6e5120 --- /dev/null +++ b/.libqrtr-glib.metadata @@ -0,0 +1 @@ +50fdd232c8e98f1e6f0e7bbc4c2944c8074b7a93 SOURCES/libqrtr-glib-1.0.0.tar.xz diff --git a/SPECS/libqrtr-glib.spec b/SPECS/libqrtr-glib.spec new file mode 100644 index 0000000..da0cd33 --- /dev/null +++ b/SPECS/libqrtr-glib.spec @@ -0,0 +1,67 @@ +Name: libqrtr-glib +Version: 1.0.0 +Release: 1%{?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 +* Tue Apr 13 2021 Peter Robinson - 1.0.0-1 +- Initial package