rpms/LuxRender/F-10 LuxRender.spec, NONE, 1.1 LuxRender_v05-shared.patch, NONE, 1.1 import.log, NONE, 1.1 lux-0.5-intrinsic.patch, NONE, 1.1 luxblend-default.cfg, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Nicolas Chauvet kwizart at fedoraproject.org
Mon May 18 11:04:22 UTC 2009


Author: kwizart

Update of /cvs/pkgs/rpms/LuxRender/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7427/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	LuxRender.spec LuxRender_v05-shared.patch import.log 
	lux-0.5-intrinsic.patch luxblend-default.cfg 
Log Message:
Initial import for F-10



--- NEW FILE LuxRender.spec ---
Name:           LuxRender
Version:        0.5
Release:        4%{?dist}
Summary:        Lux Renderer, an unbiased rendering system

Group:          Applications/Multimedia
License:        GPLv3+ and BSD
URL:            http://www.luxrender.net
Source0:        http://www.luxrender.net/downloads/v05_release/LuxRender_v05_Source.zip
Source1:        http://www.luxrender.net/downloads/v05_release/LuxBlend_v05_Blender_Exporter.zip
Source2:        luxblend-default.cfg
Patch0:         LuxRender_v05-shared.patch
Patch1:         lux-0.5-intrinsic.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  desktop-file-utils
BuildRequires:  doxygen
BuildRequires:  cmake

BuildRequires:  bison
BuildRequires:  boost-devel
BuildRequires:  flex
BuildRequires:  fltk-devel
BuildRequires:  libpng-devel
BuildRequires:  libjpeg-devel
BuildRequires:  libtiff-devel
BuildRequires:  OpenEXR-devel
BuildRequires:  wxGTK-devel

BuildRequires:  libXdamage-devel

Requires:  %{name}-core = %{version}-%{release}


%description
LuxRender is a rendering system for physically correct image synthesis.

%package lib
Summary:        Libraries for %{name}
Group:          System Environment/Libraries

%description lib
The %{name}-lib package contains shared library for %{name}.

%package        core
Summary:        Core binaries for %{name}
Group:          Applications/Multimedia
Requires:       %{name}-lib = %{version}-%{release}

%description    core
The %{name}-core package contains core binaries for using %{name}.

%package        blender
Summary:        Blender export plugin to %{name}
Group:          Applications/Multimedia
Requires:       %{name} = %{version}-%{release}
Requires:       blender >= 2.48a-22

%description    blender
The %{name}-blender package contains the plugin for Blender
to export into %{name}

%package        devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}

%description    devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.

%package        devel-docs
Summary:        Documentation for developing %{name} applications
Group:          Documentation

%description devel-docs
The %{name}-devel-docs package contains the documentation needed to develop
applications with %{name}.


%prep
%setup -q -n lux
%setup -q -D -T -a 1 -n lux
%patch0 -p1 -b .shared
%patch1 -p1 -b .intrinsic
install -pm 0644 core/SFMT/LICENSE.txt LICENSE-SFMT.txt
#Disable tweaking
sed -i -e 's/-O3 -msse2 -mfpmath=sse -ftree-vectorize -funroll-loops -Wall//' CMakeLists.txt


for f in AUTHORS.txt COPYING.txt LICENSE-SFMT.txt ; do
  cp -p ${f} ${f}.ref
  sed -i 's/\r//' ${f}
  touch -r ${f}.ref ${f}
  rm ${f}.ref
done

#Disable wrong-end-of-line-encoding
sed -i 's|\r||' LuxBlend_0.1.py


%build
mkdir -p build
pushd build

%cmake \
  -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \
  -DCMAKE_SKIP_RPATH:BOOL=ON \
%if %{?_lib} == "lib64"
  -DLIBDIR=%{_lib} \
%endif
  ..

make %{?_smp_mflags} VERBOSE=1

popd

# generate doc
pushd doxygen
  doxygen doxygen.conf
popd


%install
rm -rf $RPM_BUILD_ROOT
pushd build

make install DESTDIR=$RPM_BUILD_ROOT

popd

desktop-file-install --vendor "" --delete-original \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  --remove-category Application \
  $RPM_BUILD_ROOT%{_datadir}/applications/luxrender.desktop

install -pm 0755 build/wxluxgui $RPM_BUILD_ROOT%{_bindir}

mkdir -p $RPM_BUILD_ROOT%{_datadir}/blender/scripts/bpydata/config
install -pm 0644 LuxBlend_0.1.py $RPM_BUILD_ROOT%{_datadir}/blender/scripts/

install -pm 0644 %{SOURCE2} \
  $RPM_BUILD_ROOT%{_datadir}/blender/scripts/bpydata/config/luxblend.cfg


%clean
rm -rf $RPM_BUILD_ROOT


%post lib -p /sbin/ldconfig

%postun lib -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc AUTHORS.txt COPYING.txt LICENSE-SFMT.txt
%{_bindir}/wxluxgui
%{_bindir}/luxrender
%{_datadir}/pixmaps/luxrender.svg
%{_datadir}/applications/luxrender.desktop

%files lib
%defattr(-,root,root,-)
%{_libdir}/*.so.*

%files core
%defattr(-,root,root,-)
%{_bindir}/luxconsole

%files blender
%defattr(-,root,root,-)
%{_datadir}/blender/scripts/LuxBlend_0.1.py*
%{_datadir}/blender/scripts/bpydata/config/luxblend.cfg

%files devel
%defattr(-,root,root,-)
%{_includedir}/luxrender/
%{_libdir}/*.so

%files devel-docs
%defattr(-,root,root,-)
%doc doxygen/html


%changelog
* Wed May 13 2009 kwizart < kwizart at gmail.com > - 0.5-4
- Move %%doc from -lib to main
- Remove Requires main from -devel-docs
- Disable wrong-end-of-line-encoding for LuxBlend_0.1.py
- Add Requires: blender >= 2.48a-22 so the script will copy
  the default settings in the end-user directory.

* Tue Mar 17 2009 kwizart < kwizart at gmail.com > - 0.5-3
- Add luxblend-default.cfg

* Tue Jan 20 2009 kwizart < kwizart at gmail.com > - 0.5-2
- Fix compilation with boost 1.34 - (backport)
- Subpackage the Blender_Exporter plugin 
- Subpackage -devel-docs for doxygen docs.

* Wed Jul 23 2008 kwizart < kwizart at gmail.com > - 0.5-1
- Update to 0.5

* Mon Dec 17 2007 Romang Jean-Francois <jeanfrancois.romang at laposte.net> 0.1-rc4
-Initial version


LuxRender_v05-shared.patch:

--- NEW FILE LuxRender_v05-shared.patch ---
diff -up lux/CMakeLists.txt.shared lux/CMakeLists.txt
--- lux/CMakeLists.txt.shared	2008-06-22 21:09:26.000000000 +0200
+++ lux/CMakeLists.txt	2008-08-06 15:13:58.000000000 +0200
@@ -483,8 +483,9 @@ INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR
 LINK_DIRECTORIES(${LINK_DIRECTORIES} ${Boost_LIBRARY_DIRS} ${OPENEXR_LIB_DIRS} ${FLTK_LIBRARIES_DIR} /usr/lib/fltk-1.1 /usr/lib64/fltk-1.1 ${PNG_LIBRARY} ${TIFF_LIBRARY} ${JPEG_LIBRARY})
 					
 #Here we build the core library
-ADD_LIBRARY(lux STATIC ${lux_lib_src} )
-TARGET_LINK_LIBRARIES(lux ${OPENEXR_LIBRARIES} ${Boost_LIBRARIES} ${PNG_LIBRARIES} ${TIFF_LIBRARIES} ${JPEG_LIBRARIES} )
+ADD_LIBRARY(lux SHARED ${lux_lib_src} )
+TARGET_LINK_LIBRARIES(lux ${OPENEXR_LIBRARIES} ${Boost_LIBRARIES} ${PNG_LIBRARIES} ${TIFF_LIBRARIES} ${JPEG_LIBRARIES} )
+SET_TARGET_PROPERTIES(lux PROPERTIES SOVERSION 1 VERSION "1.0")
 
 
 #############################################################################
@@ -583,7 +584,7 @@ INSTALL(TARGETS luxrender luxconsole
 #Install API/Library
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/core/api.h DESTINATION include/luxrender/)
 INSTALL(TARGETS lux
-	ARCHIVE DESTINATION lib/
+	LIBRARY DESTINATION ${LIB_INSTALL_DIR}
 )
 
 #Install Desktop files


--- NEW FILE import.log ---
LuxRender-0_5-4_fc10:F-10:LuxRender-0.5-4.fc10.src.rpm:1242644287

lux-0.5-intrinsic.patch:

--- NEW FILE lux-0.5-intrinsic.patch ---
diff -up lux/core/lux.h.intrinsic lux/core/lux.h
--- lux/core/lux.h.intrinsic	2009-01-20 14:06:33.000000000 +0100
+++ lux/core/lux.h	2009-01-20 14:07:05.000000000 +0100
@@ -29,7 +29,8 @@
 #ifdef __CYGWIN__
 #include <ieeefp.h>
 #endif
-
+
+#define BOOST_NO_INTRINSIC_INT64_T
 #include <boost/archive/text_oarchive.hpp>
 #include <boost/archive/text_iarchive.hpp>
 #include <boost/serialization/vector.hpp>


--- NEW FILE luxblend-default.cfg ---
luxblend = {
'lux': '/usr/bin/wxluxgui',
'checkluxpath': False,
}



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/LuxRender/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	15 May 2009 23:45:20 -0000	1.1
+++ .cvsignore	18 May 2009 11:03:51 -0000	1.2
@@ -0,0 +1,2 @@
+LuxBlend_v05_Blender_Exporter.zip
+LuxRender_v05_Source.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/LuxRender/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	15 May 2009 23:45:20 -0000	1.1
+++ sources	18 May 2009 11:03:52 -0000	1.2
@@ -0,0 +1,2 @@
+7cb0920c7c77ebaa5d7a721be124a27f  LuxBlend_v05_Blender_Exporter.zip
+c02174b85917b68ac5f681a4f117b7bd  LuxRender_v05_Source.zip




More information about the scm-commits mailing list