From b7899e158a47e9ae98ee7f93639df058ad68d308 Mon Sep 17 00:00:00 2001 From: cvsextras Date: Nov 08 2004 05:32:11 +0000 Subject: auto-import changelog data from wesnoth-0.7-0.fdr.1.rh90.src.rpm 0.7-0.fdr.1 - update to 0.7 0.6.1-0.fdr.1 - update to 0.6.1 0.6-0.fdr.2 - update to bugfixed tarball of 0.6 0.6-0.fdr.1 - update to 0.6 - adapt to the new autoconf make system - enable editor and server 0.5.1-0.fdr.1 - update to 0.5.1 - Fedora -> fedora in desktop file vendor 0.5-0.fdr.1 - Initial Fedora packaging. --- diff --git a/.cvsignore b/.cvsignore index e69de29..8a06693 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +wesnoth-0.7.tar.gz diff --git a/sources b/sources index e69de29..de639bb 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8c38f71db9c689148c300474992eb260 wesnoth-0.7.tar.gz diff --git a/wesnoth.desktop b/wesnoth.desktop new file mode 100644 index 0000000..5f60b09 --- /dev/null +++ b/wesnoth.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Wesnoth +Comment=The Battle for Wesnoth +Exec=wesnoth +Icon=wesnoth.png +Terminal=false +Type=Application +Categories=Game;Application;X-Fedora; +Encoding=UTF-8 diff --git a/wesnoth.png b/wesnoth.png new file mode 100644 index 0000000..ec6521d Binary files /dev/null and b/wesnoth.png differ diff --git a/wesnoth.spec b/wesnoth.spec new file mode 100644 index 0000000..ee82432 --- /dev/null +++ b/wesnoth.spec @@ -0,0 +1,85 @@ +Name: wesnoth +Version: 0.7 +Release: 0.fdr.1.rh90 +Epoch: 0 +Summary: Battle for Wesnoth is a fantasy turn-based strategy game. + +Group: Amusements/Games +License: GPL +URL: http://www.wesnoth.org +Source0: http://www.wesnoth.org/files/wesnoth-0.7.tar.gz +Source1: %{name}.desktop +Source2: %{name}.png +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: SDL-devel, SDL_image-devel, SDL_mixer-devel +BuildRequires: SDL_ttf-devel, SDL_net-devel, freetype-devel +BuildRequires: desktop-file-utils + +%description +%{summary} + +Battle for control of villages, using variety of units which have advantages +and disadvantages in different types of terrains and against different types +of attacks. Units gain experience and advance levels, and are carried over +from one scenario to the next campaign. + +%prep +%setup -q + + +%build +%configure --disable-dependency-tracking \ + --enable-server \ + --enable-editor + +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +%makeinstall + +desktop-file-install --dir $RPM_BUILD_ROOT/%{_datadir}/applications \ + --mode="0644" --vendor fedora \ + --add-category="X-Fedora" %{SOURCE1} +# add icon for menus +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps +install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/pixmaps + +find $RPM_BUILD_ROOT -name ".cvs*" | xargs rm -f +find $RPM_BUILD_ROOT -name "CVS" | xargs rm -rf + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc COPYING changelog README copyright MANUAL* +%{_bindir}/* +%{_datadir}/%{name} +%{_datadir}/applications/* +%{_datadir}/pixmaps/* +%{_mandir}/man6/* + +%changelog +* Tue Mar 30 2004 Panu Matilainen 0:0.7-0.fdr.1 +- update to 0.7 + +* Wed Dec 17 2003 Panu Matilainen 0:0.6.1-0.fdr.1 +- update to 0.6.1 + +* Mon Dec 15 2003 Panu Matilainen 0:0.6-0.fdr.2 +- update to bugfixed tarball of 0.6 + +* Fri Dec 12 2003 Panu Matilainen 0:0.6-0.fdr.1 +- update to 0.6 +- adapt to the new autoconf make system +- enable editor and server + +* Tue Nov 11 2003 Panu Matilainen 0:0.5.1-0.fdr.1 +- update to 0.5.1 +- Fedora -> fedora in desktop file vendor + +* Tue Nov 04 2003 Panu Matilainen 0:0.5-0.fdr.1 +- Initial Fedora packaging.