From: kloczek Date: Sat, 26 Oct 2002 10:50:14 +0000 (+0000) Subject: - release 3, X-Git-Tag: RA-1_0~2 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=371f1cb13478906da7a27117a3a6d85d5186441b;hp=b0bc7c57827d8365c71aa72378effc55a0019a4c;p=packages%2Fboson.git - release 3, - use only 48x48 hires icons (added desktop patch), - added --disable-rpath --enable-final to autocnf parameters, - move desktop files from Games/TacticStrategy to Games/Strategy menu, - simplifications in %files amd added using %%find_lang for collect help files in %files. Changed files: boson.spec -> 1.30 --- diff --git a/boson.spec b/boson.spec index 0eda303..5e5557b 100644 --- a/boson.spec +++ b/boson.spec @@ -2,10 +2,11 @@ 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.6.1 -Release: 2 +Release: 3 License: GPL Group: X11/Applications/Games Source0: http://telia.dl.sourceforge.net/sourceforge/boson/%{name}-all-%{version}.tar.bz2 +Patch0: %{name}-desktop.patch Icon: boson.xpm URL: http://boson.sourceforge.net/ BuildRequires: arts-devel @@ -25,29 +26,24 @@ 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. - -If you want to know more about Boson, have a look at the Web site. - %description -l pl 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 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/. +jeszcze w niego graæ. %prep %setup -q -n %{name} +%patch0 -p1 %build kde_icondir=%{_pixmapsdir}; export kde_icondir kde_htmldir=%{_htmldir}; export kde_htmldir %configure \ - --with-install-root=%{buildroot} + --disable-rpath \ + --enable-final # %{__make} Fails becuse after including many QT headers gcc is unable to find :/ mv map map.foo @@ -59,23 +55,25 @@ mv map.foo map %install rm -rf $RPM_BUILD_ROOT -%{__make} install DESTDIR=$RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT ## install textures and resources files : #install -d $RPM_BUILD_ROOT%{_datadir}/apps +mv -f $RPM_BUILD_ROOT%{_applnkdir}/Games/{TacticStrategy,Strategy} +mv -f $RPM_BUILD_ROOT%{_pixmapsdir}/{hicolor/48x48/apps,}boson.png + +%find_lang %{name} --with-kde + %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS ChangeLog README TODO %attr(755,root,root) %{_bindir}/* -%{_htmldir}/en/boson -%{_applnkdir}/Games/TacticStrategy/*.desktop -%{_datadir}/apps/boson/bosonui.rc -%{_datadir}/apps/boson/themes -%{_datadir}/apps/boson/map -%{_datadir}/apps/boson/music/*/* -%{_datadir}/apps/boson/pics/*.png -%{_pixmapsdir}/*/*/apps/boson.png +%{_applnkdir}/Games/Strategy/*.desktop +%{_datadir}/apps/boson +%{_pixmapsdir}/boson.png