|
Owen W. Taylor |
7649fdf |
Name: flatpak-runtime-config
|
|
Owen W. Taylor |
7649fdf |
Version: 27
|
|
Owen W. Taylor |
7649fdf |
Release: 2%{?dist}
|
|
Owen W. Taylor |
7649fdf |
Summary: Configuration files that live inside the flatpak runtime
|
|
Owen W. Taylor |
7649fdf |
Source1: 50-xdg-app.conf
|
|
Owen W. Taylor |
7649fdf |
BuildArch: noarch
|
|
Owen W. Taylor |
7649fdf |
|
|
Owen W. Taylor |
7649fdf |
License: MIT
|
|
Owen W. Taylor |
7649fdf |
|
|
Owen W. Taylor |
7649fdf |
Requires: fontpackages-filesystem
|
|
Owen W. Taylor |
7649fdf |
|
|
Owen W. Taylor |
7649fdf |
%description
|
|
Owen W. Taylor |
7649fdf |
This package includes configuration files that are installed into the flatpak
|
|
Owen W. Taylor |
7649fdf |
runtime filesystem during the runtime creation process; it is also installed
|
|
Owen W. Taylor |
7649fdf |
into the build root when building RPMs. It contains all configuration
|
|
Owen W. Taylor |
7649fdf |
files that need to be different when executing a flatpak.
|
|
Owen W. Taylor |
7649fdf |
|
|
Owen W. Taylor |
7649fdf |
%prep
|
|
Owen W. Taylor |
7649fdf |
|
|
Owen W. Taylor |
7649fdf |
%build
|
|
Owen W. Taylor |
7649fdf |
|
|
Owen W. Taylor |
7649fdf |
%install
|
|
Owen W. Taylor |
7649fdf |
rm -rf $RPM_BUILD_ROOT
|
|
Owen W. Taylor |
7649fdf |
mkdir -p $RPM_BUILD_ROOT%{_prefix}/cache/fontconfig
|
|
Owen W. Taylor |
7649fdf |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
|
|
Owen W. Taylor |
7649fdf |
install -t $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d -p -m 644 %{SOURCE1}
|
|
Owen W. Taylor |
7649fdf |
|
|
Owen W. Taylor |
7649fdf |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/
|
|
Owen W. Taylor |
7649fdf |
echo "/app/%{_lib}" > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/app.conf
|
|
Owen W. Taylor |
7649fdf |
|
|
Owen W. Taylor |
7649fdf |
%post -p /sbin/ldconfig
|
|
Owen W. Taylor |
7649fdf |
|
|
Owen W. Taylor |
7649fdf |
%files
|
|
Owen W. Taylor |
7649fdf |
%dir %{_prefix}/cache
|
|
Owen W. Taylor |
7649fdf |
%dir %{_prefix}/cache/fontconfig
|
|
Owen W. Taylor |
7649fdf |
%{_sysconfdir}/fonts/conf.d/*
|
|
Owen W. Taylor |
7649fdf |
# Note that this is necessary at build time but has no effect during flatpak
|
|
Owen W. Taylor |
7649fdf |
# execution, since /etc/ld.so.cache will only contain the libraries from
|
|
Owen W. Taylor |
7649fdf |
# the runtime and not any libraries that are separately mounted in /app/lib[64].
|
|
Owen W. Taylor |
7649fdf |
# During flatpak execution LD_LIBRARY_PATH is used to find the libraries from
|
|
Owen W. Taylor |
7649fdf |
# /app/lib[64].
|
|
Owen W. Taylor |
7649fdf |
%{_sysconfdir}/ld.so.conf.d/app.conf
|
|
Owen W. Taylor |
7649fdf |
|
|
Owen W. Taylor |
7649fdf |
%changelog
|
|
Owen W. Taylor |
7649fdf |
* Tue Jun 13 2017 Owen Taylor <otaylor@redhat.com> - 27-2
|
|
Owen W. Taylor |
7649fdf |
See https://bugzilla.redhat.com/show_bug.cgi?id=1460081
|
|
Owen W. Taylor |
7649fdf |
- Switch license to MIT
|
|
Owen W. Taylor |
7649fdf |
- Preserve timestamps on file installation
|
|
Owen W. Taylor |
7649fdf |
- Own /usr/cache since it's not a standard directory
|
|
Owen W. Taylor |
7649fdf |
- Require fontpackages-filesystem for /etc/fonts/conf.d
|
|
Owen W. Taylor |
7649fdf |
|
|
Owen W. Taylor |
7649fdf |
* Wed Jun 7 2017 Owen Taylor <otaylor@redhat.com> - 27-1
|
|
Owen W. Taylor |
7649fdf |
- Strip down to just config files
|
|
Owen W. Taylor |
7649fdf |
|
|
Owen W. Taylor |
7649fdf |
* Wed Jun 3 2015 Alexander Larsson <alexl@redhat.com>
|
|
Owen W. Taylor |
7649fdf |
- Initial version
|