diff options
author | Florent Villard <warly@mandriva.com> | 2003-08-01 13:42:20 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2003-08-01 13:42:20 +0000 |
commit | 616f8e99634bdbbe95b2b0a15c060cecce4563a1 (patch) | |
tree | 22746cd19369c730bf23f6f5fed3120fd875368c /bootsplash.spec | |
parent | 696192fbe27cb0ef3bbe54e4ae5dd72fb1cd4545 (diff) | |
download | bootsplash-616f8e99634bdbbe95b2b0a15c060cecce4563a1.tar bootsplash-616f8e99634bdbbe95b2b0a15c060cecce4563a1.tar.gz bootsplash-616f8e99634bdbbe95b2b0a15c060cecce4563a1.tar.bz2 bootsplash-616f8e99634bdbbe95b2b0a15c060cecce4563a1.tar.xz bootsplash-616f8e99634bdbbe95b2b0a15c060cecce4563a1.zip |
some cosmetic changesV2_0_1_1mdk
Diffstat (limited to 'bootsplash.spec')
-rw-r--r-- | bootsplash.spec | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/bootsplash.spec b/bootsplash.spec index fde7d3c..69b720e 100644 --- a/bootsplash.spec +++ b/bootsplash.spec @@ -1,6 +1,6 @@ %define name bootsplash -%define version 2.0.0 -%define release 2mdk +%define version 2.0.1 +%define release 1mdk %define _bootdir /boot Summary: The Boot Splash Images and scripts @@ -48,6 +48,8 @@ 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 +%find_lang bootsplash + %post cd %{_bootdir} if [[ -x /usr/share/loader/make-initrd ]]; then @@ -63,6 +65,17 @@ cd %{_bootdir} fi fi +# 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/bootsplash.mo \ + /etc/locale/$i/LC_MESSAGES/ + break + fi +done + %postun cd %{_bootdir} if [[ -x /usr/share/loader/make-initrd ]]; then @@ -81,8 +94,7 @@ cd %{_bootdir} %clean rm -rf $RPM_BUILD_ROOT - -%files +%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} @@ -94,6 +106,10 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/* %changelog +* Fri Aug 01 2003 Warly <warly@mandrakesoft.com> 2.0.1-1mdk +- first vt is 0 and not 1 for bootsplash +- add locale + * Thu Jul 31 2003 Warly <warly@mandrakesoft.com> 2.0.0-2mdk - some images paths where wrong |