]> git.pld-linux.org Git - packages/boson.git/blobdiff - boson.spec
- moved desktop file to _desktopdir/kde dir
[packages/boson.git] / boson.spec
index 68fad042672e0921b753c41d8ec6694b008cc754..3c90a4e0ca340ce9d632b9c53809bc293871aa2a 100644 (file)
@@ -1,23 +1,24 @@
 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:       3
+Version:       0.10
+Release:       0.1
 License:       GPL
 Group:         X11/Applications/Games
-Source0:       http://dl.sourceforge.net/sourceforge/%{name}/%{name}-all-%{version}.tar.bz2
-# Source0-md5: a8a1f40fde64d5e03d22b3d10cc16198
+Source0:       http://dl.sourceforge.net/boson/%{name}-all-%{version}.tar.bz2
+# Source0-md5: e54b1a3f1f140412597d4df296522bde
 Patch0:                %{name}-desktop.patch
+Patch1:                %{name}-python.patch
 Icon:          boson.xpm
 URL:           http://boson.sourceforge.net/
 BuildRequires: arts-devel
 BuildRequires: kdegames-devel >= 3.0.3
 BuildRequires: kdelibs-devel >= 3.0.3
+BuildRequires: lib3ds-devel
+BuildRequires: rpmbuild(macros) >= 1.129
 Requires:      arts-X11
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _htmldir        %{_docdir}/kde/HTML
-
 %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
@@ -28,28 +29,22 @@ still in very early development and not playable yet.
 %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
+uniksowych (linuksowych); u¿ywa 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æ.
 
 %prep
-%setup -q -n %{name}
-%patch0 -p1
+%setup -q -n %{name}-all-%{version}
+%patch0        -p1
+%patch1 -p1
 
 %build
-kde_icondir=%{_pixmapsdir}; export kde_icondir
-kde_htmldir=%{_htmldir}; export kde_htmldir
+kde_htmldir=%{_kdedocdir}; export kde_htmldir
 %configure \
        --disable-rpath \
-       --enable-final
-       
-# %{__make} Fails becuse after including many QT headers gcc is unable to find <map> :/
-mv map map.foo
-cd boson
-%{__make}
-cd ..
-mv map.foo map
+       --with-xinerama
+
 %{__make}
 
 %install
@@ -58,11 +53,8 @@ rm -rf $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
+mv -f $RPM_BUILD_ROOT%{_datadir}/applnk/Games/TacticStrategy/boson \
+       $RPM_BUILD_ROOT%{_desktopdir}/kde
 
 %find_lang %{name} --with-kde
 
@@ -73,6 +65,12 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README TODO
 %attr(755,root,root) %{_bindir}/*
-%{_applnkdir}/Games/Strategy/*.desktop
 %{_datadir}/apps/boson
-%{_pixmapsdir}/boson.png
+%{_desktopdir}/kde/*.desktop
+%{_datadir}/config/*
+%{_iconsdir}/hicolor/*/*/*
+%dir %{_libdir}/kde3/plugins/boson
+%attr(755,root,root) %{_libdir}/kde3/plugins/boson/*.so*
+%{_libdir}/kde3/plugins/boson/*.la
+%attr(755,root,root) %{_libdir}/kde3/plugins/designer/*.so
+%{_libdir}/kde3/plugins/designer/*.la
This page took 0.091238 seconds and 4 git commands to generate.