add modified openmandriva icon for installer

This commit is contained in:
tpg (Tomasz Paweł Gajc) 2015-04-12 11:21:44 +02:00
parent 5b3c2b92e9
commit 1ef650e932
3 changed files with 10 additions and 3 deletions

View file

@ -1,4 +1,5 @@
sources:
OpenMandriva-adverts.tar.xz: d0833604f1ce5bdcc7a1560cc51f4c392a9ed665
calamares-1.0.0-20150409.tar.xz: 828b3d6c8e469d19c9711117104b36909d5d0d70
calamares-partitionmanager-20150112.tar.xz: 9fd2828fde3ecb3692868ea186469424c5be580e
OpenMandriva-adverts.tar.xz: d0833604f1ce5bdcc7a1560cc51f4c392a9ed665
openmandriva-install.svg: 42dfb6f517456e18695a147141643de7a9747ec3

View file

@ -13,7 +13,7 @@ diff -Naur calamares-0.17.0-20150112/calamares.desktop calamares-0.17.0-20150112
-Comment=Calamares — System Installer
-Icon=calamares
+Comment=OpenMandriva Lx installer
+Icon=/usr/share/icons/openmandriva.svg
+Icon=/usr/share/icons/openmandriva-install.svg
Terminal=false
StartupNotify=false
Categories=Qt;System;

View file

@ -8,7 +8,7 @@
Summary: Distribution-independent installer framework
Name: calamares
Version: 1.0.0
Release: 0.%{calamdate}.4
Release: 0.%{calamdate}.5
Group: System/Configuration/Other
License: GPLv3+
URL: http://calamares.io/
@ -36,6 +36,7 @@ Source19: omv-unpackfs.conf
Source20: omv-users.conf
Source21: omv-partition.conf
Source22: omv-removeuser.conf
Source99: openmandriva-install.svg
Source100: OpenMandriva-adverts.tar.xz
Patch1: calamares-0.17.0-20150112-openmandriva-desktop-file.patch
Patch2: 0001-Add-optional-prettyDescription-to-Job.patch
@ -193,6 +194,10 @@ EOF
# (tpg) install adverts and slideshow
tar xf %{SOURCE100} -C %{buildroot}%{_sysconfdir}/calamares/branding/auto
# (tpg) install icon
mkdir -p %{buildroot}%{_iconsdir}
install -m 644 %{SOURCE99} %{buildroot}%{_iconsdir}/openmandriva-install.svg
%post
# generate the "auto" branding
. %{_sysconfdir}/os-release
@ -258,6 +263,7 @@ EOF
%ghost %{_sysconfdir}/calamares/branding/auto/branding.desc
%{_sysconfdir}/calamares/branding/auto/*.qml
%{_sysconfdir}/calamares/branding/auto/*.png
%{_iconsdir}/openmandriva-install.svg
%files -n %{libname}
%{_libdir}/libcalamares.so.%{major}*