From 1ea72dc672c42fd1094478485d3d0c7cd75ab55231ad26c483e135651437142a Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 15 Jun 2016 10:03:45 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 + .gitignore | 1 + flatpak-0.6.4.tar.xz | 3 + flatpak.changes | 1014 ++++++++++++++++++++++++++++++++++++++++++ flatpak.spec | 196 ++++++++ 5 files changed, 1237 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 flatpak-0.6.4.tar.xz create mode 100644 flatpak.changes create mode 100644 flatpak.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/flatpak-0.6.4.tar.xz b/flatpak-0.6.4.tar.xz new file mode 100644 index 0000000..10f498e --- /dev/null +++ b/flatpak-0.6.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:19ffcff550e71dfd810df2d465fbde1b5539ce0cb83a4ed6de1558c3e91fb275 +size 558052 diff --git a/flatpak.changes b/flatpak.changes new file mode 100644 index 0000000..b94da6a --- /dev/null +++ b/flatpak.changes @@ -0,0 +1,1014 @@ +------------------------------------------------------------------- +Wed Jun 8 08:09:11 UTC 2016 - tchvatal@suse.com + +- Version update to 0.6.4: + * Rename to flatpack + * New homepage and download url + * Various fixes + +------------------------------------------------------------------- +Wed Apr 20 11:19:06 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.5.2: + + The way locale extensions work has changed. Now we build a + single extension for all locales, but we allow you to specify a + subset of it during installation and update time using the + --subpath commandline flag. The main reason for this is that + the many extensions didn't scale, both in technical terms + (large ostree summary file size), but also in terms of the UI + listing hundreds of uninteresting things. + + We no longer use sizes in the commit objects to get installed + and download size, instead we store some extra metadata in the + summary file. This allows us to get much faster access to + these, as with recent ostree versions we can cache the summary + file. + + New command xdg-app build-sign that lets you sign a commit at + any time. + + New argument xdg-app build --force-clean that removes + pre-existing build dirs. + + xdg-app run now uses the "current" version as the default if + you specify no branch or arch. It used to default to the + "master" branch. This will default to the last installed + version, but can be changed with xdg-app make-current. + + Added config-opts to the build-options in xdg-app-builder. This + allows you to extend the configure flags in an arch dependent + way. + + Documentation updates. + +------------------------------------------------------------------- +Fri Apr 08 14:33:59 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.5.1: + + xdg-app-builder: Don't export if --build-only specified. + + Prefer non-subdir extensions over subdir ones.. + + builder: Build single every-locale extension. + + Extract icons for all appstream components. + + Document xdg-app-build-bundle. + + Align contents of xdg-app.1 with xdg-app --help. + + Don't check that the name is a branch. + + Add xdg-app info to docs. + + builder: Use the right field for the platform cache checksum. + + builder: Checksum metadata-platform contents for cache too. + + builder: Actually respect the defined branch. + + Fix indentation. + + Support endianness markers in bundle files. + + seccomp: Always try to do the socket filtering, but don't fail + if not supported. + + seccomp: Allow running the target arch. + + doc: Minor reshuffling. + + XdgAppInstallation: Fix a doc typo. + + version information: Add documentaiton. + + XdgAppError: Add documentation. + + XdgAppInstallation: Add documentation. + + XdgAppRef: Add documentation. + + XdgAppInstalledRef: Add documentation. + + XdgAppRemoteRef: Add documentation. + + XdgAppRemote: Add documentation. + + docs: Pick up the version number automatically. + + docs: No need for a deprecated index. + + docs: Exclude more private headers. + + docs: Fix a typo. + + docs: Hide class structs. + + doc: Add xdg_app_installation_install_bundle. + + More class hiding. + + docs: Document XdgProgressCallback. + + helper: Use 64bit capset/capget versions. + + Release 0.5.1. + +------------------------------------------------------------------- +Thu Mar 17 10:31:33 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.5.0: + + Change xdg_app_bundle_ref_get_appdata to + xdg_app_bundle_ref_get_appstream. + + Update test-lib.c with the appstream api change. + + lib: Fix a tiny leak. + + lib: Add xdg_app_bundle_ref_get_origin(). + + Search for dwarf.h in configure. + + Post release version bump. + + Force /bin/sh as a shell. + + Ensure that the .ref file is always replaced. + + Get the new glnx_fd_close. + + Reimplement fuse backend. + + Now newlines needed in g_debug calls. + + Don't enumerate noenumerate remotes. + + document portal: Avoid some deadlock. + + fuse: Store basename in dir so we don't have to keep looking it + up. + + Flesh out document portal tests. + + xdg-app-buildeR: Remove unnecessary spew. + + No need for newlines in g_debug messages. + + Never use gvfs in the session helper. + + Avoid warning about refing null GVariant. + + Add change notification for the permissions store. + + Don't unnecessarily grow the buffer when loading files. + + Enabling gpg means require both signed commits and summaries. + + Update summary after generating deltas. + + Bump version to 0.5.0. + + Update NEWS. + + Add major_version to binary age. + +------------------------------------------------------------------- +Fri Mar 11 12:50:11 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.4.13: + + Fix xml printing of nodes with no children. + + Set xdg-app as the log domain. + + docs: Add docs for shell sources. + + Add a file header to bundles. + + builder: Add builder_get_debuginfo_file_references. + + builder: Build runtimes in /run/build-runtime. + + builder: Add sources referenced from debuginfo into Debug + runtime. + + Make /run/build and /run/build-runtime symlinks to the right + place. + + build-bundle: Add metadata file as metadata element. + + Fix typos in header. + + common: Break out bundle loader to helper utility. + + Remove unused variable. + + lib: Add XdgAppBundleRef. + + bundles: Verify that the header metadata matches the deployed + one at install. + + common: Move part of bundle install to helper functions. + + Remove origin repos on uninstall. + + Add test scripts that create trivial a runtime and app. + + Add make-test-bundles.sh. + + bundles: Don't lock during pull. + + lib: Add xdg_app_installation_install_bundle. + + Fix some compiler warning (unused vars). + + Allow specifying subdir of xdg dir, like: + --filesytem=xdg-download/subdir. + + Support --filesystem=xdg-run/foo. + + common: Break out xml appstream rewriting to helper functions. + + Add appdata to test apps. + + common: Add xdg_app_read_stream helper. + + common: Add and use xdg_app_appstream_xml_root_to_data. + + build-bundle: Extract appdata and icons into metadata. + + lib: Add XdgAppBundleRef api to get appdata and icons. + + build-update-repo: Add --generate-static-deltas option. + + lib: Add xdg_app_bundle_ref_get_installed_size(). + + Update version to 0.4.13. +- Add libdwarf-devel BuildRequires: new dependency. + +------------------------------------------------------------------- +Fri Mar 11 12:49:56 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.4.12: + + Update exports on uninstall too. + + Pass location of exports to triggers as arg1. + + Add option to disable sandbox triggers. + + Update exports on uninstall via library too. + + builder: Put all builds in a .xdg-app-builder/build subdir. + + helper: If stdout is a tty, mount tty as /dev/console. + + When rewriting Exec lines, don't use full bindir. + + Revert "When rewriting Exec lines, don't use full bindir". + + Allow overriding XDG_APP_BINDIR using make vars. + + Work around race when doing first initial appstream checkout. + + info: Fix support for system installed runtimes (typo). + + Make system repo bare-user too, to avoid any chance of creating + setuid bits. + + helper: drop caps in launcher. + + builder: Report errors if eu_strip fails. + + lib: Return GBytes from xdg_app_installed_ref_load_metadata(). + + lib: Add xdg_app_installation_get_path. + + builder: Always create unversioned symlinks while building + modules. + + builder: Add build_context_get_build_dir(). + + builder: Move CFLAGS/CXXFLAGS handling into BuilderOptions. + + builder: Add support for --run to start a command in the + build dir. + + builder: Support local archives with path property. + + build-init: Support --tag=FOO. + + builder: Support tags. + + deploy: Add metadata tags to exported desktop files. + + appstream: Add runtime, sdk and tags to appstream xml. + + Add xdg_app_installation_get_remote_by_name. + + Remove all appstream checkouts and mirrored refs when deleting + remote. + + common: Add XDG_APP_CP_FLAGS_MOVE support. + + Add docs for appstream-compose option. + + builder: Support separating out locale data. + + Move migrate_locales to builder-utils.c. + + Migrate locales after importing parent runtime. + + Add support for separated locales when creating platforms. + + Always create /etc/passwd,group,resolve.conf,machine-id when + deploying. + + Fix use after free. + + helper: Put monitor path in /run/host instead of + /run/user/$uid. + + When deploying, always make /etc/resolve.conf a symlink into + the monitor dir. + + Release 0.4.12. + +------------------------------------------------------------------- +Tue Feb 16 09:59:06 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.4.11: + + install: Fix assertion on runtime install + + Release 0.4.11 + +------------------------------------------------------------------- +Tue Feb 16 09:58:55 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.4.10: + + Fix some g_propagate_error typos + + builder: Avoid reusing set GError + + Make sure we export files during install + + Updated for release + +------------------------------------------------------------------- +Tue Feb 16 09:58:44 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.4.9: + + install: Only set current for apps, not for runtimes + + builder: Add shell source + + helper: Make ~/.local/share/xdg-app writable again (if you have + homedir access) + + builder: Use non-parallel-make option instead of looking at + .NONPARALLEL + + Add xdg-app info command + + builder: Store exact sdk commit id in the build cache and + manifest + + lib: Fix crash during uninstall + + install-app: Actually look for apps, not runtimes + + common: Always resolve active symlink when looking up deploy + dir + + Add app-path to the xdg-app-info in the sandbox + + app-utils: typo + + Don't export app-info files + + builder: Use predictable names for build dirs + + Make arches canonical + + Bump version to 0.4.9 + +------------------------------------------------------------------- +Tue Feb 16 09:58:34 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.4.8: + + update-repo: Escape text when writing xml + + docs: Fix gtk-doc documentation + + helper: Make user namespace support vs setuid a runtime, not + build-time option + + Require some way to set cgroup for apps (currently systemd + --user) + + Avoid gtk-doc warnings: multiple ID for constraint linkend + + Complete documentation for XdgAppInstallation + + Document the structs in libxdg-app + + Fix some misc. gtk-doc warnings + + lib: Add some missing docs + + lib: Fix up doc details + + Make xauth use optional + + Finish the optional xauth work + + Fix include order to build with older libsoup versions + + helper: Update the error messages to not refer to + --disable-userns + + utils: Fix nul termination of xdg_app_spawn output + + builder: Skip checking out disabled submodules + + builder: Style fixes + + Build top-level directory before building documentation + + Hide non-public symbols from libglnx and libxdgapp-common + + Rename xdg-app-session.service to the recommended name + + Add systemd user units corresponding to the D-Bus session + services + + .gitignore: ignore tests and their results + + test-doc-portal: split out global setup/teardown into functions + + test-doc-portal: skip all tests if no FUSE + + Consistently call g_assert_no_error before other assertions + + Move XDG_APP_SYSTEMDIR to /var/lib/xdg-app or similar + + Support a proxy on the system bus similar to the one on the + session bus + + Disable gtkdoc-check by default for now + + Distribute .service.in files in tarballs + + Remove unset variable from EXTRA_DIST + + Update tests' dependencies for commit 2f38ec65 + + Release 0.4.8 + +------------------------------------------------------------------- +Tue Feb 16 09:58:23 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.4.7: + + libglnx: Update to get glib 2.44 build fix + + lib: Change how listing installed refs work + + lib: Return GPtrArray from xdg_app_remote_list_refs_sync + + lib: Always use "branch" not "version" in API + + apps: Use "branch", not "version" when talking about app + branches + + lib: get_current => get_is_current + + lib: Move fetch_metadata_sync from RemoteRef to Remote + + lib: Move app launching to XdgAppInstallation + + lib: Move all sync operations from XdgAppRemote to + XdgAppInstallation + + lib: Make list_remotes return a GPtrArray + + lib: Add xdg_app_ref_format_ref + + lib: Add xdg_app_installation_list_installed_refs_for_update + + common: Add xdg_app_strcmp0_ptr and use it in all + g_ptr_array_sort calls + + ls-remote: Support showing remote commit ids + + list-*: Show active commit ids + + app: Limit commit id output to 12 chars + + app: Use space, not tab to delimit columns + + app: Support --no-pull and --no-deploy in the install and + update commands + + common: Add xdg_app_dir_read_latest helper + + lib: Expose latest_commit on installed app and let you use it + + lib: Always initialize the repo on Installation creation + + lib: Add cancellable to Installation constructors + + apps: Make it more obvious that system repo is default + + list-remotes: Default to list only system remotes + + install-bundle: Make the repo title shorter + + lib/app: Add support for repo priorities + + builder: Add --disable-updates + + XdgAppDir: Touch .changes file each time something changes + + lib: Add xdg_app_installation_create_monitor + + XdgAppDir: Remove leftover spew + + build-finish: Add --no-exports + + build-export: Add --runtime commit support + + build-export: Look in the right keyfile group when exporting + runtimes + + add-remote: Fix typo in prio handling + + add-remote: Fix typo in no-enumerate handling + + build-export: FLAGS_GENERATE_SIZES when commiting + + builder: Print all files removed by cleanup + + builder: Use libelf to detect elf files + + builder: Add support for separating out debuginfo + + builder: Break out helpers for path matching + + builder: Pass down keep-build-dirs via BuildContext + + builder: Pass down global cleanups via BuildContext + + builder: Match debuginfo files against regular cleanup patterns + + builder: Clean up how the commit filters work + + common: Move path_match_prefix to common + + export: Support --exclude + + builder: Create metadata.debuginfo if debug info exists + + export: Allow custom source for "files" and "metadata" + + run: Fix support for app extensions + + builder: Add support for exporting with --repo=foo + + export: Add docs for the new command line arguments + + build-finish: Don't leave empty directories in the exports dir + + helper: Print nicer error messages when user namespaces don't + work. + + run: Be more flexible with --runtime option, and add + --runtime-version + + helper: Add missing arguments to usage output + + helper: Allow specifying initial cwd + + build: Add --bind-mount and --build-dir arguments + + builder: Run builds in /run/build/$modulename + + helper: Align help output + + builder: Add option to enable ccache use in build + + builder: Pass --body, --subject and --gpg-sign to build-export + + builder: Don't break if ccache not enabled. + + builder: Add some more spew when exporting + + builder: Fix handling of builddir + + install: Fix printing of NULL in already-installed error + message + + builder: Fix up cleanup matching + + builder: Add support for rename-appdata-file option + + build-finish: Export appdata files + + builder: Change the way the cache is indexed + + xdg-app: Deprecate install/update/uninstall-app/runtime + + xdg-app: Update the command names and make nicer usage output + + docs: Update for the new command names + + Merge list-apps and list-runtimes into single list command + + remote-ls: Regularize --runtime and --app user + + completion: Update to the new cli commands + + builder: Also apply cleanup to changes in usr + + XdgAppDir: Add helper to fetch the size info for a commit + + lib: xdg_app_installation_fetch_remote_size_sync + + builder: Add some spew when downloading files + + Better handling of the title in the summary + + common: Add XdgAppTempDir which cleans up temporary directories + + build-repo-update: Update appdata branch using appdata-builder + + xdg_app_installation_list_remote_refs_sync: Don't crash on + weird refs + + build-update-repo: Add --appdata update option + + XdgAppDir: Document some args to xdg_app_dir_fetch_sizes + + lib: Add xdg_app_installation_update_appdata_sync + + builder: Don't delete the APPDIR directory + + docs: Add missing full stops in xdg-app-builder manpage + + cache: Remove target directory before checking out cache + + build-export: Add --include option + + builder: Correctly handling non-existing app dir when applying + cache + + builder: Allow building runtime sdks (based on existing sdk) + + Builder: Support commiting a platform + + builder: Fix random crash due to uninitialized memory + + cache: Don't fail to create cache if parent dir is not created + + The plural of appdata is appstream + + Add support to gpg sign summaries and appstream + + builder: Handle modules with invalid refname characters in the + cache + + override: Fix error if override file doesn't already exist + + build-update-repo: Add --prune and --prune-depth options + + override: Fix warning + + Remove unused variables + + Fix possible read of uninitialized variable + + builder: Fix error with va_start use + + builder: Remove leftover debug spew + + lib: Add getter for installed size on InstalledRef + + lib: Add xdg_app_remote_get_appstream_dir + + build-finish: Fix exports + + lib: update_appstream - work around main context issue + + update-appstream: Don't fail badly if remote has not appstream + branch + + lib: Allow passing NULL for remote name in update_appstream + + appstream: Don't try to remove old appstream if it doesn't + exist + + Revert "lib: Allow passing NULL for remote name in + update_appstream" + + builder: Put debuginfo in the right place for runtimes + + common: Add xdg_app_list_extensions util + + run: Use the new xdg_app_list_extensions helper + + build-init: Add --sdk-extension + + builder: Support sdk-extensions + + builder: Add platform-extensions + + appstream: Add timestamp which is updated each time the + appstream is pulled + + lib: Add xdg_app_ref_parse + + build-finish: Export app-info, not appdata + + build-update-repo: Update the appstream using a GMarkup parser + on the app-info files + + utils: Extract the xml helpers + + build: When using a writable /usr, don't use runtime extensions + + xdg-app-utils: Add autocleanup for GZlib* + + common: Add xdg_app_cp_a + + build-init: Don't copy uid/gid when initializing a writable sdk + + common: fix handling of no_chown in xdg_app_cp_a + + build-init: Also use the new cp_a for sdk extensions + + build-export: Never export files you can't read + + builder: Add some spew before build-init + + builder: Add spew when commiting to cache + + XdgAppDir: Make sure we always constole end status lines that + we start + + dir: Properly finish OstreeAsyncProgress objects + + lib: Properly finishe OstreeAsyncProgress objects + + update: Make both branch and name optional + + Move the GZlib* autoptr backport to libglnx + + builder: support using appstream-compose to create appstream + files + + Always build libxmlapp + + update-appstream: Fix crash in case there are no 128x128 icons + + Update NEWS for release + + Bump version to 0.4.7 +- Add libelf-devel BuildRequires: new dependency. +- Split out new packages: libxdg-app0, typelib-1_0-XdgApp-1_0 and + a -devel package. + +------------------------------------------------------------------- +Thu Dec 24 01:03:35 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.4.6: + + utils: Add xdg_app_supports_bundles + + add build-bundle command + + Add install-bundle command + + Add completion for bundle ops + + Drop dump-runtime command for now + + Always make it possible to talk to the built in portals + + Add xdg-app.pc file with variable for interfaces_dir + + lib: Export xdg_app_context_set_session_bus_policy + + deploy: Explicitly pull from the origin + + Add autoptr cleanup backport for SoupUri + + Handle PWD env var correctly when spawning apps/builds + + build: Set fs access before applying args so you can + override it + + Add xdg-app-builder + + builder: Add --build-only argument + + xdg-app-builder: Update docs + + Correct license, we're LGPL 2+, not 3+ + + Remove unused helper function + + xdg-app run: Fix support for --filesystem=~/dir + + Support defining read-only filesystem access + + portals: Only give blanket access to session-*.scope systemd + cgroup + + Create xdg-app-info file in user runtime dir with effective + state + + Add standard errors needed for portal + + Rename lib/ to common/ in preparation for public xdg-app + library + + builder: Add support for cmake and forced builddir + + builder: Add more headers around the spew for each new module + + builder: builddir != srcdir was broken becasue we never created + the buildir + + builder: Fix typo in cmake support + + Remove leftover semicolon + + builder: Add submodule support for git sources + + builder: Add post-install script support + + builder: Add docs for post-install + + Add script source type + + builder: Support building from a subdirectory of the sources + + Remove stray semicolons + + xdg-app-utils: Correct SoupUri -> SoupURI typo. + + builder: Build with "make", not "make all" + + Update libglnx for new backports + + Fix some warnings + + builder: Fix build with g_autoptr backports + + builder: Consider the build_option when checksumming + + builder: Add support for copy-icon option + + builder: Error out if rename_error is set but not found + + builder: Don't use ":" in uri-as-filename + + Docs: Fix some tiny typos + + document portal: Add AddNamed method for host-side use + + builder: Merge spawn helpers to single base helper + + ls-remote: Remove unnecessary code + + Initial version of libxdg-app + + build: Fix include path for builddir != srcdir + + build: Switch to olddir after autoreconf + + builder: Be a bit more verbose when pulling VCS + + builder: Prune old branches when updating mirror + + Add introspection check + + XdgAppDir: Add some helpers for handling remotes + + list/ls-remotes: Use the new remote helpers + + lib: Use the new remote helpers + + Add introspection support to libxdg-app + + Add xdg_app_dir_fetch_remote_title and remote old custom + summary fetcher + + Annotate transfer rules for ambiguous return values + + Add no-enumerate flag to remote and set if for bundle origin + remotes + + lib: Make getters for XdgAppRemote return copies of strings for + options + + helper: Allow exec on the tmpfs. + + lib: Add XdgAppRemoteRef subclass + + Generate the API reference for libxdg-app + + Add XdgAppRemoteRef do docs + + XdgAppDeploy: Fix wrong types in finalizer + + common: Move typedef to separate header to avoid circular deps + + Remove unused variable + + Move most of builtins-run to xdg_app_run_app helper + + common: Clean up xdg_app_run_app() + + helper: Mount dconf run dir writable, as dconf needs this. + + xdg_app_run_app: Handle error == NULL + + lib: Add xdg_app_installed_ref_launch() + + lib: Add remote_name to XdgAppRemoteRef + + lib: Rename xdg_app_remote_list_refs to + xdg_app_remote_list_refs_sync + + lib: Add some more debug spew to test-lib + + lib: xdg_app_remote_fetch_ref_sync + + lib: Always load installed ref metadata each time + + lib: Add XdgAppDir to RemoteRef private + + lib: Fix declaration of xdg_app_installed_ref_load_metadata + + lib: Add xdg_app_remote_ref_fetch_metadata_sync helper + + lib: Minor indentation cleanups + + lib: Add xdg_app_installation_load_app_overrides() + + common: Make it explicit that XdgAppError are portal errors + + builder: Allow git uris to be relative to the base directory + + common: Make XdgAppDir soup session initilization threadsafe + + builder: Make the builder manifest objects serializable to json + + builder: Break out download_uri helper function in SourceFile + + builder: Allow optionally specifying remote file sources + + builder: Use SoupRequest to simplify download helpers + + builder: Support data: uri for files + + builder: Support specifying revision in bzr sources + + builder: Support specifying commit ids as git branches + + Builder: Add a resolved version of the manifest to the built + app + + builder: Add --keep-build-dirs option + + builder: Remove accidental leftover spew + + builder: After fetching the mirrored git repo, set back the + right origin + + completion: Fix completion of apps/runtimes in a remote + + completion: Fix completion for xdg-app run + + builder: Fix build with old glib + + lib: Fix build with older glib + + builder: Fix typo in patch applying + + lib: Better fix for old glib + + app: Fix warning if building with --disable-userns + + lib: Fix compiler warning in test app + + common: Fix compiler warning when built with --disable-userns + + XdgAppDir: Add set_origin helper function + + Bump libglnx to latest version + + lib: Add xdg_app_installation_install + + app: Clean up leftover removes after updates too + + lib: Add xdg_app_installation_update + + Fix unused variable warnings + + helper: Properly unescape strings + + lib: Add xdg_app_dir_undeploy_all and xdg_app_dir_remove_ref + helpers + + common: Add xdg_app_compose_ref helper + + Use xdg_app_compose_ref helper + + lib: Add xdg_app_installation_uninstall + + common: Add and use xdg_app_dir_deploy_update() + + lib: Add custom GError codes + + lib: Use the new installed/not-installed custom GErrors + + Add lock file for each xdg-app dir. + + builder: Allow specifying custom prefix + + build-init: Allow writable sdk + + builder: Support writable-sdk option + + builder: Don't fsync on cache checkouts + + builder: Store the cache in BARE_USER mode + + lib: Fix return value type warnings + + Bump version to 0.4.6 + + Add missing EXTRA_DIST to pass distcheck + + builder: Add cleanup-command property + + Add --enable-libxdgapp configure flag and disable lib by + default + + Update NEWS for 0.4.6 +- Add gobject-introspection-devel and pkgconfig(json-glib-1.0) + BuildRequires: new dependencies. + +------------------------------------------------------------------- +Thu Dec 24 01:03:09 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.4.5: + + build-export: Add support for signing build + + docs: Fix whitespace issues + + helper: Correctly zero terminate symlink targets + + helper: Also copy extra symlinks from / + + Always regenerate summary after export-build + + document-portal: Fix warning + + uninstall: Don't fail if there is no origin + + utils: Add xdg_app_decompose_ref() + + Always remove all leftover app/runtime traces on uninstall + + Correct capitalization on dbus interface filename + + Install dbus introspection files + + Move dbus invocation peer app detection to lib/ + + build-export: add human readable format to "Content Bytes + Written" + + helper: give xdg-app process access to /dev/ptmx + + helper: match whitespace to other options + + helper: unblock SIGCHILD before execvp() of child + + Create custom /etc/passwd and /etc/group with minimal content + + Update to 0.4.5 + +------------------------------------------------------------------- +Mon Oct 05 13:22:12 UTC 2015 - fcrozat@suse.com + +- Update to version 0.4.4: + + build: Fix srcdir != builddir from git + + build-export: Strip out uid/gid and xattrs + + fuse: Disable entry cache to work around race condition + + helper: Handle existing mounts with escaped characters + + Propagate Xauthority details to the sandbox if X11 is enabled +- Add pkgconfig(xau) to BuildRequires. + +------------------------------------------------------------------- +Mon Oct 05 13:21:25 UTC 2015 - fcrozat@suse.com + +- Update to version 0.4.3: + + Accept -d as --show-details in all commands that support it + + Fix regression is dbus proxy + + utils: Add xdg_app_fail + + Add --nofilesystem commandline arg + + Make usage_error return FALSE + + Add xdg-app dump-runtime command + + cleanup: Remove trivial use of goto out + + cleanup: Remove unused variables + + cleanup: Simplify code using xdg_app_fail + + Make sure we build against older ostree (without gpg import) + +------------------------------------------------------------------- +Mon Oct 05 13:20:48 UTC 2015 - fcrozat@suse.com + +- Update to version 0.4.2: + + run: When creating /etc symlinks, don't make symlinks to + symlinks + + xdg-app build: Support extensions + + run: Fix handling of which filesystems you can access + + remove some unused code + + run: Add /var/config and /var/data to sandbox + + add-remote: Allow specifying local pathname instead of uri + + Make seccomp optional + + Update to libglnx for new autocleanup backports + + Add xdg-app enter command + + Move table printer to xdg-app-utils.c + + list-remotes: Add support for listing both user and system + remotes + + list-apps/runtimes: User table printer + + bash_completion: Properly list apps when completing "run" + +------------------------------------------------------------------- +Wed Sep 30 09:26:04 UTC 2015 - zaitor@opensuse.org + +- Own %{_datadir}/dbus-1 and subfolder for openSUSE Tumbleweed. + +------------------------------------------------------------------- +Mon Sep 21 14:29:36 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.4.1: + + run: Allow perf and ptrace in debug and build mode. + + Mount nvidia device nodes in sandbox if dri allowed + + tests: Use check_PROGRAMS as the primary + + fuse: Supply mode when creating files + + Support version= in extension metadata + + Update NEWS and version to 0.4.1 + +------------------------------------------------------------------- +Mon Sep 21 14:29:17 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.4.0: + + Import xdg-document-portal from github repo + + Add GetMountPoint method for document portal + + Automatically start and mount document portal in sandbox + + document-portal: *always* use the by-app location + + Don't list empty names in opendir + + Change dbus name of session helper to org.freedesktop.XdgApp + + Rename dbus file to org.freedesktop.XdgApp + + Move gvdb to lib/ + + gvdb: Add gvdb_table_get_content + + Initial version of XdgAppDb + + Initial tests of the db + + Add XdgAppError + + Initial version of permission store + + Make document portal use the new permission store + + Switch document portal to use strings for document ids + + Document portal: Store paths, not uris + + Drop the xdp specific errors and use the xdg-app ones + + Remove ununsed variables reported by clang + + dbus-proxy: Fix flags arg passed to g_socket_receive_message + + dbus-proxy: Fix incorrect check of name policy + + dbus-proxy: Avoid clang warning + + Fix type of return + + Fix error check of policy parsing + + Fix const marking of string arrays. + + utils: Add AUTOLOCK macro + + autogen: Fix git submodules + + Update libglnx, use its copy of backports + + Use g_auto(GStrv) instead of glnx_strfreev + + helper: Add perf and ptrace to seccomp blacklist + + Markup AUTOLOCK with unused to avoid warnings + + fuse: Make filesystem multithreaded + + Add xdg_app_mkstempat + + Store and verify parent dir dev/ino and pass O_PATH fds + + Add xdg-app export-file to export files with the document + portal + + Add debug output for release + + fuse: Always open files with O_NOFOLLOW + + document-portals: Support unique documents + + document-portal: Use xdg_app_is_valid_name() to validate app + names + + export-files: Allow specifying app permissions + + document-portal: Actually respect WRITE permissions + + Add check-valgrind target + + db: Fix leak + + export-file: Fix leak + + Add minimal document portal tests + + fuse: Unmount previous fuse instance if ENOTCONN + + fuse: Add daemonizing switch + + test-doc-portal: Launch the portal manually + + fuse: Properly invalidate inodes and entries + + fuse: Raise entry cache times now that we invalidate + + fuse: Add some more debug spew + + document-portal: Allow dbus owner replacing + + document portal: Move locking explicitly into portal handlers + + export-file: Print the full document pathname + + document portal: Correctly handle recursive documents + + fuse: Drop DOC_DIR_INO_CLASS + + test-doc-portal: Fix unique boolean arg + + fuse: Add some more debug spew + + test-doc-portal: Work around GTestDbus env unsetting + + test-doc-portal: Add recursive file export test + + XdgAppContext: Properly handle masking things from parent + context + + run: Correctly report errors talking to document portal + + document portal: Fix crashes when dbus activated + + run: Never propagate DISPLAY if X socket not requested + + run: Read per-app override metadata file + + build-finish: Don't export hidden or backup files + + XdgAppContext: Always initialize bitfields + + run: Support system overrides as well as per-user + + create dirs with 755, not 777 + + Add new override builtin to override app permissions + + lib: Handle libsoup now having built-in autocleanup support + + add modify-remote command + + list-remotes: Add more details to remotes list + + Fix unused label warning + + Add XdgAppChainInputStream based on ostree version + + add/modify-remote: Support importing trusted gpg keys + + list-remotes: Separate columns with tab + + docs: Update remote related docs + + list-remotes: Use --show-details instead of --details + + Rename repo-contents to ls-remote + + Update docs for new/changes interface + + bash completion: Update to match the lastest options + + bump version to 0.4.0 + + Updated NEWS for release + + document portal: Add support for transient documents + + Fix distcheck issues +- Drop 0001-Finish-switch-to-glibc-s-xattr.patch: fixed upstream. +- Add pkgconfig(fuse) BuildRequires: new dependency. + +------------------------------------------------------------------- +Mon Aug 10 07:48:18 UTC 2015 - opensuse-packaging@opensuse.org + +- Update to version 0.3.6: + + helper: Fix typo in the socket-family blacklist. + + run: Make users fonts appear in /run/host/user-fonts. + + helper: Disable socket filters on x86. + + Write user-dirs.dirs under app's XDG_CONFIG_HOME. + + helper: Mount extra dirs/files only after all other mounts are + up. + + helper: Add all possible architectures to seccomp filter. + + Restructure directories and build. + + Add NEWS file. + + If home is accessible, make user-dirs.dir visible in custom + config dir. + + Bump version to 0.3.6. + +------------------------------------------------------------------- +Tue Jul 14 08:56:22 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.3.5: + + update: Don't remove existing deployment if there was no updates + + Bump version to 0.3.2 + + helper: Keep any existing old mount flags when remounting + + helper: Remove noremount hack now that we keep old mount flags + + helper: No need for a tmpfs on /dev these days + + configure: Add checks for docbook xsl/dtd + + Bump version to 0.3.3 + + Avoid unnecessary escapes in desktop file exports + + Bump version to 0.3.4 + + xdg-app.sh: /usr/local/share is also in the default + XDG_DATA_DIRS + + Add xdg-app.env file for gdm + + profile: Don't override pre-existing XDG_DATA_DIRS env vars + + Bump version to 0.3.5 + +------------------------------------------------------------------- +Tue Jun 09 07:55:25 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.3.1: + + helper: Clean up launched command line + + Bump version to 0.3.1 + +------------------------------------------------------------------- +Tue Jun 02 12:25:36 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.3+git.20150602.d781e27: + + Add a README + + Make symlinks lib64 -> usr/lib64, etc if those exist in the + runtime + + Fix debug message format string + + dbus proxy in progress + + Parse dbus headers + + Add some minimal policy on send/receive + + Flesh out filtering + + DBusProxy: Add non-filtering mode + + Add wildcard policies + + Better handling of fd passing + + dbus-proxy: Add some test policy + + Break out dbus proxy implementation to separate file + + Make xdg-dbus-proxy talk command line args and install it + + Only print headers when logging + + Allow runtime and apps to override environment variables + + Don't clear the [Vars] group in build-finish command and + improve error reporting + + Ignore errors in add_env_overrides() + + Actually unset the env variable when the value is empty + + Report error when --var option is missing '=' + + Close any unexpectedly inherited fds in helper monitor and + init. + + xdg-dbus-proxy: Add support for syncing via fd + + Fix path generation when recursively exporting a directory + + xdg-app-helper: Add -S fd support + + xdg-app run: use a dbus proxy if needed + + Clean up filtering and allow all messages from bus to client + + xdg-app-proxy: Only allow replies from the bus that we + requested + + xdg-app-proxy: Only allow pending replies from client + + xdg-app-proxy: Large rewrite of docs comment + + xdg-app-proxy: Don't filter unicast signals + + proxy: Don't forward method returns and errors with no + reply_serial + + proxy: Ensure that we SEE from peers we've gotten messages from + + proxy: unlink socket on exit + + proxy: Free some members on finalize + + proxy: Send initial AddMatch and GetNameOwner to handle policy + + proxy: Remove unneeded code for old name tracking + + Update docs wrt new ownership tracking code. + + proxy: Fully support policies for wildcarded names + + proxy: Update docs + + Some typo fixes + + Add missing space + + proxy: Fix double-free of socket control messages + + XdgAppDir: Add XdgAppDeploy helper object + + Add xdg_app_find_deploy_for_ref + + builtins-run: Use XdgAppDeploy + + Move setting of env vars from helper to launcher + + build: Use an strv for envp instead of a GPtrArray + + Add xdg_app_run_apply_env_vars() helper + + build: Apply runtime env vars + + builtin-run: Switch over to same env helpers + + More special casing of LD_LIBRARY_PATH + + Support filtering of session bus + + metadata: Rename [Vars] to [Environment Vars] + + build-init: Don't fail if /var/run already exists + + xdg-app build: Bind mount host resolv.conf during builds + + Only warn if removing old commits fail + + Bump version to 0.2 + + Fix a typo + + Fix build with old glib + + helper: Bind mount /sys subset + + Add a simple profile.d snippet for XDG_DATA_DIRS + + proxy: Minor cleanup for first byte case + + proxy: Properly detect authentication end + + proxy: Always read all incomming socket messages on each + mainloop callback + + proxy: Always send all possible queued messages in main + callback + + build: Fix srcdir != builddir from git + + Bump version to 0.2.1 + + Change /self to /app + + Add new XdgAppContext helper object + + Convert all builtins to the new metadata/arg formats using + XdgAppContext + + Make extra_dirs and lock_dirs dynammic + + helper: Add support for read/write extra dirs + + Add support for persistent homedirectory dirs + + helper: If old CWD is not mapped, use $HOME + + helper: Add support for moving files into sandbox + + Context: Finish support for filesystems + + run: Remove hardcoded GI_TYPELIB_PATH + + helper: Remove backwars compat /self symlink + + Update docs for new run command line options + + helper: Fix errors caused by create_file() return value change + + build: Always allow host fs access + + build: Remove duplicated helper arguments + + Bump version to 0.3.0 + + run: Fix typo that broke env var support + + helper: Only call get[ug]id() once at the start + + helper: Drop setuid and use user namespaces + + helper: Minor cleanup of uid/gid handling + + helper: Optionally add back setuid support + + Add xdg_app_dir_get_origin() helper + + Use xdg_app_dir_get_origin helper + + Show source repo when listing apps and runtimes + + Show version when listing apps and runtimes + + Make /var/cache persistent (in app-data cache dir) + + helper: Fix thinko due to create_file() return type change + + helper: Make all helper functions static + + Use seccomp to limit allowed syscalls + + helper: Make ~/.local/share/xdg-app read-only in sandbox + + helper: Don't fail if ~/.local/share/xdg-app does not exist + + run: If session helper not available, bind-mount + /etc/resolv.conf +- Add pkgconfig(libseccomp) BuildRequires: new dependency. + +------------------------------------------------------------------- +Wed Apr 8 20:42:14 UTC 2015 - dimstar@opensuse.org + +- Add ostree Requires: xdg-app can't start without its presence. + +------------------------------------------------------------------- +Wed Apr 08 09:46:56 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.1+git.20150407.fc8db2b: + + Add COPYING to reflect license headers + + Pass name into build-init and store in metadata + + build-finish: Only export files with app-id prefix + + Switch to using glibc xattrs. + + Remove dead code in xdg-app-builtins-build-finish.c. + + Remove dead code xdg-app-builtins-build-init.c. + + Remove dead code xdg-app-dir.c. + + xdg-app-builtins-list.c: Cleanup comma separator code +- Add 0001-Finish-switch-to-glibc-s-xattr.patch: complete port of + libgnx to xattr. + +------------------------------------------------------------------- +Mon Mar 23 13:11:29 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.0.1~20150323: + + Mount system fonts in /run/host/fonts + + deploy: Split the file rewriting and prefix checkout out from + the exporting + + Move update_exports out of deploy/undeploy + + Remove old code handling per-app data + + Add xdg_app_dir_list_refs[_for_name] helpers + + builtins-list: Use the new helper to list refs + + uninstal: Fix the cleanup of empty dirs + + Track which branch of an app is current + + Add make-app-current + + Make sure we initialize variables that auto-cleanup + + xdg-app-dir: Move exports to update_exports + + Import libglnx + + Convert to g_autoptr + + Use cleanup macros from libglnx + + Switch to GLnxDirFd + + Use glnx_set_error_from_errno + + Use g_steal_pointer + + Check for libattr header + + fixup g_steal_pointer use + + Fix dist + + Require ostree 2015.3 + + helper: Manually apply bind flags recursively + + Bump version to 0.1 + + Fix build on older glib + + Add copyright headers + +------------------------------------------------------------------- +Fri Mar 06 11:53:38 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.0.1~20150305: + + Fix warning in add-remote if no summary. + + Look for libcap pkg-config file for cflags to ensure we have + the headers. + + Revert "Look for libcap pkg-config file for cflags to ensure we + have the headers". + + Check for sys/capability.h via AC_CHECK_HEADER instead. + + Run each app in a custom systemd user scope (if available). + + xdg-app-helper: Flesh out usage output. + + xdg-app-helper: Sort the command line parsing. + + Mount /run/media if mount-host-fs. + + Add metadata option to limit DRI access. + +------------------------------------------------------------------- +Thu Feb 19 17:05:02 UTC 2015 - dimstar@opensuse.org + +- Initial package. + diff --git a/flatpak.spec b/flatpak.spec new file mode 100644 index 0000000..eaacac9 --- /dev/null +++ b/flatpak.spec @@ -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