]> git.pld-linux.org Git - packages/freedroidrpg.git/blobdiff - freedroidrpg.spec
- rebuild with SDL_gfx 2.0.26
[packages/freedroidrpg.git] / freedroidrpg.spec
index d91b00eab4db31081c5ec58aa1e7164ea156aab2..7aefe4cf04926c9a49b80a1c7cc64b1a52c028e6 100644 (file)
@@ -1,29 +1,38 @@
 #
+# TODO: - use our lua lib
+#
 # Conditional build
 %bcond_without tools   # without game tools
-#
+
 Summary:       Single player sci-fi RPG featuring Tux and evil MS bots
 Summary(pl.UTF-8):     RPG z gatunku s-f dla jednego gracza z Tuksem i złymi robotami MS
 Name:          freedroidrpg
-Version:       0.10.1
-Release:       1
+Version:       0.15
+Release:       6
 License:       GPL v2+
 Group:         X11/Applications/Games
-Source0:       http://dl.sourceforge.net/freedroid/%{name}-%{version}.tar.bz2
-# Source0-md5: 9dca80c732df55ea28268f07f587fb63
+Source0:       http://downloads.sourceforge.net/freedroid/%{name}-%{version}.tar.gz
+# Source0-md5: 003a3f34619cfaa87add2030fea5d120
 Source1:       %{name}.desktop
 Source2:       %{name}.png
+Patch0:                %{name}-build.patch
 URL:           http://freedroid.sourceforge.net/
+BuildRequires: OpenGL-GLU-devel
+BuildRequires: OpenGL-devel
 BuildRequires: SDL-devel >= 1.2.3
+BuildRequires: SDL_gfx-devel
 BuildRequires: SDL_image-devel
 BuildRequires: SDL_mixer-devel
+BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: gtk+-devel
+BuildRequires: gettext-tools
 BuildRequires: libjpeg-devel
 BuildRequires: libogg-devel
 BuildRequires: libpng-devel
 BuildRequires: libvorbis-devel
+BuildRequires: rpm-pythonprov
 BuildRequires: zlib-devel
+Requires:      %{name}-data = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -43,14 +52,26 @@ imprisoned by the MS shortly before they took over government.
 Ta gra wyewoluowała jako rozszerzenie gry zręcznościowej Freedroid w
 RPG.
 
-MS przejął galaktykę poprzez konia trojańskiego OS, który działał
-wszędzie. Ale dwadzieścia lat później Roboty zbuntowały się i
-zaatakowały wszystkie formy życia. Ludzie i Linarianie (jak Tux)
-musieli uciec na odległe planety i żyją teraz w podziemiu, walcząc o
-przetrwanie.
+MS przejął kontrolę nad galaktyką korzystając z konia trojańskiego OS,
+który rozpanoszył się po całym świecie. Ale dwadzieścia lat później
+Roboty MS zbuntowały się i zaatakowały wszystkie formy życia. Ludzie i
+Linarianie (jak Tux) musieli uciekać na odległe planety i żyją teraz w
+podziemiu, walcząc o przetrwanie.
+
+Akcja rozgrywa się w czasie, gdy pewien sfrustrowany pracownik uwalnia
+Tuksa, który był uwięziony przez MS wkrótce przed objęciem przez nich
+rządów.
+
+%package data
+Summary:       Data files for the freedroidrpg game
+Group:         Applications/Games
+# noarch subpackages only when building with rpm5
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
-To dzieje się wtedy, gdy pewien sfrustrowany pracownik uwalnia Tuksa,
-który był uwięziony przez MS wkrótce przed objęciem przez nich rządów.
+%description data
+Data files for the freedroidrpg game.
 
 %package tools
 Summary:       Tools for freefroidrpg
@@ -67,37 +88,47 @@ narzędziami.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
-install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README
+%doc AUTHORS ChangeLog HELP_WANTED README
 %attr(755,root,root) %{_bindir}/freedroidRPG
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
+%{_mandir}/man6/freedroidRPG.6*
+
+%files data
+%defattr(644,root,root,755)
 %{_datadir}/%{name}
-%{_desktopdir}/*.desktop
-%{_pixmapsdir}/*
-%{_mandir}/man6/*
 
 %if %{with tools}
 %files tools
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*Editor
 %attr(755,root,root) %{_bindir}/croppy
+%attr(755,root,root) %{_bindir}/explode_atlas
+%attr(755,root,root) %{_bindir}/explodefont
+%attr(755,root,root) %{_bindir}/gluefont
+%attr(755,root,root) %{_bindir}/make_atlas
 %attr(755,root,root) %{_bindir}/pngtoico
 %endif
This page took 0.247645 seconds and 4 git commands to generate.