Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
520c65dbf8 |
3 changed files with 52 additions and 1 deletions
|
|
@ -1,9 +1,11 @@
|
|||
Name: flatpak-runtime-config
|
||||
Version: 32
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Configuration files that live inside the flatpak runtime
|
||||
Source1: 50-flatpak.conf
|
||||
Source2: usercustomize.py
|
||||
Source3: org.fedoraproject.Platform.appdata.xml
|
||||
Source4: org.fedoraproject.Sdk.appdata.xml
|
||||
|
||||
License: MIT
|
||||
|
||||
|
|
@ -34,6 +36,11 @@ for d in %{python3_sitelib} ; do
|
|||
install -t $RPM_BUILD_ROOT/$d -m 0644 %{SOURCE2}
|
||||
done
|
||||
|
||||
# Install appdata for both the Platform and the Sdk
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/metainfo
|
||||
install -t $RPM_BUILD_ROOT%{_datadir}/metainfo -p -m 0644 %{SOURCE3}
|
||||
install -t $RPM_BUILD_ROOT%{_datadir}/metainfo -p -m 0644 %{SOURCE4}
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/
|
||||
echo "/app/%{_lib}" > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/app.conf
|
||||
|
||||
|
|
@ -63,10 +70,14 @@ HOME=/root /usr/bin/fc-cache -s
|
|||
%dir %{_prefix}/cache
|
||||
%dir %{_prefix}/cache/fontconfig
|
||||
%{python3_sitelib}
|
||||
%{_datadir}/metainfo/*.appdata.xml
|
||||
%{_sysconfdir}/fonts/conf.d/*
|
||||
%{_sysconfdir}/ld.so.conf.d/app.conf
|
||||
|
||||
%changelog
|
||||
* Wed Jul 29 2020 Kalev Lember <klember@redhat.com> - 32-2
|
||||
- Install appdata for both the Platform and the Sdk
|
||||
|
||||
* Fri Mar 06 2020 Kalev Lember <klember@redhat.com> - 32-1
|
||||
- Remove Python 2 support (#1801932)
|
||||
|
||||
|
|
|
|||
20
org.fedoraproject.Platform.appdata.xml
Normal file
20
org.fedoraproject.Platform.appdata.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="runtime">
|
||||
<id>org.fedoraproject.Platform</id>
|
||||
<metadata_license>CC0</metadata_license>
|
||||
<!-- FIXME -->
|
||||
<project_license>GPL-2.0+</project_license>
|
||||
<name>Fedora Platform</name>
|
||||
<summary>Shared libraries</summary>
|
||||
<releases>
|
||||
<release version="32" date="2020-04-28"/>
|
||||
</releases>
|
||||
<description>
|
||||
<p>
|
||||
The Fedora Platform is a runtime for Flatpak applications. It contains
|
||||
common libraries that are shared between desktop applications, including
|
||||
GTK 3, GStreamer, Qt 5, Mesa, SDL2, and many others.
|
||||
</p>
|
||||
</description>
|
||||
<url type="homepage">https://fedoraproject.org/</url>
|
||||
</component>
|
||||
20
org.fedoraproject.Sdk.appdata.xml
Normal file
20
org.fedoraproject.Sdk.appdata.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="runtime">
|
||||
<id>org.fedoraproject.Sdk</id>
|
||||
<metadata_license>CC0</metadata_license>
|
||||
<!-- FIXME -->
|
||||
<project_license>GPL-2.0+</project_license>
|
||||
<name>Fedora SDK</name>
|
||||
<summary>Tools and headers for developing applications</summary>
|
||||
<releases>
|
||||
<release version="32" date="2020-04-28"/>
|
||||
</releases>
|
||||
<description>
|
||||
<p>
|
||||
The Fedora Sdk is the development runtime that you can use to produce applications using
|
||||
the Fedora Platform runtime. It contains everything that is in the platform, as well
|
||||
as build and debugging tools and headers for the libraries.
|
||||
</p>
|
||||
</description>
|
||||
<url type="homepage">https://fedoraproject.org/</url>
|
||||
</component>
|
||||
Reference in a new issue