Accepting request 400628 from home:scarabeus_iv
Flatpak -> rename from xdg-app, fails because of the sec reviews needed OBS-URL: https://build.opensuse.org/request/show/400628 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/flatpak?expand=0&rev=1
This commit is contained in:
commit
1ea72dc672
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
flatpak-0.6.4.tar.xz
Normal file
3
flatpak-0.6.4.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:19ffcff550e71dfd810df2d465fbde1b5539ce0cb83a4ed6de1558c3e91fb275
|
||||||
|
size 558052
|
1014
flatpak.changes
Normal file
1014
flatpak.changes
Normal file
File diff suppressed because it is too large
Load Diff
196
flatpak.spec
Normal file
196
flatpak.spec
Normal file
@ -0,0 +1,196 @@
|
|||||||
|
#
|
||||||
|
# spec file for package flatpak
|
||||||
|
#
|
||||||
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# 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 http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define libname libflatpak0
|
||||||
|
Name: flatpak
|
||||||
|
Version: 0.6.4
|
||||||
|
Release: 0
|
||||||
|
Summary: Manage OSTree based application bundles
|
||||||
|
License: LGPL-2.1+
|
||||||
|
Group: System/Packages
|
||||||
|
Url: https://flatpak.github.io/
|
||||||
|
Source: https://github.com/flatpak/flatpak/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||||
|
BuildRequires: docbook-xsl-stylesheets
|
||||||
|
BuildRequires: intltool >= 0.35.0
|
||||||
|
BuildRequires: libcap-devel
|
||||||
|
BuildRequires: libdwarf-devel
|
||||||
|
BuildRequires: libelf-devel >= 0.8.12
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: xsltproc
|
||||||
|
BuildRequires: pkgconfig(fuse)
|
||||||
|
BuildRequires: pkgconfig(gio-2.0)
|
||||||
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||||
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.40.0
|
||||||
|
BuildRequires: pkgconfig(gobject-introspection-no-export-1.0) >= 1.40.0
|
||||||
|
BuildRequires: pkgconfig(json-glib-1.0)
|
||||||
|
BuildRequires: pkgconfig(libgsystem) >= 2015.1
|
||||||
|
BuildRequires: pkgconfig(libseccomp)
|
||||||
|
BuildRequires: pkgconfig(libsoup-2.4)
|
||||||
|
BuildRequires: pkgconfig(ostree-1) >= 2015.3
|
||||||
|
BuildRequires: pkgconfig(polkit-gobject-1)
|
||||||
|
BuildRequires: pkgconfig(xau)
|
||||||
|
Requires: ostree >= 2015.3
|
||||||
|
# Remove after openSUSE Leap 42 is out of scope
|
||||||
|
Provides: xdg-app = %{version}
|
||||||
|
Obsoletes: xdg-app <= 0.5.2-2
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%{?systemd_requires}
|
||||||
|
|
||||||
|
%description
|
||||||
|
flatpak is a system for building, distributing and running sandboxed desktop
|
||||||
|
applications on Linux. See https://wiki.gnome.org/Projects/SandboxedApps for
|
||||||
|
more information.
|
||||||
|
|
||||||
|
%package builder
|
||||||
|
Summary: Build helper for %{name}
|
||||||
|
Group: Development/Tools/Building
|
||||||
|
Requires: %{_bindir}/bzr
|
||||||
|
Requires: %{_bindir}/git
|
||||||
|
Requires: %{_bindir}/patch
|
||||||
|
Requires: %{_bindir}/strip
|
||||||
|
Requires: %{_bindir}/tar
|
||||||
|
Requires: %{_bindir}/unzip
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
|
%description builder
|
||||||
|
flatpak-builder is a tool that makes it easy to build applications and their
|
||||||
|
dependencies by automating the configure && make && make install steps.
|
||||||
|
|
||||||
|
%package -n %{libname}
|
||||||
|
Summary: Manage OSTree based application bundles
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %{libname}
|
||||||
|
flatpak is a system for building, distributing and running sandboxed desktop
|
||||||
|
applications on Linux. See https://wiki.gnome.org/Projects/SandboxedApps for
|
||||||
|
more information.
|
||||||
|
|
||||||
|
%package -n typelib-1_0-Flatpak-1_0
|
||||||
|
Summary: Manage OSTree based application bundles -- Introspection bindings
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n typelib-1_0-Flatpak-1_0
|
||||||
|
flatpak is a system for building, distributing and running sandboxed desktop
|
||||||
|
applications on Linux. See https://wiki.gnome.org/Projects/SandboxedApps for
|
||||||
|
more information.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Manage OSTree based application bundles -- Development files
|
||||||
|
Group: Development/Languages/C and C++
|
||||||
|
Requires: %{libname} = %{version}
|
||||||
|
Requires: typelib-1_0-Flatpak-1_0 = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
flatpak is a system for building, distributing and running sandboxed desktop
|
||||||
|
applications on Linux. See https://wiki.gnome.org/Projects/SandboxedApps for
|
||||||
|
more information.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure \
|
||||||
|
--disable-silent-rules \
|
||||||
|
--with-dwarf-header=%{_includedir}/libdwarf \
|
||||||
|
--with-priv-mode=none
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
||||||
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
mkdir -p %{buildroot}%{_sbindir}
|
||||||
|
ln -s service %{buildroot}%{_sbindir}/rcflatpak-system-helper
|
||||||
|
|
||||||
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%service_add_pre flatpak-system-helper.service
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%service_del_preun flatpak-system-helper.service
|
||||||
|
|
||||||
|
%post
|
||||||
|
%service_add_post flatpak-system-helper.service
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%service_del_postun flatpak-system-helper.service
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/flatpak
|
||||||
|
%{_libexecdir}/flatpak-bwrap
|
||||||
|
%{_libexecdir}/flatpak-dbus-proxy
|
||||||
|
%{_libexecdir}/flatpak-session-helper
|
||||||
|
%{_libexecdir}/flatpak-system-helper
|
||||||
|
%{_libexecdir}/xdg-document-portal
|
||||||
|
%{_libexecdir}/xdg-permission-store
|
||||||
|
%{_datadir}/bash-completion/completions/flatpak
|
||||||
|
# # Own dirs so we don't have to depend on dbus for building.
|
||||||
|
%dir %{_datadir}/dbus-1
|
||||||
|
%dir %{_datadir}/dbus-1/interfaces
|
||||||
|
%dir %{_datadir}/dbus-1/services
|
||||||
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.Flatpak.xml
|
||||||
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.Documents.xml
|
||||||
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.PermissionStore.xml
|
||||||
|
%{_datadir}/dbus-1/services/org.freedesktop.Flatpak.service
|
||||||
|
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.PermissionStore.service
|
||||||
|
%{_datadir}/dbus-1/services/org.freedesktop.portal.Documents.service
|
||||||
|
%{_datadir}/dbus-1/system-services/org.freedesktop.Flatpak.SystemHelper.service
|
||||||
|
# policykit rules
|
||||||
|
%{_datadir}/polkit-1/actions/org.freedesktop.Flatpak.policy
|
||||||
|
%{_datadir}/polkit-1/rules.d/org.freedesktop.Flatpak.rules
|
||||||
|
%{_mandir}/man1/%{name}*.1%{ext_man}
|
||||||
|
%exclude %{_mandir}/man1/flatpak-builder.1%{ext_man}
|
||||||
|
%{_datadir}/%{name}/
|
||||||
|
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.Flatpak.SystemHelper.conf
|
||||||
|
%{_sysconfdir}/profile.d/flatpak.sh
|
||||||
|
# Own dirs so we don't have to depend on gdm for building.
|
||||||
|
%dir %{_datadir}/gdm/
|
||||||
|
%dir %{_datadir}/gdm/env.d/
|
||||||
|
%{_datadir}/gdm/env.d/flatpak.env
|
||||||
|
%{_unitdir}/flatpak-system-helper.service
|
||||||
|
%{_sbindir}/rcflatpak-system-helper
|
||||||
|
%{_userunitdir}/flatpak-session-helper.service
|
||||||
|
%{_userunitdir}/xdg-document-portal.service
|
||||||
|
%{_userunitdir}/xdg-permission-store.service
|
||||||
|
|
||||||
|
%files builder
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/flatpak-builder
|
||||||
|
%{_mandir}/man1/flatpak-builder.1%{ext_man}
|
||||||
|
|
||||||
|
%files -n %{libname}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libflatpak.so.*
|
||||||
|
|
||||||
|
%files -n typelib-1_0-Flatpak-1_0
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/girepository-1.0/Flatpak-1.0.typelib
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/pkgconfig/flatpak.pc
|
||||||
|
%{_datadir}/gtk-doc/
|
||||||
|
%{_includedir}/%{name}/
|
||||||
|
%{_libdir}/libflatpak.so
|
||||||
|
%{_datadir}/gir-1.0/Flatpak-1.0.gir
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user