mirror of
https://abf.rosa.ru/djam/libportal.git
synced 2025-02-23 10:12:56 +00:00
new pkg v0.3
This commit is contained in:
commit
297efed2c9
2 changed files with 83 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
sources:
|
||||||
|
libportal-0.3.tar.xz: 1cf65dc6c1a6c3ea053715c1d3bb728db03c021b
|
81
libportal.spec
Normal file
81
libportal.spec
Normal file
|
@ -0,0 +1,81 @@
|
||||||
|
%define major 0
|
||||||
|
%define libname %mklibname %{name} %{major}
|
||||||
|
%define devname %mklibname %{name} -d
|
||||||
|
|
||||||
|
Name: libportal
|
||||||
|
Version: 0.3
|
||||||
|
Release: 1
|
||||||
|
Summary: Flatpak portal library
|
||||||
|
Group: System/Libraries
|
||||||
|
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
|
||||||
|
BuildRequires: meson
|
||||||
|
BuildRequires: git
|
||||||
|
BuildRequires: pkgconfig(gio-2.0)
|
||||||
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||||
|
BuildRequires: gtk-doc
|
||||||
|
|
||||||
|
%description
|
||||||
|
libportal provides GIO-style asynchronous APIs for most Flatpak portals.
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------
|
||||||
|
%package -n %{libname}
|
||||||
|
Summary: %{summary}
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %{libname}
|
||||||
|
libportal provides GIO-style asynchronous APIs for most Flatpak portals.
|
||||||
|
|
||||||
|
%files -n %{libname}
|
||||||
|
%{_libdir}/libportal.so.%{major}*
|
||||||
|
%doc README* COPYING
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------
|
||||||
|
%package -n %{devname}
|
||||||
|
Summary: Development files and libraries for %name
|
||||||
|
Group: Development/Other
|
||||||
|
Requires: %{libname} = %{EVRD}
|
||||||
|
Provides: %{name}-devel = %{EVRD}
|
||||||
|
|
||||||
|
%description -n %{devname}
|
||||||
|
%name provides GIO-style asynchronous APIs for most Flatpak portals.
|
||||||
|
|
||||||
|
This package provides files for development with %name.
|
||||||
|
|
||||||
|
%files -n %{devname}
|
||||||
|
%{_includedir}/libportal
|
||||||
|
%{_libdir}/libportal.so
|
||||||
|
%{_libdir}/pkgconfig/libportal.pc
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------
|
||||||
|
|
||||||
|
%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.
|
||||||
|
|
||||||
|
%files devel-doc
|
||||||
|
%{_datadir}/gtk-doc/html/libportal
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -S git
|
||||||
|
|
||||||
|
%build
|
||||||
|
%meson
|
||||||
|
%meson_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%meson_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
%meson_test
|
Loading…
Add table
Reference in a new issue