rpms/maxr/devel import.log, NONE, 1.1 maxr.desktop, NONE, 1.1 maxr.png, NONE, 1.1 maxr.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Stefan Posdzich cheekyboinc at fedoraproject.org
Fri Feb 20 14:43:48 UTC 2009


Author: cheekyboinc

Update of /cvs/pkgs/rpms/maxr/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6224/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log maxr.desktop maxr.png maxr.spec 
Log Message:
Initial commit



--- NEW FILE import.log ---
maxr-0_2_4-2_fc10:HEAD:maxr-0.2.4-2.fc10.src.rpm:1235140864


--- NEW FILE maxr.desktop ---
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=M.A.X.R.
Comment=A classic turn-based strategy game
Exec=maxr
Icon=maxr
Type=Application
Categories=Game;StrategyGame;
Name[de_DE]=M.A.X.R.


--- NEW FILE maxr.spec ---
Name:		maxr
Version:	0.2.4
Release:	2%{?dist}
Summary:	A classic turn-based strategy game

Group:		Amusements/Games
License:	GPLv2+ and GFDL
URL:		http://www.maxr.org
Source0:	http://www.maxr.org/downloads/%{name}-%{version}.tar.gz
Source1:	%{name}.desktop
Source2:	%{name}.png
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Requires:	hicolor-icon-theme
BuildRequires:	SDL-devel SDL_mixer-devel SDL_net-devel
BuildRequires:	desktop-file-utils

%description
M.A.X.R. (Mechanized Assault and eXploration Reloaded) is a fanmade strategy 
game by the community of maxr.org. MAXR is OpenSource and a remake of
the old M.A.X.by Interplay from 1996 featuring network games based on TCP/IP 
(e.g. over the internet). The game can be played in a turn-based mode (with or 
without time limit), or simultaneous mode (all the players take their turns at 
the same time), and features combat in air, land, and sea. Three resources are 
present on the maps - Raw Materials, which are needed to manufacture units, 
structures and ammunition, Fuel, which power generators need to function, and 
Gold, which is used to purchase upgrades. This game is a mix of realtime and 
turnbased strategy with battle chess character.



%prep
%setup -q
# Needed because of this rpmlint warning "W: wrong-file-end-of-line-encoding"
sed -i 's/\r//' CHANGELOG
# Convert everything to UTF-8
iconv -f iso-8859-1 -t utf-8 -o COPYING.README.utf8 COPYING.README
touch -c -r COPYING.README COPYING.README.utf8
mv -f COPYING.README.utf8 COPYING.README

%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install

desktop-file-install \
	--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
	%{SOURCE1}

mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps

install -p -m 0644 %{SOURCE2} \
	$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png


%clean
rm -rf $RPM_BUILD_ROOT


%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi


%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi


%files
%defattr(-,root,root,-)
%doc ABOUT CHANGELOG COPYING COPYING.README
%{_bindir}/%{name}
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png

%changelog
* Wed Feb 18 2009 Stefan Posdzich <cheekyboinc at foresightlinux.org> - 0.2.4-2
- added: license FDL
- removed: automake
- removed: BR automake, autoconf and libtool

* Tue Feb 17 2009 Stefan Posdzich <cheekyboinc at foresightlinux.org> - 0.2.4-1
- Initial SPEC file


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/maxr/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	19 Feb 2009 20:23:19 -0000	1.1
+++ .cvsignore	20 Feb 2009 14:43:18 -0000	1.2
@@ -0,0 +1 @@
+maxr-0.2.4.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/maxr/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	19 Feb 2009 20:23:19 -0000	1.1
+++ sources	20 Feb 2009 14:43:18 -0000	1.2
@@ -0,0 +1 @@
+e9ff4a514f08579283e55cfdedff171b  maxr-0.2.4.tar.gz




More information about the fedora-extras-commits mailing list