diff --git a/packaging/favicon.ico b/packaging/favicon.ico new file mode 100644 index 0000000000..d4a6dbb934 Binary files /dev/null and b/packaging/favicon.ico differ diff --git a/packaging/logo.png b/packaging/logo.png new file mode 100644 index 0000000000..72f3323cb7 Binary files /dev/null and b/packaging/logo.png differ diff --git a/packaging/ondemand.spec b/packaging/ondemand.spec index e0fea6dde8..4041ed9865 100644 --- a/packaging/ondemand.spec +++ b/packaging/ondemand.spec @@ -26,6 +26,8 @@ URL: https://osc.github.io/Open-OnDemand Source0: https://github.com/OSC/%{package_name}/archive/%{git_tag}.tar.gz Source1: ondemand-selinux.te Source2: ondemand-selinux.fc +Source3: logo.png +Source4: favicon.ico # Disable debuginfo as it causes issues with bundled gems that build libraries %global debug_package %{nil} @@ -157,6 +159,8 @@ rake --trace install PREFIX=%{buildroot}/opt/ood %__rm %{buildroot}/opt/ood/apps/*/log/production.log echo "%{git_tag}" > %{buildroot}/opt/ood/VERSION %__mkdir_p %{buildroot}%{_localstatedir}/www/ood/public +%__cp %{SOURCE3} %{buildroot}%{_localstatedir}/www/ood/public/logo.png +%__cp %{SOURCE4} %{buildroot}%{_localstatedir}/www/ood/public/favicon.ico %__mkdir_p %{buildroot}%{_localstatedir}/www/ood/discover %__mkdir_p %{buildroot}%{_localstatedir}/www/ood/register %__mkdir_p %{buildroot}%{_localstatedir}/www/ood/apps/sys @@ -370,6 +374,8 @@ fi %dir %{_localstatedir}/www/ood/apps/usr %config(noreplace,missingok) %{_localstatedir}/www/ood/public/maintenance/index.html %ghost %{_sysconfdir}/ood/maintenance.enable +%config(noreplace,missingok) %{_localstatedir}/www/ood/public/logo.png +%config(noreplace,missingok) %{_localstatedir}/www/ood/public/favicon.ico %dir %{_sysconfdir}/ood %dir %{_sysconfdir}/ood/config