Accepting request 758658 from GNOME:Next

New package, needed for updated xdg-desktop-portal(-gtk).

OBS-URL: https://build.opensuse.org/request/show/758658
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libportal?expand=0&rev=1
This commit is contained in:
Bjørn Lie 2019-12-27 16:21:43 +00:00 committed by Git OBS Bridge
commit ab6334765f
5 changed files with 110 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
libportal-0.3.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fd35d66357169e63e33ef46c43fdf22ddc07dbd960ec3462b58ca9ef15a65bd7
size 50016

5
libportal.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sat Dec 21 00:09:15 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
- Inital build for openSUSE, version 0.3.

78
libportal.spec Normal file
View File

@ -0,0 +1,78 @@
#
# spec file for package libportal
#
# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define sover 0
Name: libportal
Version: 0.3
Release: 0
Summary: A GIO-style async APIs for most Flatpak portals
License: LGPL-2.1-or-later
URL: https://github.com/flatpak/libportal
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: gtk-doc
BuildRequires: meson >= 0.46.0
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
%description
A GIO-style async APIs for most Flatpak portals.
%package -n %{name}%{sover}
Summary: Shared library for %{name}
%description -n %{name}%{sover}
A GIO-style async APIs for most Flatpak portals.
This package contains the shared library of %{name}.
%package devel
Summary: A GIO-style async APIs for most Flatpak portals -- Development files
Requires: %{name}%{sover} = %{version}
%description devel
The %{name}-devel package contains libraries, build data, and
header files for developing applications that use %{name}.
%prep
%autosetup -p1
%build
%meson \
%{nil}
%meson_build
%install
%meson_install
%post -n %{name}%{sover} -p /sbin/ldconfig
%postun -n %{name}%{sover} -p /sbin/ldconfig
%files -n %{name}%{sover}
%license COPYING
%{_libdir}/libportal.so.*
%files devel
%doc NEWS README.md
%doc %{_datadir}/gtk-doc/html/libportal
%{_includedir}/%{name}
%{_libdir}/libportal.so
%{_libdir}/pkgconfig/libportal.pc
%changelog