]> git.pld-linux.org Git - packages/boson.git/commitdiff
- spec adapterized.
authorkloczek <kloczek@pld-linux.org>
Thu, 18 May 2000 16:58:01 +0000 (16:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    boson.spec -> 1.8

boson.spec

index ccf038fa73c7e93711f4e097dacc611dc0a80885..610638164bd6981dc9fe740e50f8e8dc3ad1a02f 100644 (file)
@@ -4,6 +4,7 @@ Version:        0.2
 Release:       1
 License:       GPL
 Group:         X11/KDE/Games
+Group(pl):     X11/KDE/Gry
 Source0:       boson-%{version}.tgz
 Source1:       boson-pics-%{version}.tgz
 Icon:          boson.xpm
@@ -15,24 +16,25 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Boson is a real-time strategy game, like Command&Conquer(tm) or
-StarCraft(tm). It is designed to run on Unix (Linux) computers and uses the
-Qt Toolkit and QwSpriteField. A minimum of two players is required, since
-there is no artifical intelligence (yet?). Boson is still in very early
-development and not playable yet.
+StarCraft(tm). It is designed to run on Unix (Linux) computers and
+uses the Qt Toolkit and QwSpriteField. A minimum of two players is
+required, since there is no artifical intelligence (yet?). Boson is
+still in very early development and not playable yet.
 
-Boson's Code and Graphics are published under the GNU General Public License.
+Boson's Code and Graphics are published under the GNU General Public
+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
-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 inteligencji. Boson jest
-wci±¿ w fazie wczesnego rozwoju i nie da siê jeszcze w niego graæ.
-Kod i grafika Bosona s± na powszechnej licencji GNU.
-Aby dowiedzieæ siê wiêcej na temat Bosona, nale¿y zajrzeæ na stronê WWW:
-http://aquila.rezel.enst.fr/boson/.
+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
+inteligencji. Boson jest wci±¿ w fazie wczesnego rozwoju i nie da siê
+jeszcze w niego graæ. Kod i grafika Bosona s± na powszechnej licencji
+GNU. Aby dowiedzieæ siê wiêcej na temat Bosona, nale¿y zajrzeæ na
+stronê WWW: http://aquila.rezel.enst.fr/boson/.
 
 %prep
 %setup -q
@@ -44,26 +46,25 @@ CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
 make
 
 %install
-if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT ; fi
-make prefix=$RPM_BUILD_ROOT%{prefix} install
+rm -rf $RPM_BUILD_ROOT
+make prefix=$RPM_BUILD_ROOT%{_prefix} install
 
 ## install textures and resources files :
-mkdir $RPM_BUILD_ROOT%{prefix}/share/apps/
-cd $RPM_BUILD_ROOT%{prefix}/share/apps/
+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 boson-pics-%{version}.tar
 
 %clean
-rm -rf %{builddir}
-[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
-#rm -f $RPM_SOURCE_DIR/boson*
+rm -f $RPM_SOURCE_DIR
 
 %files 
-%{prefix}/bin/
-%{prefix}/share/applnk/
-%{prefix}/share/apps/
-%{prefix}/share/icons/
-%doc %{prefix}/share/doc/HTML/en/Boson/
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/
+%{_applnkdir}/
+%{_datadir}/apps/
+%{_datadir}/icons/
+%doc %{_datadir}/doc/HTML/en/Boson/
 %doc AUTHORS COPYING ChangeLog INSTALL README TODO
This page took 0.097825 seconds and 4 git commands to generate.