rpms/dopewars/F-11 dopewars.spec,1.6,1.7 sources,1.2,1.3
Jussi Lehtola
jussilehtola at fedoraproject.org
Fri Oct 9 10:49:54 UTC 2009
- Previous message (by thread): rpms/dopewars/F-10 dopewars.spec,1.5,1.6 sources,1.2,1.3
- Next message (by thread): rpms/dopewars/devel .cvsignore, 1.2, 1.3 dopewars.spec, 1.7, 1.8 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jussilehtola
Update of /cvs/pkgs/rpms/dopewars/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16936/F-11
Modified Files:
dopewars.spec sources
Log Message:
Update to SVN release to address security issues.
Index: dopewars.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dopewars/F-11/dopewars.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- dopewars.spec 24 Feb 2009 12:28:45 -0000 1.6
+++ dopewars.spec 9 Oct 2009 10:49:54 -0000 1.7
@@ -1,34 +1,44 @@
# State dir for savegames
-%define _localstatedir /var/lib/games
+%global _localstatedir /var/lib/games
+# SVN release
+%global rel 1033
Summary: A drug dealing game
Name: dopewars
Version: 1.5.12
-Release: 6%{?dist}
+Release: 8.%{rel}svn%{?dist}
URL: http://dopewars.sourceforge.net/
License: GPLv2+
Group: Amusements/Games
-Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+#Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+## The source tarball has been generated followingly:
+# svn co https://svn.sourceforge.net/svnroot/dopewars/dopewars/trunk dopewars
+# tar jcf dopewars-%{version}-%{rel}svn.tar.bz2
+Source0: %{name}-%{version}-%{rel}svn.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: esound-devel
-BuildRequires: desktop-file-utils
+BuildRequires: desktop-file-utils
BuildRequires: gtk2-devel
BuildRequires: ncurses-devel
BuildRequires: SDL_mixer-devel
+# SVN stuff
+BuildRequires: automake
+BuildRequires: autoconf
+
%description
-Based on John E. Dell's old Drug Wars game, dopewars is a simulation of an
-imaginary drug market. dopewars is an All-American game which features
-buying, selling, and trying to get past the cops!
-
-The first thing you need to do is pay off your debt to the Loan Shark. After
-that, your goal is to make as much money as possible (and stay alive)! You
-have one month of game time to make your fortune.
+Based on John E. Dell's old Drug Wars game, dopewars is a simulation of an
+imaginary drug market. dopewars is an All-American game which features
+buying, selling, and trying to get past the cops!
+
+The first thing you need to do is pay off your debt to the Loan Shark. After
+that, your goal is to make as much money as possible (and stay alive)! You
+have one month of game time to make your fortune.
dopewars supports multiple players via. TCP/IP. Chatting to and fighting
with other players (computer or human) is supported; check the command line
-switches (via dopewars -h) for further information.
+switches (via dopewars -h) for further information.
%package sdl
Summary: SDL sound support for dopewars
@@ -39,9 +49,17 @@ This package adds a plugin to dopewars t
the Simple DirectMedia Layer mixer (SDL_mixer).
%prep
-%setup -q
+#%setup -q
+%setup -q -n %{name}
+# Clean out svn stuff
+find . -name .svn | xargs rm -rf;
+# Fix documentation
+iconv -f ISO-8859-1 -t UTF-8 ChangeLog > ChangeLog.new && \
+mv ChangeLog.new ChangeLog
+chmod 644 doc/*.html
%build
+./autogen.sh
%configure \
--enable-shared --disable-static \
--enable-gui-server --enable-curses-client \
@@ -60,10 +78,8 @@ mv dopewars.desktop{.new,}
desktop-file-install --vendor="" \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications dopewars.desktop
-# Fix documentation
-iconv -f ISO-8859-1 -t UTF-8 ChangeLog > ChangeLog.new && \
-mv ChangeLog.new ChangeLog
-chmod 644 doc/*.html
+# Remove documentation installed by make install
+rm -rf %{buildroot}%{_docdir}
%clean
rm -rf %{buildroot}
@@ -90,22 +106,28 @@ rm -rf %{buildroot}
%{_libdir}/dopewars/libsound_sdl.so
%changelog
+* Fri Oct 09 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.5.12-8.1033svn
+- Update to svn release to address security issues.
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5.12-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5.12-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
-* Sat Nov 29 2008 Jussi Lehtola <jussi.lehtola at iki.fi> - 1.5.12-5
+* Sat Nov 29 2008 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.5.12-5
- Also fix release tag.
-* Sat Nov 29 2008 Jussi Lehtola <jussi.lehtola at iki.fi> - 1.5.12-4
+* Sat Nov 29 2008 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.5.12-4
- Fix bug 473644, unowned directory.
-* Fri Nov 07 2008 Jussi Lehtola <jussi.lehtola at iki.fi> - 1.5.12-3
+* Fri Nov 07 2008 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.5.12-3
- Fix source URL.
-* Tue Nov 04 2008 Jussi Lehtola <jussi.lehtola at iki.fi> - 1.5.12-2
+* Tue Nov 04 2008 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.5.12-2
- Add BR desktop-file-utils.
-* Tue Nov 04 2008 Jussi Lehtola <jussi.lehtola at iki.fi> - 1.5.12-1
+* Tue Nov 04 2008 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.5.12-1
- Spec file cleanups for Fedora inclusion.
* Mon Jul 28 2003 Ben Webb <benwebb at users.sf.net>
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/dopewars/F-11/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources 8 Nov 2008 09:30:12 -0000 1.2
+++ sources 9 Oct 2009 10:49:54 -0000 1.3
@@ -1 +1 @@
-debf749de9053dc2fb2e74c37ae06206 dopewars-1.5.12.tar.gz
+c35f94bd1a3eebc4cddb2f5644a40efb dopewars-1.5.12-1033svn.tar.bz2
- Previous message (by thread): rpms/dopewars/F-10 dopewars.spec,1.5,1.6 sources,1.2,1.3
- Next message (by thread): rpms/dopewars/devel .cvsignore, 1.2, 1.3 dopewars.spec, 1.7, 1.8 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list