]> git.pld-linux.org Git - packages/asc.git/blobdiff - asc.spec
- reorganize boost BRs (boost-devel >= 1.35.0).
[packages/asc.git] / asc.spec
index ec1b58fb39b5db18e2279a45b02900d4683875a8..1390a9518e71a49001194cbda8e1616c1555195f 100644 (file)
--- a/asc.spec
+++ b/asc.spec
@@ -1,29 +1,36 @@
+# TODO:
+# - check sounds - doesn't work for me
+# - check unpacked files
+
 Summary:       Advanced Strategic Command - a free, turn based strategy game
 Summary:       Advanced Strategic Command - a free, turn based strategy game
-Summary(pl):   Advanced Strategic Command - turowa gra strategiczna
+Summary(pl.UTF-8):     Advanced Strategic Command - turowa gra strategiczna
 Name:          asc
 Name:          asc
-Version:       1.14.0.0
-Release:       2
-License:       GPL
+Version:       2.1.0.0
+Release:       0.1
+License:       GPL v2+
 Group:         X11/Applications/Games/Strategy
 Group:         X11/Applications/Games/Strategy
-Source0:       http://dl.sourceforge.net/asc-hq/%{name}-source-%{version}.tar.gz
-# Source0-md5: d0863303a7452226fcefafa5a7d31354
+Source0:       http://dl.sourceforge.net/asc-hq/%{name}-%{version}.tar.bz2
+# Source0-md5: d76cf500bebdddd8e7d2a094b532e6af
 Source1:       %{name}.desktop
 Source1:       %{name}.desktop
-Source2:       http://www.asc-hq.org/frontiers.mp3
-# Source2-md5: 560f5783836b309906e57e77417f3864
-Source3:       http://www.asc-hq.org/time_to_strike.mp3
-# Source3-md5: f0ab3c633f51430af0445ecaa02e3197
-Source4:       http://www.asc-hq.org/machine_wars.mp3
-# Source4-md5: c383139928613c7b081835c3d4a28fa8
+Source2:       %{name}.xpm
 URL:           http://www.asc-hq.org/
 URL:           http://www.asc-hq.org/
-BuildRequires: SDL-devel
 BuildRequires: SDL_image-devel
 BuildRequires: SDL_image-devel
-BuildRequires: SDL_mixer-devel
-BuildRequires: SDLmm-devel
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: libsigc++12-devel
-BuildRequires: libtool
-BuildRequires: paragui-devel
+BuildRequires: SDL_mixer-devel >= 1.2
+BuildRequires: SDL_sound-devel
+BuildRequires: SDL-devel >= 1.2.2
+#BuildRequires:        autoconf
+#BuildRequires:        automake
+BuildRequires: boost-devel >= 1.35.0
+BuildRequires: bzip2-devel >= 1.0.0
+BuildRequires: expat-devel
+BuildRequires: freetype-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel
+BuildRequires: libsigc++12-devel >= 1.2
+#BuildRequires:        libtool >= 2:1.5
+BuildRequires: physfs-devel
+BuildRequires: pkgconfig
+Obsoletes:     asc-music
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,64 +38,45 @@ ASC is a turn-based strategy game in the tradition of Battle Isle 2/3.
 It can be played against the computer or against other human players
 (either hotseat or by mail).
 
 It can be played against the computer or against other human players
 (either hotseat or by mail).
 
-%description -l pl
-ASC jest turow± gr± strategiczn± maj±c± korzenie w Battle Isle 2/3.
-Graj±c w ni± mo¿na siê zmierzyæ z komputerem lub z innym cz³owiekiem
-(przy jednym komputerze, lub przez pocztê).
-
-%package music
-Summary:       Music for Advanced Strategic Command
-Summary(pl):   Muzyka do Advanced Strategic Command
-Group:         X11/Applications/Games/Strategy
-Requires:      %{name}
-
-%description music
-Music for Advanced Strategic Command in MP3 format.
-
-%description music -l pl
-Muzyka do Advanced Strategic Command w formacie MP3.
+%description -l pl.UTF-8
+ASC jest turową grą strategiczną mającą korzenie w Battle Isle 2/3.
+Grając w nią można się zmierzyć z komputerem lub z innym człowiekiem
+(przy jednym komputerze, lub przez pocztę).
 
 %prep
 %setup -q
 
 
 %prep
 %setup -q
 
-cp %{SOURCE2} %{SOURCE3} %{SOURCE4} data/music
-
+# some problems with autotools in this version,
+# probably different versions of one of the build tools
 %build
 %build
-#%{__libtoolize}
-#%{__aclocal}
-#%{__automake}
-#%{__autoconf}
-cp -f /usr/share/automake/config.sub .
-
+#%%{__libtoolize}
+#%%{__aclocal}
+#%%{__autoconf}
+#%%{__autoheader}
+#%%{__automake}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Strategy,%{_mandir}/man6,%{_docdir}/%{name}-%{version}/html/graphics}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install data/legacy.con $RPM_BUILD_ROOT%{_datadir}/games/asc
-
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Strategy
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog source/TODO doc/graphics doc/*.{html,css}
-%attr(2755,root,games) %{_bindir}/asc
+%doc ChangeLog source/TODO 
+%attr(2755,root,games) %{_bindir}/%{name}
 %attr(755,root,root) %{_bindir}/asc_mapedit
 %attr(755,root,root) %{_bindir}/asc_mapedit
-%dir %{_datadir}/games/asc
-%dir %{_datadir}/games/asc/music
-%{_datadir}/games/asc/*.gfx
-%{_datadir}/games/asc/*.zip
-%{_datadir}/games/asc/*.con
-%{_applnkdir}/Games/Strategy/*
-
-%files music
-%defattr(644,root,root,755)
-%{_datadir}/games/asc/music/*
+%{_datadir}/games/%{name}
+%{_desktopdir}/%{name}.desktop
+%{_mandir}/man6/%{name}.6*
+%{_mandir}/man6/asc_mapedit.6*
+%{_pixmapsdir}/%{name}.xpm
This page took 0.07723 seconds and 4 git commands to generate.