Initial import (#1782122).
This commit is contained in:
parent
4128645748
commit
3a1ed17af2
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/libportal-7355b1e.zip
|
71
libportal.spec
Normal file
71
libportal.spec
Normal file
@ -0,0 +1,71 @@
|
||||
%global commit 7355b1e2e98b7c0f8f3d0601ef4d78369b91aad3
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: libportal
|
||||
Version: 0.1
|
||||
Release: 0.1.20191211git%{shortcommit}%{?dist}
|
||||
Summary: Flatpak portal library
|
||||
License: LGPLv2+
|
||||
Url: https://github.com/flatpak/libportal
|
||||
Source: https://github.com/flatpak/libportal/archive/%{commit}/%{name}-%{shortcommit}.zip
|
||||
|
||||
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}%{?_isa} = %{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 -n %{name}-%{commit}
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%check
|
||||
%meson_test
|
||||
|
||||
%files
|
||||
%{_libdir}/libportal.so.0*
|
||||
%doc README*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/libportal
|
||||
%{_libdir}/libportal.so
|
||||
%{_libdir}/pkgconfig/libportal.pc
|
||||
|
||||
%files devel-doc
|
||||
%{_datadir}/gtk-doc/html/libportal
|
||||
|
||||
%changelog
|
||||
* Wed Dec 11 2019 Bastien Nocera <bnocera@redhat.com> - 0.1-0.1.20191211git7355b1e
|
||||
+ libportal-0.1-0.20191211git7355b1e
|
Loading…
Reference in New Issue
Block a user