libqrtr-glib/libqrtr-glib.spec

69 lines
1.8 KiB
RPMSpec
Raw Permalink Normal View History

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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.2.0-1mamba
- package created using the webbuild interface