Update to 0.5

This commit is contained in:
David King 2022-01-07 15:34:21 +00:00
parent 3fd61862b3
commit 1bc49c3ef3
3 changed files with 113 additions and 9 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/libportal-7355b1e.zip /libportal-7355b1e.zip
/libportal-0.3.tar.xz /libportal-0.3.tar.xz
/libportal-0.4.tar.xz /libportal-0.4.tar.xz
/libportal-0.5.tar.xz

View File

@ -1,22 +1,56 @@
Name: libportal Name: libportal
Version: 0.4 Version: 0.5
Release: 2%{?dist} Release: 1%{?dist}
Summary: Flatpak portal library Summary: Flatpak portal library
License: LGPLv2+ License: LGPLv3
Url: https://github.com/flatpak/libportal Url: https://github.com/flatpak/libportal
Source: https://github.com/flatpak/libportal/releases/download/%{version}/%{name}-%{version}.tar.xz Source: https://github.com/flatpak/libportal/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gtk-doc BuildRequires: gcc-c++
BuildRequires: gi-docgen
BuildRequires: meson BuildRequires: meson
BuildRequires: vala
BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gio-unix-2.0)
# For doc links BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pipewire-doc BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5X11Extras)
%description %description
libportal provides GIO-style asynchronous APIs for most Flatpak portals. libportal provides GIO-style asynchronous APIs for most Flatpak portals.
%package gtk3
Summary: GTK+ 3 libraries for %name
Requires: %{name}%{?_isa} = %{version}-%{release}
%description gtk3
%name provides GIO-style asynchronous APIs for most Flatpak portals.
This package provides files for GTK+ 3 and %name.
%package gtk4
Summary: GTK 4 libraries for %name
Requires: %{name}%{?_isa} = %{version}-%{release}
%description gtk4
%name provides GIO-style asynchronous APIs for most Flatpak portals.
This package provides files for GTK 4 and %name.
%package qt5
Summary: Qt5 libraries for %name
Requires: %{name}%{?_isa} = %{version}-%{release}
%description qt5
%name provides GIO-style asynchronous APIs for most Flatpak portals.
This package provides files for Qt 5 and %name.
%package devel %package devel
Summary: Development files and libraries for %name Summary: Development files and libraries for %name
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
@ -26,6 +60,36 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
This package provides files for development with %name. This package provides files for development with %name.
%package gtk3-devel
Summary: GTK+ 3 development files and libraries for %name
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Requires: %{name}-gtk3%{?_isa} = %{version}-%{release}
%description gtk3-devel
%name provides GIO-style asynchronous APIs for most Flatpak portals.
This package provides files for development with GTK+ 3 and %name.
%package gtk4-devel
Summary: GTK 4 development files and libraries for %name
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Requires: %{name}-gtk4%{?_isa} = %{version}-%{release}
%description gtk4-devel
%name provides GIO-style asynchronous APIs for most Flatpak portals.
This package provides files for development with GTK 4 and %name.
%package qt5-devel
Summary: Qt 5 development files and libraries for %name
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Requires: %{name}-qt5%{?_isa} = %{version}-%{release}
%description qt5-devel
%name provides GIO-style asynchronous APIs for most Flatpak portals.
This package provides files for development with Qt 5 and %name.
%package devel-doc %package devel-doc
Summary: Development documentation for libportal Summary: Development documentation for libportal
BuildArch: noarch BuildArch: noarch
@ -51,17 +115,56 @@ This package provides development documentations for libportal.
%files %files
%license COPYING %license COPYING
%doc README.md NEWS %doc README.md NEWS
%{_libdir}/libportal.so.0* %{_libdir}/girepository-1.0/Xdp-1.0.typelib
%{_libdir}/libportal.so.1*
%files gtk3
%{_libdir}/girepository-1.0/XdpGtk3-1.0.typelib
%{_libdir}/libportal-gtk3.so.1*
%files gtk4
%{_libdir}/girepository-1.0/XdpGtk4-1.0.typelib
%{_libdir}/libportal-gtk4.so.1*
%files qt5
%{_libdir}/libportal-qt5.so.1*
%files devel %files devel
%{_datadir}/gir-1.0/Xdp-1.0.gir
%{_datadir}/vala/vapi/libportal.deps
%{_datadir}/vala/vapi/libportal.vapi
%{_includedir}/libportal %{_includedir}/libportal
%{_libdir}/libportal.so %{_libdir}/libportal.so
%{_libdir}/pkgconfig/libportal.pc %{_libdir}/pkgconfig/libportal.pc
%files gtk3-devel
%{_datadir}/gir-1.0/XdpGtk3-1.0.gir
%{_datadir}/vala/vapi/libportal-gtk3.deps
%{_datadir}/vala/vapi/libportal-gtk3.vapi
%{_includedir}/libportal-gtk3
%{_libdir}/libportal-gtk3.so
%{_libdir}/pkgconfig/libportal-gtk3.pc
%files gtk4-devel
%{_datadir}/gir-1.0/XdpGtk4-1.0.gir
%{_datadir}/vala/vapi/libportal-gtk4.deps
%{_datadir}/vala/vapi/libportal-gtk4.vapi
%{_includedir}/libportal-gtk4
%{_libdir}/libportal-gtk4.so
%{_libdir}/pkgconfig/libportal-gtk4.pc
%files qt5-devel
%{_includedir}/libportal-qt5
%{_libdir}/libportal-qt5.so
%{_libdir}/pkgconfig/libportal-qt5.pc
%files devel-doc %files devel-doc
%{_datadir}/gtk-doc/html/libportal %{_datadir}/doc/libportal-1
%changelog %changelog
* Fri Jan 07 2022 David King <amigadave@amigadave.com> - 0.5-1
- Update to 0.5
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-2 * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (libportal-0.4.tar.xz) = ef05fffa2eb07427a9da10553c7effd82563e1bd54d5900efa7765be6671959211a9c8f8ad126454a8fc6f68c076bdf16ca0072cabf7be95c510bf07953b78bb SHA512 (libportal-0.5.tar.xz) = aebaf9deec38cd05c42cc15df17b46bac1d7310f4653d3c97cc43dd4de8bcbf8f5e31d417335e1269bf75bb0ac5f33ea3f92c914671650cf85b6189a4fc3a2fe