Accepting request 945662 from GNOME:Factory
Revert to old version OBS-URL: https://build.opensuse.org/request/show/945662 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libportal?expand=0&rev=6
This commit is contained in:
parent
3bf168c767
commit
3e8679593e
3
libportal-0.4.tar.xz
Normal file
3
libportal-0.4.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3cd5f50907831cf236b40aa14c5a14ccbbf08828cecb3286efa82ce03cacef28
|
||||
size 52520
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d8c8cb18a34e5eeb26a39c94044c955995b01de0e139caac5e18c076cf821b3b
|
||||
size 57420
|
@ -1,34 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 7 23:16:24 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 0.5:
|
||||
+ Relicence to LGPL 3.0
|
||||
+ Fix a refcounting error in xdp_parent_free
|
||||
+ location: Fix location-updated signature
|
||||
+ remote:
|
||||
- Add cursor mode
|
||||
- Support virtual screens
|
||||
- Support persistent sessions
|
||||
+ Rename qt backend to qt5
|
||||
+ Install separate libraries: libportal-gtk3, libportal-gtk4,
|
||||
libportal-qt5
|
||||
+ Add gobject-introspection support
|
||||
+ Add vala support
|
||||
+ Add a GTK4 portal test app, using gjs
|
||||
+ Build documentation using gi-docgen
|
||||
- Add c_compiler, c++_compiler, pkgconfig(gi-docgen),
|
||||
pkgconfig(gobject-introspection-1.0), pkgconfig(gtk+-3.0),
|
||||
pkgconfig(gtk4), pkgconfig(vapigen), pkgconfig(Qt5Core),
|
||||
pkgconfig(Qt5Gui), pkgconfig(Qt5Widgets) and
|
||||
pkgconfig(Qt5X11Extras) BuildRequires: New dependencies.
|
||||
- Drop gtk-doc BuildRequires, no longer needed, nor used.
|
||||
- Replace post(un) handling with ldconfig_scriptlets macro.
|
||||
- Bump sover to 1 following upstream changes, drop libportal0
|
||||
subpackage as it is no longer built, add new subpackages:
|
||||
libportal-1, libportal-gtk3, libportal-gtk4, libportal-qt5,
|
||||
typelib-1_0-Xdp-1_0, typelib-1_0-XdpGtk3-1_0 and
|
||||
typelib-1_0-XdpGtk4-1_0.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 14 22:34:50 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
115
libportal.spec
115
libportal.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libportal
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,93 +16,35 @@
|
||||
#
|
||||
|
||||
|
||||
%define sover 1
|
||||
%define sover 0
|
||||
|
||||
Name: libportal
|
||||
Version: 0.5
|
||||
Version: 0.4
|
||||
Release: 0
|
||||
Summary: A GIO-style async APIs for most Flatpak portals
|
||||
License: LGPL-3.0-or-later
|
||||
License: LGPL-2.1-or-later
|
||||
URL: https://github.com/flatpak/libportal
|
||||
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: c++_compiler
|
||||
BuildRequires: c_compiler
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: meson >= 0.46.0
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5X11Extras)
|
||||
BuildRequires: pkgconfig(gi-docgen)
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(gtk4)
|
||||
BuildRequires: pkgconfig(vapigen)
|
||||
|
||||
%description
|
||||
A GIO-style async APIs for most Flatpak portals.
|
||||
|
||||
%package -n %{name}-%{sover}
|
||||
%package -n %{name}%{sover}
|
||||
Summary: Shared library for %{name}
|
||||
|
||||
%description -n %{name}-%{sover}
|
||||
%description -n %{name}%{sover}
|
||||
A GIO-style async APIs for most Flatpak portals.
|
||||
This package contains the shared library of %{name}.
|
||||
|
||||
%package -n %{name}-gtk3-%{sover}
|
||||
Summary: Shared library for %{name}
|
||||
|
||||
%description -n %{name}-gtk3-%{sover}
|
||||
A GIO-style async APIs for most Flatpak portals.
|
||||
This package contains the shared library of %{name}.
|
||||
|
||||
%package -n %{name}-gtk4-%{sover}
|
||||
Summary: Shared library for %{name}
|
||||
|
||||
%description -n %{name}-gtk4-%{sover}
|
||||
A GIO-style async APIs for most Flatpak portals.
|
||||
This package contains the shared library of %{name}.
|
||||
|
||||
%package -n %{name}-qt5-%{sover}
|
||||
Summary: Shared library for %{name}
|
||||
|
||||
%description -n %{name}-qt5-%{sover}
|
||||
A GIO-style async APIs for most Flatpak portals.
|
||||
This package contains the shared library of %{name}.
|
||||
|
||||
%package -n typelib-1_0-Xdp-1_0
|
||||
Summary: Introspections files for libportal
|
||||
|
||||
%description -n typelib-1_0-Xdp-1_0
|
||||
A GIO-style async APIs for most Flatpak portals.
|
||||
This package contains the introspection files of %{name}.
|
||||
|
||||
%package -n typelib-1_0-XdpGtk3-1_0
|
||||
Summary: Introspections files for libportal
|
||||
|
||||
%description -n typelib-1_0-XdpGtk3-1_0
|
||||
A GIO-style async APIs for most Flatpak portals.
|
||||
This package contains the introspection files of %{name}.
|
||||
|
||||
%package -n typelib-1_0-XdpGtk4-1_0
|
||||
Summary: Introspections files for libportal
|
||||
|
||||
%description -n typelib-1_0-XdpGtk4-1_0
|
||||
A GIO-style async APIs for most Flatpak portals.
|
||||
This package contains the introspection files of %{name}.
|
||||
|
||||
%package devel
|
||||
Summary: A GIO-style async APIs for most Flatpak portals -- Development files
|
||||
Requires: %{name}-%{sover} = %{version}
|
||||
Requires: %{name}-gtk3-%{sover} = %{version}
|
||||
Requires: %{name}-gtk4-%{sover} = %{version}
|
||||
Requires: %{name}-qt5-%{sover} = %{version}
|
||||
Requires: typelib-1_0-Xdp-1_0 = %{version}
|
||||
Requires: typelib-1_0-XdpGtk3-1_0 = %{version}
|
||||
Requires: typelib-1_0-XdpGtk4-1_0 = %{version}
|
||||
Requires: %{name}%{sover} = %{version}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries, build data, and
|
||||
@ -119,45 +61,18 @@ header files for developing applications that use %{name}.
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%ldconfig_scriptlets -n %{name}-%{sover}
|
||||
%ldconfig_scriptlets -n %{name}-gtk3-%{sover}
|
||||
%ldconfig_scriptlets -n %{name}-gtk4-%{sover}
|
||||
%ldconfig_scriptlets -n %{name}-qt5-%{sover}
|
||||
%post -n %{name}%{sover} -p /sbin/ldconfig
|
||||
%postun -n %{name}%{sover} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{name}-%{sover}
|
||||
%files -n %{name}%{sover}
|
||||
%license COPYING
|
||||
%{_libdir}/libportal.so.%{sover}*
|
||||
|
||||
%files -n %{name}-gtk3-%{sover}
|
||||
%{_libdir}/libportal-gtk3.so.%{sover}*
|
||||
|
||||
%files -n %{name}-gtk4-%{sover}
|
||||
%{_libdir}/libportal-gtk4.so.%{sover}*
|
||||
|
||||
%files -n %{name}-qt5-%{sover}
|
||||
%{_libdir}/libportal-qt5.so.%{sover}*
|
||||
|
||||
%files -n typelib-1_0-Xdp-1_0
|
||||
%{_libdir}/girepository-1.0/Xdp-1.0.typelib
|
||||
|
||||
%files -n typelib-1_0-XdpGtk3-1_0
|
||||
%{_libdir}/girepository-1.0/XdpGtk3-1.0.typelib
|
||||
|
||||
%files -n typelib-1_0-XdpGtk4-1_0
|
||||
%{_libdir}/girepository-1.0/XdpGtk4-1.0.typelib
|
||||
%{_libdir}/libportal.so.*
|
||||
|
||||
%files devel
|
||||
%doc NEWS README.md
|
||||
%doc %{_datadir}/doc/libportal-1
|
||||
%doc %{_datadir}/gtk-doc/html/libportal
|
||||
%{_includedir}/%{name}
|
||||
%{_includedir}/libportal-gtk3
|
||||
%{_includedir}/libportal-gtk4
|
||||
%{_includedir}/libportal-qt5
|
||||
%{_libdir}/libportal*.so
|
||||
%{_libdir}/pkgconfig/libportal*.pc
|
||||
%dir %{_datadir}/vala/vapi
|
||||
%{_datadir}/vala/vapi/libportal*.deps
|
||||
%{_datadir}/vala/vapi/libportal*.vapi
|
||||
%{_datadir}/gir-1.0/Xdp*-1.0.gir
|
||||
%{_libdir}/libportal.so
|
||||
%{_libdir}/pkgconfig/libportal.pc
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user