From 03df381ae9dca3c32885154fd29e2471e93a7620 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 1 Oct 2001 07:55:22 +0000 Subject: [PATCH] - simplified %%install, removed %%{_bindir} and %%{_applnkdir} from package - fixed typo, added pl summary NOTE: %%{_datadir}/icons should be changed to %%{_datadir}/pixmaps; %%{_docdir}/HTML should be changed to something... Changed files: boson.spec -> 1.14 --- boson.spec | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/boson.spec b/boson.spec index c5866b0..7f86443 100644 --- a/boson.spec +++ b/boson.spec @@ -1,4 +1,5 @@ -Summary: Boson : a Real-Time Strategy Game (RTS) for the KDE project +Summary: Boson: a Real-Time Strategy Game (RTS) for the KDE project +Summary(pl): Boson: gra strategiczna w czasie rzeczywistym dla KDE Name: boson Version: 0.4 Release: 1 @@ -28,7 +29,7 @@ License. If you want to know more about Boson, have a look at the Web site. %description -l pl -Boson jest gr± strategiczn± rozgrywan± w czsie rzeczywistym, tak jak +Boson jest gr± strategiczn± rozgrywan± w czasie rzeczywistym, tak jak Command&Conquer czy StarCraft. Zosta³ zaprojektowany dla maszyn uniksowych (linuksowych); uzywa biblioteki Qt i QwSpriteField. Wymaga siê co najmniej dwóch graczy, poniewa¿ brak (jeszcze?) sztucznej @@ -51,21 +52,17 @@ rm -rf $RPM_BUILD_ROOT %{__make} prefix=$RPM_BUILD_ROOT%{_prefix} install ## install textures and resources files : -mkdir $RPM_BUILD_ROOT%{_datadir}/apps/ -cd $RPM_BUILD_ROOT%{_datadir}/apps/ -cp $RPM_SOURCE_DIR/boson-pics-%{version}.tgz . -gunzip boson-pics-%{version}.tgz -tar xvf boson-pics-%{version}.tar -rm -f boson-pics-%{version}.tar +install -d $RPM_BUILD_ROOT%{_datadir}/apps +tar xzf %{SOURCE1} -C $RPM_BUILD_ROOT%{_datadir}/apps %clean rm -f $RPM_SOURCE_DIR %files %defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/ -%{_applnkdir}/ +%attr(755,root,root) %{_bindir}/* +%{_applnkdir}/* %{_datadir}/apps/ -%{_datadir}/icons/ +%{_datadir}/icons/* %doc %{_datadir}/doc/HTML/en/Boson/ %doc AUTHORS ChangeLog README TODO -- 2.43.0