diff --git a/.cvsignore b/.cvsignore index cb7598e..f39f681 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -springlobby-0.78.tar.bz2 +springlobby-0.79.tar.bz2 diff --git a/sources b/sources index b3b5467..734c25b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b02e2fa0efac7dda04add23c120b3e01 springlobby-0.78.tar.bz2 +5c6c9602447e8e24d5ea5c908128ddb8 springlobby-0.79.tar.bz2 diff --git a/springlobby-dso.patch b/springlobby-dso.patch new file mode 100644 index 0000000..13910d6 --- /dev/null +++ b/springlobby-dso.patch @@ -0,0 +1,17 @@ +--- CMakeLists.txt.dso 2010-04-21 19:33:17.000000000 +0200 ++++ CMakeLists.txt 2010-05-04 20:17:34.702775603 +0200 +@@ -165,6 +165,14 @@ + ELSE() + MESSAGE( FATAL_ERROR "libtorrent-rasterbar library not found! Please install the package or toggle OPTION_TORRENT_SYSTEM to OFF") + ENDIF() ++ FIND_PACKAGE( Boost COMPONENTS system ) ++ IF( Boost_FOUND ) ++ link_directories( ${Boost_LIB_DIR} ) ++ INCLUDE_DIRECTORIES( ${Boost_INCLUDE_DIR} ) ++ LINK_LIBRARIES( boost_system-mt ) ++ ELSE() ++ MESSAGE( FATAL_ERROR "boost library not found! Please install the package or toggle OPTION_TORRENT_SYSTEM to OFF") ++ ENDIF() + ELSE( NOT WIN32) + link_directories( ${boost_LIB_DIR} ) + INCLUDE_DIRECTORIES( ${boost_INCLUDE_DIR} ) diff --git a/springlobby.spec b/springlobby.spec index e11ca85..da7548a 100644 --- a/springlobby.spec +++ b/springlobby.spec @@ -1,5 +1,5 @@ Name: springlobby -Version: 0.78 +Version: 0.79 Release: 1%{?dist} Summary: A lobby client for the spring RTS game engine @@ -8,6 +8,7 @@ Group: Amusements/Games License: GPLv2 URL: http://springlobby.info Source0: http://www.springlobby.info/tarballs/springlobby-%{version}.tar.bz2 +Patch0: springlobby-dso.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -33,6 +34,7 @@ SpringLobby is a free cross-platform lobby client for the Spring RTS project. %prep %setup -q +%patch0 -p0 -b .dso %build @@ -87,6 +89,11 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue May 04 2010 Aurelien Bompard - 0.79-1 +- version 0.79 +- add patch to fix DSO linking + (http://fedoraproject.org/wiki/UnderstandingDSOLinkChange) + * Sun May 02 2010 Aurelien Bompard - 0.78-1 - version 0.78