/[packages]/cauldron/refind/current/SPECS/refind.spec
ViewVC logotype

Diff of /cauldron/refind/current/SPECS/refind.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1258908 by martinw, Tue Sep 11 18:42:12 2018 UTC revision 1258909 by martinw, Thu Sep 13 18:35:13 2018 UTC
# Line 9  Line 9 
9    
10  Name:           refind  Name:           refind
11  Version:        0.11.2  Version:        0.11.2
12  Release:        %mkrel 2  Release:        %mkrel 3
13  Summary:        EFI boot manager  Summary:        EFI boot manager
14  License:        GPLv3  License:        GPLv3
15  Group:          System/Boot and Init  Group:          System/Boot and Init
# Line 83  ln -sr %{buildroot}%{_datadir}/%{name}/r Line 83  ln -sr %{buildroot}%{_datadir}/%{name}/r
83  cp -a banners %{buildroot}%{_datadir}/%{name}/  cp -a banners %{buildroot}%{_datadir}/%{name}/
84  cp -a fonts %{buildroot}%{_datadir}/%{name}/  cp -a fonts %{buildroot}%{_datadir}/%{name}/
85    
86  # Create version file and urpmi README files  # Create version file and urpmi README file
87  echo %{version} > VERSION  echo %{version} > VERSION
   
 echo "Version %{version} of the rEFInd boot manager has been installed in the ESP." > .README.installed  
   
88  echo "Version %{version} of the rEFInd boot manager is now available."   > README.urpmi  echo "Version %{version} of the rEFInd boot manager is now available."   > README.urpmi
89  echo "To install it in the ESP, either use drakboot or, as root user,"  >> README.urpmi  echo "To install it in the ESP, either use drakboot or, as root user,"  >> README.urpmi
90  echo "execute the command '/sbin/refind-install'."                      >> README.urpmi  echo "execute the command '/sbin/refind-install'."                      >> README.urpmi
91  echo "If you are having no problems with booting your system, there is" >> README.urpmi  echo "If you are having no problems with booting your system, there is" >> README.urpmi
92  echo "no need to install this update in the ESP."                       >> README.urpmi  echo "no need to install this update in the ESP."                       >> README.urpmi
93    
 %post  
 if [ -d /boot/EFI/EFI ] ; then  
     if [ ! -e /boot/EFI/EFI/refind ] ; then  
         %{_sbindir}/refind-install --yes && cp %{_docdir}/%{name}/.README.installed %{_docdir}/%{name}/README.urpmi  
     fi  
 fi  
   
94  %files  %files
95  %doc NEWS.txt COPYING.txt LICENSE.txt README.txt CREDITS.txt docs/Styles docs/refind  %doc NEWS.txt COPYING.txt LICENSE.txt README.txt CREDITS.txt docs/Styles docs/refind
96  %doc VERSION README.urpmi .README.installed  %doc VERSION README.urpmi
97  %{_sbindir}/mkrlconf  %{_sbindir}/mkrlconf
98  %{_sbindir}/mvrefind  %{_sbindir}/mvrefind
99  %{_sbindir}/refind-install  %{_sbindir}/refind-install

Legend:
Removed from v.1258908  
changed lines
  Added in v.1258909

  ViewVC Help
Powered by ViewVC 1.1.30