Skip to content

Commit

Permalink
Merge pull request #481 from OSC/logo
Browse files Browse the repository at this point in the history
Add stock logo and favicon to RPM
  • Loading branch information
ericfranz authored Apr 21, 2020
2 parents ebe9ee4 + 184addf commit 4992a04
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Binary file added packaging/favicon.ico
Binary file not shown.
Binary file added packaging/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions packaging/ondemand.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4992a04

Please sign in to comment.