From a64300b10eeef9a98a6ffe8c0e8f3d8b6f4491aa Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 17 Jun 2008 17:01:06 +0000 Subject: [PATCH 1/4] Initialize branch F-9 for adonthell --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..1c26f78 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-9 From 126cbe25be8765238e6ae12e1dd6e3ee740d2205 Mon Sep 17 00:00:00 2001 From: Mathieu Bridon Date: Wed, 18 Jun 2008 19:45:36 +0000 Subject: [PATCH 2/4] Adonthell: first import in F-9 branch. --- .cvsignore | 1 + adonthell.spec | 117 +++++++++++++++++++++++++++++++++++++++++++++++++ import.log | 1 + sources | 1 + 4 files changed, 120 insertions(+) create mode 100644 adonthell.spec create mode 100644 import.log diff --git a/.cvsignore b/.cvsignore index e69de29..45c07e6 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +adonthell-0.3.5.tar.gz diff --git a/adonthell.spec b/adonthell.spec new file mode 100644 index 0000000..0b45abc --- /dev/null +++ b/adonthell.spec @@ -0,0 +1,117 @@ +%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +Name: adonthell +Version: 0.3.5 +Release: 0.3%{?dist} +Summary: A 2D graphical RPG game + +Group: Amusements/Games +License: GPLv2+ +URL: http://adonthell.linuxgames.com/ +Source0: http://download.savannah.gnu.org/releases/adonthell/adonthell-0.3.5.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: python-devel +BuildRequires: freetype-devel +BuildRequires: libxml2-devel +BuildRequires: libogg-devel +BuildRequires: libvorbis-devel +BuildRequires: SDL_mixer-devel +BuildRequires: SDL_ttf-devel +BuildRequires: libpng-devel +BuildRequires: swig +BuildRequires: doxygen +BuildRequires: graphviz + + +%description +A 2D, graphical, single player role playing game inspired by good old +console RPGs from the 16 bit console gaming era. + +This package contains the Adonthell engine. You will also need a game +package to play Adonthell. For this release, the official package is +Waste's Edge. + + +%package doc +Summary: API documentation for %{name} + +Group: Documentation +Requires: %{name} = %{version}-%{release} + +%description doc +API documentation for %{name} generated by doxygen in HTML format. + + +%prep +%setup -q +# install locale files in the right place +sed -i 's|myconfig.gamedir + "/locale"|"%{_datadir}/locale"|' src/nls.cc +# remove hardcoded CFLAGS +sed -i 's|^CFLAGS|^#CFLAGS|g' configure + + +%build +%configure --enable-doc +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING FULLSCREEN.howto NEWBIE NEWS README +%{_bindir}/%{name} +%{_bindir}/%{name}-0.3 +%{_datadir}/%{name}/ + +%files doc +%doc doc/devel/html + + +%changelog +* Tue Jun 03 2008 Mathieu Bridon 0.3.5-0.3 +- added -p option to install + +* Sat May 31 2008 Mathieu Bridon 0.3.5-0.2 +- applied patch to configure instead of configure.in +- removed trademarks names from description +- removed explicit requires + +* Tue May 27 2008 Mathieu Bridon 0.3.5-0.1 +- switched to 0.3.5 release (includes bug fixes and fixes for building RPM for + fedora like pythin finding and errors with fedora specific flags) + +* Fri May 22 2008 Mathieu Bridon 0.3.4-0.8 +- fixed license tag (GPLv2 to GPLv2+) +- removed explicit requires +- fixed directories ownership + +* Thu Apr 17 2008 Mathieu Bridon 0.3.4-0.7 +- fixed building on 64 bits arch (/lib was hard coded in configure.in) + +* Fri Apr 04 2008 Mathieu Bridon 0.3.4-0.6 +- fixed typo in doc description + +* Fri Feb 22 2008 Mathieu Bridon 0.3.4-0.5 +- search for translations in the right place so that wastesedge +package can install them in the right place + +* Thu Feb 21 2008 Mathieu Bridon 0.3.4-0.4 +- separated the doc in a dedicated package + +* Thu Feb 21 2008 Mathieu Bridon 0.3.4-0.3 +- cleaned the spec file again + +* Thu Feb 21 2008 Mathieu Bridon 0.3.4-0.2 +- cleaned the spec file + +* Mon Feb 18 2008 Mathieu Bridon 0.3.4-0.1 +- first version of the SPEC file diff --git a/import.log b/import.log new file mode 100644 index 0000000..f860778 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +adonthell-0_3_5-0_3_fc9:F-9:adonthell-0.3.5-0.3.fc9.src.rpm:1213818308 diff --git a/sources b/sources index e69de29..a01850b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +64a344b1ed8a7808d7adafa337120a00 adonthell-0.3.5.tar.gz From d39c208955f44ec0ca7e060a46b7e384369022b8 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:25:10 +0000 Subject: [PATCH 3/4] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a5d6e38..d44be15 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: adonthell -# $Id$ +# $Id: Makefile,v 1.1 2008/06/17 17:00:50 kevin Exp $ NAME := adonthell SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 5bdb8cab81435b1f87541725b401081e43b48177 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 09:36:23 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index d44be15..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: adonthell -# $Id: Makefile,v 1.1 2008/06/17 17:00:50 kevin Exp $ -NAME := adonthell -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 1c26f78..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-9 diff --git a/import.log b/import.log deleted file mode 100644 index f860778..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -adonthell-0_3_5-0_3_fc9:F-9:adonthell-0.3.5-0.3.fc9.src.rpm:1213818308