libqrtr-glib/libqrtr-glib.spec

73 lines
2.0 KiB
RPMSpec

Name: libqrtr-glib
Version: 1.2.2
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://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib.git/%{version}/libqrtr-glib-%{version}.tar.bz2
#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
* Mon Jan 16 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.2-1mamba
- update to 1.2.2
* Sat Jan 14 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
- package created using the webbuild interface