mirror of
https://abf.rosa.ru/djam/libportal.git
synced 2025-02-23 18:22:57 +00:00
Update to 0.6
This commit is contained in:
parent
80e9ae658a
commit
4a7bb953c9
2 changed files with 121 additions and 16 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
libportal-0.3.tar.xz: 1cf65dc6c1a6c3ea053715c1d3bb728db03c021b
|
||||
libportal-0.6.tar.xz: de3a1ff0d1befd1f3d6328e15b22e529de7ab434
|
||||
|
|
135
libportal.spec
135
libportal.spec
|
@ -1,42 +1,145 @@
|
|||
%define major 0
|
||||
%define major 1
|
||||
%define gir_major 1.0
|
||||
%define libname %mklibname portal %{major}
|
||||
%define libgtk3 %mklibname portal-gtk3 %{major}
|
||||
%define libgtk4 %mklibname portal-gtk4 %{major}
|
||||
%define libqt5 %mklibname portal-qt5 %{major}
|
||||
%define girgtk3 %mklibname portal-gir-gtk3 %{major}
|
||||
%define girgtk4 %mklibname portal-gir-gtk4 %{major}
|
||||
%define girqt5 %mklibname portal-gir-qt5 %{major}
|
||||
%define devname %mklibname portal -d
|
||||
|
||||
Name: libportal
|
||||
Version: 0.3
|
||||
Release: 2
|
||||
Version: 0.6
|
||||
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/%{version}/libportal-%{version}.tar.xz
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: meson
|
||||
BuildRequires: git-core
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: meson
|
||||
BuildRequires: qt5-linguist-tools
|
||||
BuildRequires: vala
|
||||
BuildRequires: pkgconfig(gi-docgen)
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(gtk4)
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5X11Extras)
|
||||
BuildRequires: pkgconfig(Qt5Test)
|
||||
|
||||
%description
|
||||
libportal provides GIO-style asynchronous APIs for most Flatpak portals.
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
%package -n %{libname}
|
||||
Summary: %{summary}
|
||||
Summary: Flatpak portal library
|
||||
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
|
||||
%doc README*
|
||||
%license COPYING
|
||||
%{_libdir}/%{name}.so.%{major}*
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
%package -n %{libgtk3}
|
||||
Summary: Flatpak portal gtk3 library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{libgtk3}
|
||||
libportal provides GIO-style asynchronous APIs for most Flatpak portals.
|
||||
|
||||
%files -n %{libgtk3}
|
||||
%doc README*
|
||||
%license COPYING
|
||||
%{_libdir}/%{name}-gtk3.so.%{major}*
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
%package -n %{libgtk4}
|
||||
Summary: Flatpak portal gtk4 library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{libgtk4}
|
||||
libportal provides GIO-style asynchronous APIs for most Flatpak portals.
|
||||
|
||||
%files -n %{libgtk4}
|
||||
%doc README*
|
||||
%license COPYING
|
||||
%{_libdir}/%{name}-gtk4.so.%{major}*
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
%package -n %{libqt5}
|
||||
Summary: Flatpak portal qt5 library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{libqt5}
|
||||
libportal provides GIO-style asynchronous APIs for most Flatpak portals.
|
||||
|
||||
%files -n %{libqt5}
|
||||
%doc README*
|
||||
%license COPYING
|
||||
%{_libdir}/%{name}-qt5.so.%{major}*
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
%package -n %{girgtk3}
|
||||
Summary: GObject Introspection interface description for %{name}
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{girgtk3}
|
||||
GObject Introspection interface description for %{name}.
|
||||
|
||||
%files -n %{girgtk3}
|
||||
%{_libdir}/girepository-1.0/XdpGtk3-%{gir_major}.typelib
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
%package -n %{girgtk4}
|
||||
Summary: GObject Introspection interface description for %{name}
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{girgtk4}
|
||||
GObject Introspection interface description for %{name}.
|
||||
|
||||
%files -n %{girgtk4}
|
||||
%{_libdir}/girepository-1.0/XdpGtk4-%{gir_major}.typelib
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
%package -n %{girqt5}
|
||||
Summary: GObject Introspection interface description for %{name}
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{girqt5}
|
||||
GObject Introspection interface description for %{name}.
|
||||
|
||||
%files -n %{girqt5}
|
||||
%{_libdir}/girepository-1.0/Xdp-%{gir_major}.typelib
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
%package -n %{devname}
|
||||
Summary: Development files and libraries for %name
|
||||
Group: Development/Other
|
||||
Requires: %{libname} = %{EVRD}
|
||||
Requires: %{girgtk3} = %{EVRD}
|
||||
Requires: %{girgtk4} = %{EVRD}
|
||||
Requires: %{girqt5} = %{EVRD}
|
||||
Requires: %{libgtk3} = %{EVRD}
|
||||
Requires: %{libgtk4} = %{EVRD}
|
||||
Requires: %{libqt5} = %{EVRD}
|
||||
Provides: %{name}-devel = %{EVRD}
|
||||
|
||||
%description -n %{devname}
|
||||
|
@ -45,9 +148,11 @@ Provides: %{name}-devel = %{EVRD}
|
|||
This package provides files for development with %name.
|
||||
|
||||
%files -n %{devname}
|
||||
%{_includedir}/libportal
|
||||
%{_libdir}/libportal.so
|
||||
%{_libdir}/pkgconfig/libportal.pc
|
||||
%{_datadir}/gir-1.0/Xdp*-%{gir_major}.gir
|
||||
%{_datadir}/vala/vapi/%{name}*
|
||||
%{_includedir}/%{name}*
|
||||
%{_libdir}/pkgconfig/%{name}*.pc
|
||||
%{_libdir}/%{name}*.so
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
|
@ -62,7 +167,7 @@ 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
|
||||
%{_defaultdocdir}/%{name}-%{major}
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
|
@ -70,7 +175,7 @@ This package provides development documentations for libportal.
|
|||
%autosetup -S git
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson -Dtests=false
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
|
|
Loading…
Add table
Reference in a new issue