X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=bootsplash.spec;h=efd4604f285b3a46d7159c1ce9e3951ba5b73b6e;hb=9f353bafa17952d31a16c3065cbf7e94bec2bd74;hp=6575efbaf5c27c8abc9d95080bec87d3c5c42fdf;hpb=00df41a320bcb6968fcff270ad56be9b0b90a329;p=packages%2Fbootsplash.git diff --git a/bootsplash.spec b/bootsplash.spec index 6575efb..efd4604 100644 --- a/bootsplash.spec +++ b/bootsplash.spec @@ -1,22 +1,22 @@ - -%bcond_without themes # build without themes - +# +# TODO: +# - place somewhere info that distkernel support only 16bit splashes (thnx Tomasz Grobelny) +# Summary: Bootsplash - graphical boot process for Linux +Summary(de): Bootsplash - graphischer System Start Summary(pl): Bootsplash - graficzny proces startu systemu dla Linuksa Name: bootsplash -Version: 3.0.7 -Release: 0.5 -Epoch: 0 +Version: 3.2 +Release: 1 License: GPL v2 Group: Applications/System -Source0: ftp://ftp.suse.com/pub/people/stepan/%{name}/rpm-sources/%{name}/%{name}-%{version}.tar.bz2 -# Source0-md5: d7c7cdab692fb2edc5cf5ebb554f20a1 +Source0: http://www.bootsplash.de/files/splashutils/%{name}-%{version}.tar.bz2 +# Source0-md5: b74c104372fd182d0442b3ed63210e29 Source1: %{name}.script Source2: %{name}-bootanim.script Source3: %{name}.sysconfig -Source4: %{name}-theme-darkblue-1.2.tar.gz -# Source4-md5: a5b64219f284ff772a4f3ebcd4f2bc34 -Patch0: %{name}-freetype-includes.patch +Source4: %{name}.init +Patch0: %{name}-3.2_makefile_libmng.patch URL: http://www.bootsplash.org/ BuildRequires: freetype-devel >= 2.1 BuildRequires: libmng-devel @@ -26,28 +26,20 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description When you have a kernel with bootsplash capability you can use the -bootsplash and control it's behaviour with this set of userspace +bootsplash and control its behaviour with this set of userspace utilities. +%description -l de +Wenn du einen Kernel mit der bootsplash Option hast, kannst du diese +mit diesen Programmen steuern. + %description -l pl Maj±c j±dro z opcj± bootsplash mo¿na uzyskaæ graficzny ekran podczas startu systemu i sterowaæ jego zachowaniem przy u¿yciu tego zbioru narzêdzi przestrzeni u¿ytkownika. -%package theme-darkblue -Summary: Bootsplash - darkblue theme -Summary(pl): Bootsplash - motyw darkblue -Group: Themes -Requires: bootsplash - -%description theme-darkblue -Darkblue theme for bootsplash. - -%description theme-darkblue -l pl -Motyw darkblue do bootsplash. - %prep -%setup -q %{?with_themes:-a4} +%setup -q %patch0 -p1 %build @@ -58,25 +50,18 @@ Motyw darkblue do bootsplash. %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},/etc/{bootsplash/themes,sysconfig}} +install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_sysconfdir}/bootsplash/themes} \ + $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig} install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/splash install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/bootanim install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/bootsplash +install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/bootsplash install Scripts/* $RPM_BUILD_ROOT%{_datadir}/%{name} install Utilities/splash $RPM_BUILD_ROOT%{_bindir}/splash.bin install Utilities/{fbmngplay,fbresolution,fbtruetype} $RPM_BUILD_ROOT%{_bindir} install Utilities/*.ttf $RPM_BUILD_ROOT%{_datadir}/%{name} -%if %{with themes} -#darkblue theme -THEME_DIR=$RPM_BUILD_ROOT/etc/bootsplash/themes/darkblue -install -d $THEME_DIR{,/animations,/config,/images} -install darkblue/animations/*.mng $THEME_DIR/animations -install darkblue/config/*.cfg $THEME_DIR/config -install darkblue/images/*.jpeg $THEME_DIR/images -%endif - %clean rm -rf $RPM_BUILD_ROOT @@ -84,17 +69,8 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc {Documentation,Utilities}/README.* %attr(755,root,root) %{_bindir}/* -%attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/bootsplash +%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/bootsplash +%attr(754,root,root) /etc/rc.d/init.d/bootsplash %{_datadir}/%{name} - -%if %{with themes} -%files theme-darkblue -%defattr(644,root,root,755) -%dir /etc/bootsplash/themes/darkblue/ -%dir /etc/bootsplash/themes/darkblue/animations -/etc/bootsplash/themes/darkblue/animations/* -%dir /etc/bootsplash/themes/darkblue/config -%config(noreplace) %verify(not md5 size mtime)/etc/bootsplash/themes/darkblue/config/* -%dir /etc/bootsplash/themes/darkblue/images -/etc/bootsplash/themes/darkblue/images/* -%endif +%dir %{_sysconfdir}/bootsplash +%dir %{_sysconfdir}/bootsplash/themes