package created using the webbuild interface [release 0.3-1mamba;Tue Nov 10 2020]
This commit is contained in:
parent
a85c930ffd
commit
6cf9f93547
@ -1,2 +1,4 @@
|
|||||||
# libportal
|
# libportal
|
||||||
|
|
||||||
|
libportal provides GIO-style async APIs for most Flatpak portals
|
||||||
|
|
||||||
|
67
libportal.spec
Normal file
67
libportal.spec
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
Name: libportal
|
||||||
|
Version: 0.3
|
||||||
|
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
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%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
|
||||||
|
* Tue Nov 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user