!1 Add source code.
From: @dwl301 Reviewed-by: @zhang__3125,@dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
0e2d7efec3
BIN
libportal-0.3.tar.xz
Normal file
BIN
libportal-0.3.tar.xz
Normal file
Binary file not shown.
69
libportal.spec
Normal file
69
libportal.spec
Normal file
@ -0,0 +1,69 @@
|
||||
Name: libportal
|
||||
Version: 0.3
|
||||
Release: 1
|
||||
Summary: Flatpak portal library
|
||||
License: LGPLv2+
|
||||
Url: https://github.com/flatpak/libportal
|
||||
Source: https://github.com/flatpak/libportal/releases/download/0.3/libportal-0.3.tar.xz
|
||||
|
||||
BuildRequires: glibc-devel gcc
|
||||
BuildRequires: meson
|
||||
BuildRequires: git
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||
BuildRequires: gtk-doc
|
||||
# For doc links
|
||||
#BuildRequires: pipewire-doc
|
||||
|
||||
%description
|
||||
libportal provides GIO-style asynchronous APIs for most Flatpak portals.
|
||||
|
||||
%package devel
|
||||
Summary: Development files and libraries for %name
|
||||
Group: Development/C
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%name provides GIO-style asynchronous APIs for most Flatpak portals.
|
||||
|
||||
This package provides files for development with %name.
|
||||
|
||||
%package devel-doc
|
||||
Summary: Development documentation for libportal
|
||||
Group: Development/C
|
||||
BuildArch: noarch
|
||||
|
||||
%description devel-doc
|
||||
libportal provides GIO-style asynchronous APIs for most Flatpak portals.
|
||||
|
||||
This package provides development documentations for libportal.
|
||||
|
||||
%prep
|
||||
%autosetup -S git
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%check
|
||||
%meson_test
|
||||
|
||||
%files
|
||||
%{_libdir}/libportal.so.0*
|
||||
%doc README* COPYING
|
||||
|
||||
%files devel
|
||||
%{_includedir}/libportal
|
||||
%{_libdir}/libportal.so
|
||||
%{_libdir}/pkgconfig/libportal.pc
|
||||
|
||||
%files devel-doc
|
||||
%{_datadir}/gtk-doc/html/libportal
|
||||
|
||||
%changelog
|
||||
* Thu Jun 24 2021 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 0.3-1
|
||||
- Init package.
|
||||
|
||||
4
libportal.yaml
Normal file
4
libportal.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: git
|
||||
src_repo: https://github.com/flatpak/libportal.git
|
||||
tag_prefix:
|
||||
seperator: .
|
||||
Loading…
x
Reference in New Issue
Block a user