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