Blame SOURCES/macros.flatpak

71ae5d
%flatpak	1
71ae5d
%_prefix	/app
71ae5d
%_sysconfdir	%{_prefix}/etc
71ae5d
%__global_ldflags %{build_ldflags} -L%{_libdir}
71ae5d
%python2_sitelib	%{_prefix}/lib/python2.7/site-packages
71ae5d
%python2_sitearch	%{_libdir}/python2.7/site-packages
71ae5d
%python3_sitelib	%{_prefix}/lib/python3.6/site-packages
71ae5d
%python3_sitearch	%{_libdir}/python3.6/site-packages
71ae5d
71ae5d
%___build_pre	\
71ae5d
  RPM_SOURCE_DIR=\"%{u2p:%{_sourcedir}}\"\
71ae5d
  RPM_BUILD_DIR=\"%{u2p:%{_builddir}}\"\
71ae5d
  RPM_OPT_FLAGS=\"%{optflags}\"\
71ae5d
  RPM_LD_FLAGS=\"%{?__global_ldflags}\"\
71ae5d
  RPM_ARCH=\"%{_arch}\"\
71ae5d
  RPM_OS=\"%{_os}\"\
71ae5d
  export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_LD_FLAGS RPM_ARCH RPM_OS\
71ae5d
  RPM_DOC_DIR=\"%{_docdir}\"\
71ae5d
  export RPM_DOC_DIR\
71ae5d
  RPM_PACKAGE_NAME=\"%{name}\"\
71ae5d
  RPM_PACKAGE_VERSION=\"%{version}\"\
71ae5d
  RPM_PACKAGE_RELEASE=\"%{release}\"\
71ae5d
  export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE\
71ae5d
  LANG=C\
71ae5d
  export LANG\
71ae5d
  unset CDPATH DISPLAY ||:\
71ae5d
  %{?buildroot:RPM_BUILD_ROOT=\"%{u2p:%{buildroot}}\"\
71ae5d
  export RPM_BUILD_ROOT}\
71ae5d
  %{?_javaclasspath:CLASSPATH=\"%{_javaclasspath}\"\
71ae5d
  export CLASSPATH}\
71ae5d
  CONFIG_SITE=${CONFIG_SITE:-NONE}\
71ae5d
  export CONFIG_SITE\
71ae5d
  ACLOCAL_PATH="%{_datadir}/aclocal:%{_usr}/share/aclocal"\
71ae5d
  export ACLOCAL_PATH\
71ae5d
  CFLAGS="%{optflags}"\
71ae5d
  export CFLAGS\
71ae5d
  CPATH="%{_prefix}/include"\
71ae5d
  export CPATH\
71ae5d
  CPLUS_INCLUDE_PATH="%{_prefix}/include"\
71ae5d
  export CPLUS_INCLUDE_PATH\
71ae5d
  CXXFLAGS="%{optflags}"\
71ae5d
  export CXXFLAGS\
71ae5d
  C_INCLUDE_PATH="%{_prefix}/include"\
71ae5d
  export C_INCLUDE_PATH\
71ae5d
  GI_TYPELIB_PATH="%{_libdir}/girepository-1.0:%{_usr}/%{_lib}/girepository-1.0"\
71ae5d
  export GI_TYPELIB_PATH\
71ae5d
  INFOPATH="%{_datadir}/info"\
71ae5d
  export INFOPATH\
71ae5d
  LDFLAGS="%{?__global_ldflags}"\
71ae5d
  export LDFLAGS\
71ae5d
  MANPATH="%{_datadir}/man:"\
71ae5d
  export MANPATH\
71ae5d
  OBJC_INCLUDE_PATH="%{_prefix}/include"\
71ae5d
  export OBJC_INCLUDE_PATH\
71ae5d
  PATH="%{_bindir}:%{_usr}/local/sbin:%{_usr}/bin:/bin:%{_usr}/sbin:/sbin"\
71ae5d
  PKG_CONFIG_GLADEUI_2_0_CATALOGDIR="%{_datadir}/glade/catalogs"\
71ae5d
  export PKG_CONFIG_GLADEUI_2_0_CATALOGDIR\
71ae5d
  PKG_CONFIG_PATH="%{_libdir}/pkgconfig:%{_datadir}/pkgconfig:%{_usr}/%{_lib}/pkgconfig:%{_usr}/share/pkgconfig"\
71ae5d
  export PKG_CONFIG_PATH\
71ae5d
  XDG_CONFIG_DIRS="%{_sysconfdir}/xdg:/etc/xdg"\
71ae5d
  export XDG_CONFIG_DIRS\
71ae5d
  XDG_DATA_DIRS="%{_datadir}:%{_usr}/local/share:%{_usr}/share"\
71ae5d
  export XDG_DATA_DIRS\
71ae5d
  GVFS_REMOTE_VOLUME_MONITOR_IGNORE="1"\
71ae5d
  export GVFS_REMOTE_VOLUME_MONITOR_IGNORE\
71ae5d
  \
71ae5d
  %{verbose:set -x}%{!verbose:exec > /dev/null}\
71ae5d
  umask 022\
71ae5d
  cd \"%{u2p:%{_builddir}}\"\
71ae5d
71ae5d
# Override /usr/lib/rpm/fontconfig.prov with a version that also handles fonts
71ae5d
# in /app/share/fonts
71ae5d
%__font_provides	%{_rpmconfigdir}/fontconfig-flatpak.prov