Author: wolf                         Date: Fri Nov  2 13:08:50 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 0.9.2

---- Files affected:
SPECS:
   pmars.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: SPECS/pmars.spec
diff -u SPECS/pmars.spec:1.17 SPECS/pmars.spec:1.18
--- SPECS/pmars.spec:1.17       Tue Feb 13 09:06:41 2007
+++ SPECS/pmars.spec    Fri Nov  2 14:08:45 2007
@@ -1,20 +1,18 @@
 # $Revision$, $Date$
-%define                _fver   %(echo %{version} | tr . _)
 Summary:       Portable corewar system with ICWS'94 extensions
 Summary(pl.UTF-8):     Przenośny system Wojen Rdzeniowych z rozszerzeniami 
ICWS'94
 Name:          pmars
-Version:       0.8.6
-Release:       4
-License:       Freeware
+Version:       0.9.2
+Release:       1
+License:       GPL
 Group:         Applications/Games
-Source0:       http://www.koth.org/pmars/%{name}-%{_fver}_tar.gz
-# Source0-md5: eaea26fc7df36a6e6e851767e5ae4c25
+Source0:       http://dl.sourceforge.net/corewar/%{name}-%{version}.tar.gz
+# Source0-md5: a73943a34e9de8f0d3028fc4566cd558
 Source1:       corewars.tar.gz
 # Source1-md5: 4df24a0f88d0dc4f66f67a4e4fa596cc
-BuildRequires: XFree86-devel
 BuildRequires: groff
 BuildRequires: ncurses-devel
-BuildRequires: vim-static
+BuildRequires: xorg-lib-libX11-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -63,6 +61,7 @@
 %setup -q -a 1
 
 %build
+cd src
 # X11 version
 %{__make} CC="%{__cc}" \
        CFLAGS="%{rpmcflags} -DEXT94 -DXWINGRAPHX" \
@@ -82,25 +81,22 @@
        CFLAGS="%{rpmcflags} -DEXT94" \
        LIB="%{rpmldflags}"
 
-# TODO: svgalib version
-
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6}
 
-install {,c,x}pmars    $RPM_BUILD_ROOT%{_bindir}
-install pmars.6                $RPM_BUILD_ROOT%{_mandir}/man6
-
-mkdir examples
-for i in *.red ; do mv -f $i examples ; done
+install src/{,c,x}pmars        $RPM_BUILD_ROOT%{_bindir}
+install doc/pmars.6    $RPM_BUILD_ROOT%{_mandir}/man6
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README CONTRIB primer.94 primer.cdb redcode.ref whatsnew.080 *.opt *.mac
-%doc examples
+%doc AUTHORS CONTRIB ChangeLog README
+%doc doc/primer* doc/redcode.ref doc/whatsnew.080 doc/corewar-faq.html
+%doc config
+%doc warriors
 %lang(pl) %doc corewars-pl/*
 %attr(755,root,root) %{_bindir}/pmars
 %{_mandir}/man6/*
@@ -119,6 +115,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2007/11/02 13:08:45  wolf
+- 0.9.2
+
 Revision 1.17  2007/02/13 08:06:41  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pmars.spec?r1=1.17&r2=1.18&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to