]> git.pld-linux.org Git - packages/boson.git/blobdiff - boson.spec
- simplified %%install, removed %%{_bindir} and %%{_applnkdir} from package
[packages/boson.git] / boson.spec
index c5866b098edd6185d312e7a049fc2bd3b76b6aa1..7f864439f73efb88c7008edfca41208f1131f1f3 100644 (file)
@@ -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
This page took 0.048336 seconds and 4 git commands to generate.