Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 41ee1be6bf8a54aa7f02d7b42798d1f1 > files > 2

bootsplash-3.2.9-1mdv2008.0.src.rpm

%define name bootsplash
%define version 3.2.9
%define release %mkrel 1
%define _bootdir /boot

Summary: The Boot Splash Images and scripts
Name: %{name}
Version: %{version}
Release: %{release}
# From Mandriva SVN
Source0: %{name}-%version.tar.bz2
License: GPL
Group: System/Kernel and hardware
BuildRoot: %{_tmppath}/%{name}-buildroot
Url:       http://svn.mandriva.com/cgi-bin/viewvc.cgi/soft/bootsplash/
Requires: perl-base
# Do not require mkinitrd anymore to be able to be prerequed by mkinitrd (mkinitrd is in basesystem anyway)
# Requires: mkinitrd >= 3.5.18-14mdk
Conflicts: mkinitrd < 3.5.18-14mdk
#there is no way to say a special kernel requires.
Requires: kernel initscripts > 7.04-15mdk fbgrab
Requires: perl-Archive-Cpio
Conflicts: drakxtools-newt < 10-49mdk
Obsoletes: Aurora Aurora-Monitor-NewStyle-Categorizing-WsLib Aurora-Monitor-NewStyle-WsLib Aurora-Monitor-Traditional-Gtk+ Aurora-Monitor-Traditional-WsLib-8.2
BuildRequires: freetype2-static-devel libmng-static-devel libjpeg-static-devel glibc-static-devel lcms-devel gtk-linux-fb-2.0-devel gtk+2-devel
# nomore noarch with the fbrelolution and progress binaries
#BuildArchitectures: noarch

%description
This package contains the scripts and pictures visible when booting a
Mandriva Linux kernel.  They are automatically installed when an initrd is
generated by mkinitrd.

%prep
%setup -q

%build
make LIB=%{_lib}

%install
rm -rf $RPM_BUILD_ROOT
make install prefix=$RPM_BUILD_ROOT

install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name}

for i in fbmngplay fbtruetype 
do
   cp $i/ChangeLog $i/ChangeLog.$i
   cp $i/README $i/README.$i
done

#find $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/ $RPM_BUILD_ROOT/%_datadir/%{name}/ -not -path "*/themes/Mandrake/*" -not -path "*/scripts/*" -type f |
#  sed -e "s#^$RPM_BUILD_ROOT##g" > rpm-themes-files

install -d -m755 $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/themes
install -d -m755 $RPM_BUILD_ROOT%{_datadir}/%{name}/themes

%find_lang bootsplash

%post
# Add right translation file
for i in `echo $LANGUAGE:$LC_ALL:$LC_COLLATE:$LANG:C | tr ':' ' '`
do      
        if [ -r %{_datadir}/locale/$i/LC_MESSAGES/bootsplash.mo ]; then
                mkdir -p /etc/locale/$i/LC_MESSAGES/
                cp %{_datadir}/locale/$i/LC_MESSAGES/SYS_LC_MESSAGES \
                        /etc/locale/$i/LC_MESSAGES/
                cp %{_datadir}/locale/$i/LC_MESSAGES/bootsplash.mo \
                        /etc/locale/$i/LC_MESSAGES/
            break
        fi
done
/sbin/ldconfig
    
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %name.lang
%defattr(-,root,root)
%doc README ChangeLog fbmngplay/ChangeLog.fbmngplay fbmngplay/README.fbmngplay fbtruetype/ChangeLog.fbtruetype fbtruetype/README.fbtruetype
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
%dir %{_sysconfdir}/%{name}
%dir %{_sysconfdir}/%{name}/themes
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/themes
%{_datadir}/%{name}/scripts
#%_datadir/%{name}/themes/Mandrake
#%config(noreplace) %_sysconfdir/%{name}/themes/Mandrake/*
/bin/fbresolution
/bin/fbtruetype.static
/bin/fbmngplay.static
/bin/progress
/sbin/bootanim
/sbin/splash
/sbin/splash.sh
%{_bindir}/*




%changelog
* Wed Oct 03 2007 Thierry Vignaud <tvignaud@mandriva.com> 3.2.9-1mdv2008.0
+ Revision: 95085
- updated translations
- uming fits well against current theme (funda)

* Thu Aug 23 2007 Thierry Vignaud <tvignaud@mandriva.com> 3.2.8-2mdv2008.0
+ Revision: 69426
- fix buildrequires for x86_64
- kill file require on perl-base


* Thu Mar 15 2007 Pixel <pixel@mandriva.com> 3.2.8-1mdv2007.1
+ Revision: 144392
- switch-themes: handle /boot/gfxmenu for grub
- switch-themes: handle /boot/gfxmenu for grub

* Mon Mar 05 2007 Olivier Blin <oblin@mandriva.com> 3.2.6-1mdv2007.1
+ Revision: 132851
- 3.2.6 (use hibernate config files if present for suspend)

* Thu Mar 01 2007 Pixel <pixel@mandriva.com> 3.2.5-1mdv2007.1
+ Revision: 130391
- Requires perl-Archive-Cpio for cpio-filter
- use cpio-filter to remove bootsplash from initrd without being root
  (useful for mkcd)

* Tue Feb 27 2007 Pixel <pixel@mandriva.com> 3.2.4-1mdv2007.1
+ Revision: 126445
- fix typo in make-boot-splash

* Mon Feb 26 2007 Pixel <pixel@mandriva.com> 3.2.3-1mdv2007.1
+ Revision: 125765
- create make-boot-splash-raw out of make-boot-splash
  (to be used by mkcd)

* Tue Feb 13 2007 Warly <warly@mandriva.com> 3.2.2-1mdv2007.1
+ Revision: 120360
- update tarball and spec for version 3.2.2
- update tarball and spec for version 3.2.2

* Mon Jan 22 2007 Olivier Blin <oblin@mandriva.com> 3.2.1-1mdv2007.1
+ Revision: 112060
- add suspend support in splash.sh

* Fri Dec 08 2006 Warly <warly@mandriva.com> 3.2.0-1mdv2007.1
+ Revision: 93848
- update tarball and spec for version 3.2.0
- Import bootsplash

* Wed Sep 06 2006 Warly <warly@mandriva.com> 3.1.13-1mdv2007.0
- added support for grub image in the theme

* Tue Apr 11 2006 Gwenole Beauchesne <gbeauchesne@mandriva.com> 3.1.12-1mdk
- Fix initramfs support (use cpio -c)

* Tue Apr 11 2006 Warly <warly@mandriva.com> 3.1.11-1mdk
- Do not require mkinitrd (mkinird will now prereq bootsplash)
- Handle initramfs in make-boot-splash and remove-boot-splash

* Sat Sep 17 2005 Pixel <pixel@mandriva.com> 3.1.10-1mdk
- fix upgrading mandrakelinux-theme to mandriva-theme by patching remove-theme
  ("remove-theme Mandrakelinux" from the preun of mandrakelinux-theme 
   will be called after the switch-theme from the post of mandriva-theme)
  this also implies mandriva-theme prereq this bootsplash

* Thu Sep 08 2005 Warly <warly@mandriva.com> 3.1.9-1mdk
- update po

* Fri Aug 12 2005 Nicolas Lécureuil <neoclust@mandriva.org> 3.1.8-2mdk
- fix url
- s/Mandrakelinux/Mandriva Linux/
- mkrel

* Fri Apr 08 2005 Warly <warly@mandrakesoft.com> 3.1.8-1mdk
- fix text mode

* Thu Apr 07 2005 Warly <warly@mandrakesoft.com> 3.1.7-1mdk
- Now fbmenu check that there are no duplicate entries

* Sat Apr 02 2005 Olivier Blin <oblin@mandrakesoft.com> 3.1.6-1mdk
- really try to get resolution from /dev/fb0
- fix BuildRequires
- from Pablo: translation updates

* Tue Mar 22 2005 Warly <warly@mandrakesoft.com> 3.1.5-1mdk
- Fix fbmenu compilation

* Thu Mar 17 2005 Warly <warly@mandrakesoft.com> 3.1.4-1mdk
- bootanim now uses bash getopts builtin

* Thu Mar 10 2005 Warly <warly@mandrakesoft.com> 3.1.3-1mdk
- now use libgtk-linux-fb-2.0-devel

* Fri Feb 18 2005 Warly <warly@mandrakesoft.com> 3.1.2-1mdk
- include fbmenu into the package

* Wed Feb 16 2005 Warly <warly@mandrakesoft.com> 3.1.1-1mdk
- improve fbmenu so that it can use fbgrab dump as background for the menu
- ad fbmenu for profiles menu
- include animations

* Tue Feb 08 2005 Pablo Saratxaga <pablo@mandrakesoft.com> 2.1.13-3mdk
- fixed Japanese display
- various new translations

* Fri Oct 01 2004 Pablo Saratxaga <pablo@mandrakesoft.com> 2.1.13-2mdk
- fix rendering for UTF-8 in ttf.c and splash.sh
- removed copying of locale from post script (it is now done by DrakX/locale)
- various new translations

* Sat Sep 11 2004 Warly <warly@mandrakesoft.com> 2.1.13-1mdk
- Do not refresh the screen if we are in verbose mode when rc starts

* Thu Sep 09 2004 Warly <warly@mandrakesoft.com> 2.1.12-1mdk
- remove-theme now does not require an argument

* Wed Sep 01 2004 Warly <warly@mandrakesoft.com> 2.1.11-1mdk
- refresh the screen in non latin1 font with a separate /usr partition
- fix mngplay.static build

* Sat Jul 17 2004 Warly <warly@mandrakesoft.com> 2.1.9-1mdk
- fix rendering for UTF-8 mo (pablo)

* Fri Jul 02 2004 Olivier Blin <blino@mandrake.org> 2.1.8-1mdk
- fix bootloader-config path
- fix remove-boot-splash path
- from Pablo: added Urdu file

* Wed Jun 30 2004 Pixel <pixel@mandrakesoft.com> 2.1.7-1mdk
- add scripts/remove-boot-splash so we can modify a bootsplash 
  from an initrd without having to rebuild it
- make-boot-splash doesn't try to detect the resolution anymore,
  it now needs to be given one
- in switch-themes and remove-theme, use bootloader-config to update the bootloader
- remove detect-resolution
- requires new mkinitrd (old mkinitrd used detect-resolution)
- remove "Patch: glibc-fixed-header.tar.bz2" which is unused (and not in CVS)

* Wed Apr 28 2004 Warly <warly@mandrakesoft.com> 2.1.6-1mdk
- fix compilation

* Fri Mar 19 2004 Warly <warly@mandrakesoft.com> 2.1.5-1mdk
- add Olivier Blin fixes to handle symbolic link into detect-resolution