libportal/libportal.spec

70 lines
1.7 KiB
RPMSpec
Raw Normal View History

Name: libportal
Version: 0.4
Release: 1mamba
Summary: GIO-style async APIs for most Flatpak portals
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/flatpak/libportal
Source: https://github.com/flatpak/libportal.git/%{version}/libportal-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libglib-devel
## AUTOBUILDREQ-END
%description
libportal provides GIO-style async APIs for most Flatpak portals
%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}/libportal.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libportal
%{_includedir}/libportal/*.h
%{_libdir}/libportal.so
%{_libdir}/pkgconfig/libportal.pc
%dir %{_datadir}/gtk-doc/html/libportal
%{_datadir}/gtk-doc/html/libportal/*
%doc NEWS README.md
%changelog
* Fri Apr 09 2021 Automatic Build System <autodist@mambasoft.it> 0.4-1mamba
- automatic version update by autodist
* Tue Nov 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3-1mamba
- package created using the webbuild interface