Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
7faa5f1d88
!12 upgrade version to 1.18.2
From: @zhangkea 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
2023-12-28 08:05:50 +00:00
ut001695
50daee5e60 upgrade version 1.18.2 2023-12-28 14:17:12 +08:00
openeuler-ci-bot
de5b66564b
!11 Update to 1.17.0
From: @wu-leilei 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2023-09-06 01:08:10 +00:00
wu-leilei
4e87d27695 Update to 1.17.0 2023-09-05 15:12:34 +08:00
openeuler-ci-bot
e5208cefcc
!10 Update to 1.16.0
From: @dwl301 
Reviewed-by: @zhang__3125, @small_leek 
Signed-off-by: @zhang__3125, @small_leek
2023-02-03 09:58:27 +00:00
dwl301
cdbbc5680b Update to 1.16.0 2023-02-02 15:06:10 +08:00
openeuler-ci-bot
5844b21a35 !4 【轻量级 PR】:update xdg-desktop-portal.spec. : delete %dist
Merge pull request !4 from liweiganga/master
2021-12-17 02:20:45 +00:00
liwiegang
05367973e2 delete %dist 2021-12-13 10:30:05 +08:00
openeuler-ci-bot
bcf9a1b44a !3 Update to 1.7.2
From: @dwl301
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-06-07 20:27:30 +08:00
dwl301
5657425b02 update xdg-desktop-portal.spec. change %build in spec file 2021-06-04 18:49:56 +08:00
3 changed files with 40 additions and 28 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,32 +1,35 @@
%global pipewire_version 0.3.0
%global pipewire_version 0.2.90
%global geoclue_version 2.5.2
%global glib_version 2.63.3
%global glib_version 2.69.1
%global low_memory_monitor_version 2.0
Name: xdg-desktop-portal
Version: 1.7.2
Release: 1%{?dist}
Summary: Portal frontend service to flatpak
License: LGPLv2+
URL: https://github.com/flatpak/xdg-desktop-portal/
Source0: https://github.com/flatpak/xdg-desktop-portal/releases/download/%{version}/%{name}-%{version}.tar.xz
Name: xdg-desktop-portal
Version: 1.18.2
Release: 1
Summary: Portal frontend service to flatpak
License: LGPLv2+
URL: https://github.com/flatpak/xdg-desktop-portal/
Source0: https://github.com/flatpak/xdg-desktop-portal/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: meson
BuildRequires: systemd
BuildRequires: pkgconfig(flatpak)
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(fuse)
BuildRequires: pkgconfig(fuse3)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib_version}
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libgeoclue-2.0) >= %{geoclue_version}
BuildRequires: pkgconfig(libpipewire-0.3) >= %{pipewire_version}
BuildRequires: pkgconfig(libportal)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: python3-dbusmock
BuildRequires: python3-pytest
BuildRequires: /usr/bin/xmlto
%{?systemd_requires}
BuildRequires: systemd
BuildRequires: python3-docutils
Requires: dbus
# Required version for icon validator.
Recommends: flatpak >= 1.2.0
Requires: geoclue2 >= %{geoclue_version}
Requires: glib2 >= %{glib_version}
Recommends: pipewire >= %{pipewire_version}
@ -49,38 +52,32 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The pkg-config file for %{name}.
%prep
%autosetup -p1
%build
##configure --enable-docbook-docs --disable-libportal
%configure --enable-docbook-docs --disable-libportal
%make_build
%meson
%meson_build
%install
%make_install
%meson_install
install -dm 755 %{buildroot}/%{_pkgdocdir}
install -pm 644 README.md %{buildroot}/%{_pkgdocdir}
# This directory is used by implementations such as xdg-desktop-portal-gtk.
install -dm 755 %{buildroot}/%{_datadir}/%{name}/portals
%find_lang %{name}
%post
%systemd_user_post %{name}.service
%systemd_user_post xdg-document-portal.service
%systemd_user_post xdg-permission-store.service
%systemd_user_post xdg-desktop-portal-rewrite-launchers.service
%preun
%systemd_user_preun %{name}.service
%systemd_user_preun xdg-document-portal.service
%systemd_user_preun xdg-permission-store.service
%systemd_user_preun xdg-desktop-portal-rewrite-launchers.service
%files -f %{name}.lang
%doc %{_pkgdocdir}
@ -91,18 +88,33 @@ install -dm 755 %{buildroot}/%{_datadir}/%{name}/portals
%{_datadir}/dbus-1/services/org.freedesktop.portal.Documents.service
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.PermissionStore.service
%{_datadir}/%{name}
%{_datadir}/man/man5/portals.conf.5.gz
%{_libexecdir}/xdg-desktop-portal
%{_libexecdir}/xdg-document-portal
%{_libexecdir}/xdg-permission-store
%{_libexecdir}/xdg-desktop-portal-rewrite-launchers
%{_libexecdir}/xdg-desktop-portal-validate-icon
%{_userunitdir}/%{name}.service
%{_userunitdir}/xdg-document-portal.service
%{_userunitdir}/xdg-permission-store.service
%{_userunitdir}/xdg-desktop-portal-rewrite-launchers.service
%files devel
%{_datadir}/pkgconfig/xdg-desktop-portal.pc
%changelog
* Wed Dec 20 2023 zhangkea <zhangkea@uniontech.com> - 1.18.2-1
- Update to 1.18.2
* Tue Sep 05 2023 wulei <wu_lei@hoperun.com> - 1.17.0-1
- Update to 1.17.0
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 1.16.0-1
- update to 1.16.0
* Mon Dec 13 2021 liweigang <liweiganga@uniontech.com> - 1.7.2-2
- delete %dist
* Fri Jun 04 2021 Wenlong Ding <wenlong.ding@turbolinux.com> - 1.7.2-1
- Update to 1.7.2