Compare commits
7 Commits
Author | SHA1 | Date |
---|---|---|
|
da672a8927 | |
|
c70afe53d0 | |
|
81edde0d8e | |
|
b6bcb0731e | |
|
f0e8fa5415 | |
|
0e009b8225 | |
|
e1f9deddf1 |
|
@ -1 +0,0 @@
|
||||||
simspark-0.1.tar.gz
|
|
|
@ -0,0 +1 @@
|
||||||
|
simspark-0.2.1.tar.gz
|
21
Makefile
21
Makefile
|
@ -1,21 +0,0 @@
|
||||||
# Makefile for source rpm: simspark
|
|
||||||
# $Id$
|
|
||||||
NAME := simspark
|
|
||||||
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
|
|
||||||
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)
|
|
|
@ -1 +0,0 @@
|
||||||
simspark-0_1-3_fc10:HEAD:simspark-0.1-3.fc10.src.rpm:1237704716
|
|
|
@ -1,15 +0,0 @@
|
||||||
diff -up simspark-0.1/CMakeLists.txt.cmakefix simspark-0.1/CMakeLists.txt
|
|
||||||
--- simspark-0.1/CMakeLists.txt.cmakefix 2009-03-17 11:00:37.000000000 +0330
|
|
||||||
+++ simspark-0.1/CMakeLists.txt 2009-03-17 11:02:03.000000000 +0330
|
|
||||||
@@ -76,8 +76,10 @@ endif (NOT FUNC_HSTRERROR_EXISTS)
|
|
||||||
add_definitions(-DHAVE_CONFIG_H)
|
|
||||||
include_directories(${CMAKE_BINARY_DIR})
|
|
||||||
if (UNIX)
|
|
||||||
- set(CMAKE_CXX_FLAGS "-Wno-deprecated" CACHE
|
|
||||||
+ set(CMAKE_CXX_FLAGS $ENV{CXXFLAGS} CACHE
|
|
||||||
STRING "Common C++ compiler flags" FORCE)
|
|
||||||
+ set(CMAKE_C_FLAGS $ENV{CFLAGS} CACHE
|
|
||||||
+ STRING "Common C compiler flags" FORCE)
|
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -W -Wall -Woverloaded-virtual" CACHE
|
|
||||||
STRING "C++ compiler flags for Debug builds" FORCE)
|
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG" CACHE
|
|
|
@ -1,22 +0,0 @@
|
||||||
diff -up simspark-0.1/lib/kerosin/imageserver/imageserver.h.devilfix simspark-0.1/lib/kerosin/imageserver/imageserver.h
|
|
||||||
--- simspark-0.1/lib/kerosin/imageserver/imageserver.h.devilfix 2009-03-16 11:31:54.000000000 +0330
|
|
||||||
+++ simspark-0.1/lib/kerosin/imageserver/imageserver.h 2009-03-16 11:33:29.000000000 +0330
|
|
||||||
@@ -27,6 +27,9 @@
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_IL_IL_H
|
|
||||||
#include <IL/il.h>
|
|
||||||
+#ifndef IL_ILBM
|
|
||||||
+#define IL_ILBM IL_LBM
|
|
||||||
+#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <zeitgeist/class.h>
|
|
||||||
@@ -66,7 +69,7 @@ public:
|
|
||||||
eICO = IL_ICO,
|
|
||||||
eJPG = IL_JPG,
|
|
||||||
eJFIF = IL_JFIF,
|
|
||||||
- eLBM = IL_LBM,
|
|
||||||
+ eLBM = IL_ILBM,
|
|
||||||
ePCD = IL_PCD,
|
|
||||||
ePCX = IL_PCX,
|
|
||||||
ePIC = IL_PIC,
|
|
|
@ -1,14 +1,12 @@
|
||||||
Name: simspark
|
Name: simspark
|
||||||
Version: 0.1
|
Version: 0.2.1
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Spark physical simulation system
|
Summary: Spark physical simulation system
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://simspark.sourceforge.net
|
URL: http://simspark.sourceforge.net
|
||||||
Source0: http://downloads.sourceforge.net/simspark/%{name}-%{version}.tar.gz
|
Source0: http://downloads.sourceforge.net/simspark/%{name}-%{version}.tar.gz
|
||||||
Patch0: %{name}-0.1-cmakefix.patch
|
|
||||||
Patch1: %{name}-0.1-devilfix.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: cmake boost-devel ruby ruby-devel SDL-devel tex(latex)
|
BuildRequires: cmake boost-devel ruby ruby-devel SDL-devel tex(latex)
|
||||||
|
@ -16,11 +14,7 @@ BuildRequires: ode-devel libGL-devel DevIL-devel freetype-devel libGLU-devel
|
||||||
BuildRequires: ImageMagick
|
BuildRequires: ImageMagick
|
||||||
Conflicts: rcssserver3d < 0.6.1
|
Conflicts: rcssserver3d < 0.6.1
|
||||||
Requires: ruby ruby(abi) = 1.8
|
Requires: ruby ruby(abi) = 1.8
|
||||||
%if 0%{?fedora} <= 10
|
|
||||||
Requires: dejavu-fonts
|
|
||||||
%else
|
|
||||||
Requires: dejavu-sans-mono-fonts
|
Requires: dejavu-sans-mono-fonts
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Spark is a physical simulation system. The primary purpose of this system is
|
Spark is a physical simulation system. The primary purpose of this system is
|
||||||
|
@ -40,8 +34,6 @@ developing applications that use %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .cmakefix
|
|
||||||
%patch1 -p1 -b .devilfix
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir build
|
mkdir build
|
||||||
|
@ -86,6 +78,16 @@ rm -rf %{buildroot}
|
||||||
%doc doc/devel/howtos doc/devel/manual.pdf
|
%doc doc/devel/howtos doc/devel/manual.pdf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 09 2010 Hedayat Vatankhah <hedayat@fedoraproject.org> - 0.2.1-1
|
||||||
|
- New upstream version 0.2.1
|
||||||
|
- Removed conditional for F10 and before
|
||||||
|
|
||||||
|
* Tue Jan 19 2010 Hedayat Vatankhah <hedayat@grad.com> 0.2-1
|
||||||
|
- Updated to latest upstream release 0.2
|
||||||
|
|
||||||
|
* Mon Aug 10 2009 Hedayat Vatankhah <hedayat@grad.com> 0.1.2-1
|
||||||
|
- Updated to latest upstream release 0.1.2
|
||||||
|
|
||||||
* Wed Mar 18 2009 Hedayat Vatankhah <hedayat@grad.com> 0.1-3
|
* Wed Mar 18 2009 Hedayat Vatankhah <hedayat@grad.com> 0.1-3
|
||||||
- fixed lib directory variable for cmake
|
- fixed lib directory variable for cmake
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue