]> git.pld-linux.org Git - packages/asc.git/blobdiff - asc.spec
- up to 2.6.0.0
[packages/asc.git] / asc.spec
index e74d214920c99ad5dabbc4d19e835521a4755679..01c30479821ce0e9a0263881715c2f77d12a7897 100644 (file)
--- a/asc.spec
+++ b/asc.spec
@@ -4,12 +4,12 @@
 Summary:       Advanced Strategic Command - a free, turn based strategy game
 Summary(pl.UTF-8):     Advanced Strategic Command - turowa gra strategiczna
 Name:          asc
-Version:       2.4.0.0
-Release:       3
+Version:       2.6.0.0
+Release:       1
 License:       GPL v2+
 Group:         X11/Applications/Games/Strategy
 Source0:       http://downloads.sourceforge.net/asc-hq/%{name}-%{version}.tar.bz2
-# Source0-md5: 8c18a7cf84cb53b04527d864301d405d
+# Source0-md5: 3f0002f1d3ccdf447b4721a171ed2ac3
 Source1:       %{name}.desktop
 Source2:       %{name}.xpm
 Patch0:                %{name}-configure.patch
@@ -34,10 +34,14 @@ BuildRequires:      lua51-devel
 BuildRequires: physfs-devel
 BuildRequires: pkgconfig
 BuildRequires: wxGTK2-unicode-gl-devel
+BuildRequires: xvid-devel
+BuildRequires: zip
 BuildRequires: zlib-devel
 Obsoletes:     asc-music
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                specflags       -fpermissive
+
 %description
 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
@@ -81,8 +85,8 @@ 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
@@ -95,6 +99,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_desktopdir}/%{name}.desktop
 %{_mandir}/man6/%{name}.6*
 %{_pixmapsdir}/%{name}.xpm
+%{_datadir}/appdata/asc.appdata.xml
 
 %files tools
 %defattr(644,root,root,755)
This page took 0.040951 seconds and 4 git commands to generate.