From 1cb41aeae48387ccf900e2fa985de7845cde8ce1 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 21 Dec 2003 17:33:17 +0000 Subject: [PATCH 1/1] - added freetype-includes patch (use proper includes, needed for 2.1.7) - pl, cleanups, pass optflags, compile with existing default font location Changed files: bootsplash.spec -> 1.5 --- bootsplash.spec | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/bootsplash.spec b/bootsplash.spec index e80d117..5dc7a84 100644 --- a/bootsplash.spec +++ b/bootsplash.spec @@ -1,4 +1,5 @@ Summary: Bootsplash - graphical boot process for Linux +Summary(pl): Bootsplash - graficzny proces startu systemu dla Linuksa Name: bootsplash Version: 3.0.7 Release: 0.1 @@ -8,51 +9,47 @@ Group: Applications/System Source0: ftp://ftp.suse.com/pub/people/stepan/%{name}/rpm-sources/%{name}/%{name}-%{version}.tar.bz2 # Source0-md5: d7c7cdab692fb2edc5cf5ebb554f20a1 Source1: %{name}.script -URL: http://www.bootsplash.org -BuildRequires: freetype-devel >= 2 +Patch0: %{name}-freetype-includes.patch +URL: http://www.bootsplash.org/ +BuildRequires: freetype-devel >= 2.1 BuildRequires: libmng-devel 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 a set of userspace +bootsplash and control it's behaviour with this set of userspace utilities. +%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. + %prep %setup -q +%patch0 -p1 %build -cd Utilities -%{__make} \ - CC="%{__cc}" -cd .. +%{__make} -C Utilities \ + CC="%{__cc}" \ + CFLAGS="%{rpmcflags} -Wall -I/usr/include/freetype2 -DDEFAULT_FONTNAME=\\\"%{_datadir}/%{name}/luxisri.ttf\\\"" \ + STRIP=true %install rm -rf $RPM_BUILD_ROOT -# create directories if necessary -install -d $RPM_BUILD_ROOT%{_docdir}/%{name} -install -d $RPM_BUILD_ROOT%{_datadir}/%{name} -install -d $RPM_BUILD_ROOT%{_bindir} +install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}} install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/splash -install Documentation/* $RPM_BUILD_ROOT%{_docdir}/%{name} 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} -install Utilities/README.* $RPM_BUILD_ROOT%{_docdir}/%{name} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc Documentation/README.{bootsplash,kernel,config,themes} -%doc Utilities/README.{fbmngplay,fbtruetype} +%doc {Documentation,Utilities}/README.* %attr(755,root,root) %{_bindir}/* %{_datadir}/%{name} - -#%files subpackage -#%defattr(644,root,root,755) -#%doc extras/*.gz -#%{_datadir}/%{name}-ext -- 2.44.0