2024-01-06 05:26:09 +01:00
|
|
|
Name: libportal
|
2024-01-06 05:26:09 +01:00
|
|
|
Version: 0.4
|
2024-01-06 05:26:09 +01:00
|
|
|
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
|
2024-01-06 05:26:09 +01:00
|
|
|
* Fri Apr 09 2021 Automatic Build System <autodist@mambasoft.it> 0.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:26:09 +01:00
|
|
|
* Tue Nov 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3-1mamba
|
|
|
|
- package created using the webbuild interface
|