Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:repabuild
k3d
k3d.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File k3d.spec of Package k3d
Name: k3d Version: 0.8.0.5+git702fbd7 Release: 1 Summary: 3D modeling, animation, and rendering system Group: applications/graphics License: GPL URL: http://www.k-3d.org/ Source0: k3d-source-%{version}.tar.bz2 Patch0: cmake-collada.patch Patch1: png14.patch Patch2: reference-nonmutable-0.8.0.2.patch Patch3: k3d-0.8.0.5-boost-system.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %if 0%{?fedora_version} BuildRequires: ImageMagick-c++-devel glibmm24-devel BuildRequires: gtkmm24-devel gts-devel BuildRequires: expat-devel BuildRequires: mesa-libOSMesa-devel BuildRequires: qt-devel BuildRequires: libxslt %endif %if 0%{?suse_version} BuildRequires: libMagick++-devel libgts-0_7-5-devel BuildRequires: glibmm2-devel BuildRequires: gtkmm2-devel BuildRequires: libexpat-devel BuildRequires: uuid-runtime BuildRequires: Mesa-devel BuildRequires: glew-devel BuildRequires: libqt4-devel %endif %if 0%{?suse_version} >= 1200 BuildRequires: libuuid-devel %endif %if 0%{?suse_version} >= 1310 BuildRequires: glu-devel %endif BuildRequires: collada-dom-devel pcre-devel BuildRequires: plib-devel gcc-c++ freetype2-devel BuildRequires: boost-devel > 1.39.0 BuildRequires: python-devel libtiff-devel OpenEXR-devel libpng-devel BuildRequires: libjpeg-devel libsigc++2-devel gtkglext-devel superlu BuildRequires: zlib-devel gnome-vfs2-devel BuildRequires: cmake fdupes BuildRequires: graphviz doxygen BuildRequires: blas libOgreMain-devel BuildRequires: lib3ds-devel BuildRequires: ftgl-devel BuildRequires: asciidoc %if 0%{?suse_version} # this is needed for png export with asciidoc BuildRequires: graphviz-gd BuildRequires: libxslt-tools %endif %Package -n libk3dsdk-devel Summary: 3D modeling, animation, and rendering system Group: Development/Libraries/C and C++ %description -n libk3dsdk-devel Header files for using the k3d libraries, a 3D modeling, animation, and rendering system %Package -n libk3dsdk Summary: 3D modeling, animation, and rendering system Group: Libraries %description -n libk3dsdk Libraries for k3d, a 3D modeling, animation, and rendering system %description K-3D is the free-as-in-freedom 3D modeling, animation, and rendering system for GNU / Linux, Posix, and Win32 operating systems. K-3D features a robust, object-oriented plugin architecture, designed to scale to the needs of professional artists, and is designed from-the-ground-up to generate motion-picture-quality animation using RenderMan-compliant render engines. We strongly recommend the Aqsis render engine for use with K-3D. K-3D s innovative interactive tutorial system will introduce you to basic use of the program. New tutorials can easily be recorded and shared with the rest of the community. K-3D allows you to create and edit documents in multiple realtime OpenGL solid, shaded, texture-mapped views. You can even model, animate, and interact with animations while they play back for maximum productivity! %prep %setup -q -n k3d-source-%{version} #%patch0 -p1 #%patch1 -p1 #%patch2 -p1 %patch3 -p1 %build # move this one out of the way, it interferes with cmake # mv CMakeCache.txt CMakeCache.txt.bak # correct translation files list # sed -i.bak -e'/mesh_stats.cpp/d' po/POTFILES.in # cmake with buildtree mkdir k3d-build; cd k3d-build %ifarch x86_64 cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. %else cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. %endif make # no SMP make possible, because this will typically lead to memory exhaustion # in several builds. %%{?_smp_mflags} %install cd k3d-build make install DESTDIR=$RPM_BUILD_ROOT #find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' # desktop entry install -d $RPM_BUILD_ROOT/%{_datadir}/applications cat <<EOF >$RPM_BUILD_ROOT/%{_datadir}/applications/k3d.desktop [Desktop Entry] X-SuSE-translate=false GenericName=3D Surface Modeller Encoding=UTF-8 Name=K3D Type=Application Exec=k3d Icon=k3d Terminal=false Categories=Graphics;3DGraphics;GTK; EOF # icon install -d $RPM_BUILD_ROOT/%{_datadir}/pixmaps ln -sf %{_datadir}/k3d/icons/k3d.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps %if 0%{?suse_version} %fdupes $RPM_BUILD_ROOT/%{_datadir}/k3d %endif cd .. find $RPM_BUILD_ROOT%{_datadir}/k3d -type d \ | sed 's|'$RPM_BUILD_ROOT'|%dir |' > data.files find $RPM_BUILD_ROOT%{_datadir}/k3d -type f -o -type l \ | sed 's|'$RPM_BUILD_ROOT'||' >> data.files grep '.*\.h$' data.files | sort > k3d-shaders.headers grep -v '.*\.h$' data.files | sort > k3d-data.files %ifarch x86_64 install -d $RPM_BUILD_ROOT%{_libdir} mv $RPM_BUILD_ROOT/usr/lib/* $RPM_BUILD_ROOT%{_libdir} rmdir $RPM_BUILD_ROOT/usr/lib %endif %clean rm -rf $RPM_BUILD_ROOT %files -f k3d-data.files %defattr(-,root,root,-) %doc README INSTALL k3d-build/CMakeCache.txt %{_libdir}/k3d %{_bindir}/* #%%{_mandir}/man1/* %{_datadir}/applications/k3d.desktop %{_datadir}/pixmaps/k3d.png %files -n libk3dsdk %defattr(-,root,root,-) %{_libdir}/libk3d*.so.* %files -n libk3dsdk-devel -f k3d-shaders.headers %defattr(-,root,root,-) %{_includedir}/k3d %{_libdir}/libk3d*.so %post -n libk3dsdk -p /sbin/ldconfig %postun -n libk3dsdk -p /sbin/ldconfig %changelog * Tue Aug 3 2010 Rene van Paassen <M.M.vanPaassen@tudelft.nl> - 0.8.0.1-3 - added prcre-devel, for collada integration * Tue Jan 12 2010 Rene van Paassen <Rene.vanPaassen@gmail.com> 0.7.11.0-1 - Update to newer version, changes due to the switch to cmake * Tue Mar 31 2009 Rene van Paassen <Rene.vanPaassen@gmail.com> 0.6.7.0-1 - Initial build k3d
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor