diff --git a/README.md b/README.md index 8b2df46..bc3c8cf 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libqrtr-glib +libqrtr-glib is a glib-based library to use and manage the QRTR (Qualcomm IPC Router) bus. + diff --git a/libqrtr-glib.spec b/libqrtr-glib.spec new file mode 100644 index 0000000..7605fe2 --- /dev/null +++ b/libqrtr-glib.spec @@ -0,0 +1,68 @@ +Name: libqrtr-glib +Version: 1.2.0 +Release: 1mamba +Summary: A glib-based library to use and manage the QRTR (Qualcomm IPC Router) bus +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/linux-mobile-broadband/libqrtr-glib +Source: https://github.com/linux-mobile-broadband/libqrtr-glib.git/%{version}/libqrtr-glib-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libglib-devel +## AUTOBUILDREQ-END +BuildRequires: meson + +%description +libqrtr-glib is a glib-based library to use and manage the QRTR (Qualcomm IPC Router) bus. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%meson +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libqrtr-glib.so.* +%{_libdir}/girepository-1.0/Qrtr-1.0.typelib +%doc AUTHORS + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libqrtr-glib +%{_includedir}/libqrtr-glib/* +%{_libdir}/libqrtr-glib.so +%{_libdir}/pkgconfig/qrtr-glib.pc +%{_datadir}/gir-1.0/Qrtr-1.0.gir +%dir %{_datadir}/gtk-doc/html/libqrtr-glib +%{_datadir}/gtk-doc/html/libqrtr-glib/* +%doc NEWS README.md + +%changelog +* Sat Jan 14 2023 Silvan Calarco 1.2.0-1mamba +- package created using the webbuild interface