|
|
f1e5805 |
|
|
|
f1e5805 |
Name: k3d
|
|
|
1c05b84 |
Version: 0.7.11.0
|
|
|
b5f4f19 |
Release: 1%{?dist}
|
|
|
f1e5805 |
Summary: A 3D Modeling, Animation and Rendering System
|
|
|
f1e5805 |
|
|
|
f1e5805 |
Group: Applications/Multimedia
|
|
|
945a5b6 |
License: GPLv2+
|
|
|
f1e5805 |
URL: http://www.k-3d.org/
|
|
|
b5f4f19 |
Source0: http://dl.sourceforge.net/k3d/k3d-source-%{version}.tar.gz
|
|
|
b5f4f19 |
Source1: k3d.desktop
|
|
|
1c05b84 |
Patch0: k3d-0.7.11.0-potfiles.patch
|
|
|
b5f4f19 |
Patch1: k3d-0.7.10.0-warn.patch
|
|
|
1c05b84 |
Patch2: k3d-0.7.11.0-fontpath.patch
|
|
|
1c05b84 |
Patch3: k3d-0.7.11.0-gcc44.patch
|
|
|
f1e5805 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
f1e5805 |
|
|
|
2f11992 |
Requires: aqsis
|
|
|
2f11992 |
|
|
|
b5f4f19 |
BuildRequires: cmake
|
|
|
f1e5805 |
BuildRequires: desktop-file-utils
|
|
|
f1e5805 |
BuildRequires: mesa-libGL-devel
|
|
|
f1e5805 |
BuildRequires: expat-devel
|
|
|
f1e5805 |
BuildRequires: libsigc++20-devel
|
|
|
f1e5805 |
BuildRequires: gtkmm24-devel
|
|
|
f1e5805 |
BuildRequires: gtkglext-devel
|
|
|
f1e5805 |
BuildRequires: plib-devel
|
|
|
f1e5805 |
BuildRequires: freetype-devel
|
|
|
f1e5805 |
BuildRequires: python-devel
|
|
|
f1e5805 |
BuildRequires: libgnome-devel
|
|
|
2f11992 |
BuildRequires: gnome-vfs2-devel
|
|
|
f1e5805 |
BuildRequires: OpenEXR-devel
|
|
|
f1e5805 |
BuildRequires: libtiff-devel
|
|
|
f1e5805 |
BuildRequires: ImageMagick-c++-devel
|
|
|
f1e5805 |
BuildRequires: graphviz-devel
|
|
|
f1e5805 |
BuildRequires: boost-devel
|
|
|
f1e5805 |
BuildRequires: gts-devel
|
|
|
f1e5805 |
BuildRequires: librsvg2
|
|
|
f1e5805 |
BuildRequires: bzip2-devel
|
|
|
c8dbe24 |
BuildRequires: e2fsprogs-devel
|
|
|
9490656 |
BuildRequires: libtool doxygen gettext
|
|
|
b5f4f19 |
BuildRequires: libpng-devel
|
|
|
b5f4f19 |
BuildRequires: cairomm-devel
|
|
|
1c05b84 |
BuildRequires: uuid-c++-devel
|
|
|
b5f4f19 |
|
|
|
1c05b84 |
# Text widget uses bitstream font by default
|
|
|
b5f4f19 |
Requires: bitstream-vera-fonts
|
|
|
f1e5805 |
|
|
|
f1e5805 |
Requires(post): /sbin/ldconfig
|
|
|
f1e5805 |
Requires(post): desktop-file-utils
|
|
|
f1e5805 |
Requires(postun): /sbin/ldconfig
|
|
|
f1e5805 |
Requires(postun): desktop-file-utils
|
|
|
f1e5805 |
|
|
|
b5f4f19 |
Obsoletes: k3d-examples < 0.7.10.0
|
|
|
b5f4f19 |
|
|
|
f1e5805 |
|
|
|
f1e5805 |
%description
|
|
|
f1e5805 |
K-3D is a complete 3D modeling, animation and rendering system. K-3D
|
|
|
f1e5805 |
features a robust, object oriented plugin architecture, designed to
|
|
|
f1e5805 |
scale to the needs of professional artists. It is designed from the
|
|
|
f1e5805 |
ground up to generate motion picture quality animation using RenderMan
|
|
|
f1e5805 |
compliant render engines.
|
|
|
f1e5805 |
|
|
|
f1e5805 |
|
|
|
b32f0f2 |
%package devel
|
|
|
f1e5805 |
Summary: Headers for rendering models written by K-3D
|
|
|
f1e5805 |
Group: Development/Libraries
|
|
|
f1e5805 |
Requires: %{name} = %{version}-%{release}
|
|
|
f1e5805 |
|
|
|
f1e5805 |
|
|
|
f1e5805 |
%description devel
|
|
|
f1e5805 |
This package contains the libraries and header files needed for
|
|
|
f1e5805 |
rendering a model written by K-3D.
|
|
|
f1e5805 |
|
|
|
f1e5805 |
|
|
|
f1e5805 |
%prep
|
|
|
b5f4f19 |
%setup -q -n k3d-source-%{version}
|
|
|
b5f4f19 |
%patch0 -p 1 -b .potfiles
|
|
|
b5f4f19 |
%patch1 -p 1 -b .warn
|
|
|
b5f4f19 |
%patch2 -p 1 -b .fontpath
|
|
|
1c05b84 |
%patch3 -p 1 -b .gcc44
|
|
|
1c05b84 |
rm -f CMakeCache.txt
|
|
|
f1e5805 |
|
|
|
f1e5805 |
|
|
|
f1e5805 |
%build
|
|
|
b5f4f19 |
mkdir b
|
|
|
b5f4f19 |
cd b
|
|
|
b5f4f19 |
%cmake ..
|
|
|
b5f4f19 |
# Since our cmake macro disables rpath, we need to set some temp
|
|
|
b5f4f19 |
# library paths as the build invokes some built binaries to generate
|
|
|
b5f4f19 |
# proxy files.
|
|
|
b5f4f19 |
export LD_LIBRARY_PATH=%{_builddir}/k3d-source-%{version}/b/lib:$LD_LIBRARY_PATH
|
|
|
b5f4f19 |
echo LD_LIBRARY_PATH is $LD_LIBRARY_PATH
|
|
|
b5f4f19 |
make VERBOSE=1 %{?_smp_mflags}
|
|
|
f1e5805 |
|
|
|
f1e5805 |
|
|
|
f1e5805 |
%install
|
|
|
f1e5805 |
find -type f -regex '.*\.\(cpp\|h\|svg\)' -perm +111 -exec chmod -x {} ';'
|
|
|
f1e5805 |
|
|
|
b5f4f19 |
rm -rf $RPM_BUILD_ROOT
|
|
|
b5f4f19 |
cd b
|
|
|
f1e5805 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
b5f4f19 |
# Workaround for install bug
|
|
|
b5f4f19 |
cp lib/libk3dsdk-python-primitives.so $RPM_BUILD_ROOT%{_libdir}
|
|
|
b5f4f19 |
rm -fr $RPM_BUILD_ROOT%{_datadir}/k3d/locale/chef/LC_MESSAGES/k3d.mo
|
|
|
b5f4f19 |
# Remove fonts, we use Fedora-shipped fonts instead
|
|
|
b5f4f19 |
rm -fr $RPM_BUILD_ROOT${_datadir}/k3d/fonts
|
|
|
f1e5805 |
|
|
|
f1e5805 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
f1e5805 |
|
|
|
b5f4f19 |
desktop-file-install --vendor "fedora" \
|
|
|
b5f4f19 |
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
b5f4f19 |
%{SOURCE1}
|
|
|
f1e5805 |
|
|
|
f1e5805 |
|
|
|
f1e5805 |
%clean
|
|
|
f1e5805 |
rm -rf $RPM_BUILD_ROOT
|
|
|
f1e5805 |
|
|
|
f1e5805 |
|
|
|
b5f4f19 |
%check
|
|
|
b5f4f19 |
ctest
|
|
|
b5f4f19 |
|
|
|
b5f4f19 |
|
|
|
f1e5805 |
%post
|
|
|
f1e5805 |
/sbin/ldconfig
|
|
|
f1e5805 |
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
|
|
f1e5805 |
|
|
|
f1e5805 |
|
|
|
f1e5805 |
%postun
|
|
|
f1e5805 |
/sbin/ldconfig
|
|
|
f1e5805 |
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
|
|
f1e5805 |
|
|
|
f1e5805 |
|
|
|
f1e5805 |
%files
|
|
|
f1e5805 |
%defattr(-, root, root, -)
|
|
|
b5f4f19 |
%doc AUTHORS COPYING README
|
|
|
b5f4f19 |
%{_bindir}/k3d*
|
|
|
b5f4f19 |
%{_libdir}/*.so*
|
|
|
f1e5805 |
%{_libdir}/k3d
|
|
|
b5f4f19 |
%{_datadir}/k3d
|
|
|
f1e5805 |
%{_mandir}/man1/k3d*
|
|
|
f1e5805 |
|
|
|
f1e5805 |
|
|
|
f1e5805 |
%files devel
|
|
|
f1e5805 |
%defattr(-, root, root, -)
|
|
|
f1e5805 |
%{_includedir}/k3d
|
|
|
b5f4f19 |
%{_libdir}/*.so
|
|
|
f1e5805 |
|
|
|
f1e5805 |
|
|
|
f1e5805 |
%changelog
|
|
|
1c05b84 |
* Sun Mar 22 2009 Denis Leroy <denis@poolshark.org> - 0.7.11.0-1
|
|
|
1c05b84 |
- Update to upstream 0.7.11.0
|
|
|
1c05b84 |
|
|
|
b5f4f19 |
* Wed Mar 4 2009 Denis Leroy <denis@poolshark.org> - 0.7.10.0-1
|
|
|
b5f4f19 |
- Update to upstream 0.7.10.0
|
|
|
b5f4f19 |
- Build system now based on cmake
|
|
|
b5f4f19 |
- All patches upstreamed or obsoleted
|
|
|
b5f4f19 |
- Added potfiles file list patch fix
|
|
|
b5f4f19 |
- Removed example subpackage
|
|
|
b5f4f19 |
- Removed packaged bitstream fonts, use Fedora ones instead
|
|
|
b5f4f19 |
|
|
|
e237de1 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.7.0-10
|
|
|
e237de1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
e237de1 |
|
|
|
0d8930a |
* Thu Dec 18 2008 Petr Machata <pmachata@redhat.com> - 0.6.7.0-9
|
|
|
0d8930a |
- Rebuild for new boost
|
|
|
0d8930a |
|
|
|
ea46442 |
* Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.6.7.0-8
|
|
|
ea46442 |
- Rebuild for Python 2.6
|
|
|
ea46442 |
|
|
|
a68dd41 |
* Fri May 16 2008 Denis Leroy <denis@poolshark.org> - 0.6.7.0-7
|
|
|
a68dd41 |
- Rebuild for new ImageMagick
|
|
|
a68dd41 |
|
|
|
2b77660 |
* Tue Apr 1 2008 Denis Leroy <denis@poolshark.org> - 0.6.7.0-6
|
|
|
1bedbbe |
- Added patch to fix sigc++ include headers
|
|
|
1bedbbe |
|
|
|
9ef6a17 |
* Sat Feb 16 2008 Denis Leroy <denis@poolshark.org> - 0.6.7.0-5
|
|
|
9ef6a17 |
- Added patch for gcc 4.3 rebuild
|
|
|
9ef6a17 |
|
|
|
adbc7ca |
* Mon Oct 15 2007 Denis Leroy <denis@poolshark.org> - 0.6.7.0-4
|
|
|
adbc7ca |
- Rebuild for OpenEXR 1.6
|
|
|
adbc7ca |
|
|
|
833fc53 |
* Tue Aug 28 2007 Denis Leroy <denis@poolshark.org> - 0.6.7.0-3
|
|
|
833fc53 |
- Rebuild for expat 2.0
|
|
|
833fc53 |
|
|
|
877d89d |
* Sat Aug 4 2007 Denis Leroy <denis@poolshark.localdomain> - 0.6.7.0-2
|
|
|
877d89d |
- Rebuild for newer boost library
|
|
|
877d89d |
|
|
|
2f11992 |
* Mon Jul 9 2007 Denis Leroy <denis@poolshark.org> - 0.6.7.0-1
|
|
|
2f11992 |
- Update to 0.6.7.0
|
|
|
2f11992 |
- Removed patches that moved upstream
|
|
|
2f11992 |
- Added gnome-vfs2-devel, fixed gnome-vfs2 missing config
|
|
|
2f11992 |
- Fixed lib64 script to avoid autoreconf
|
|
|
2f11992 |
- Added aqsis dependency
|
|
|
5d64840 |
- Removed MultipleArgs from desktop file
|
|
|
2f11992 |
|
|
|
735d81f |
* Fri Dec 29 2006 Denis Leroy <denis@poolshark.org> - 0.6.5.0-1
|
|
|
735d81f |
- Update to 0.6.5.0
|
|
|
735d81f |
- Added patch to fix x86_64 startup crash in viewport widget
|
|
|
735d81f |
- Added patch to fix python 2.5 API changes
|
|
|
735d81f |
|
|
|
01ff6a4 |
* Mon Dec 11 2006 Denis Leroy <denis@poolshark.org> - 0.6.4.0-2
|
|
|
01ff6a4 |
- Rebuild with python 2.5
|
|
|
01ff6a4 |
|
|
|
b4adfb9 |
* Thu Nov 23 2006 Denis Leroy <denis@poolshark.org> - 0.6.4.0-1
|
|
|
d272320 |
- Update to 0.6.4.0
|
|
|
d272320 |
|
|
|
b4adfb9 |
* Tue Oct 10 2006 Denis Leroy <denis@poolshark.org> - 0.6.3.1-1
|
|
|
4d1036c |
- Update to 0.6.3.1
|
|
|
4d1036c |
|
|
|
46d06f6 |
* Mon Oct 9 2006 Denis Leroy <denis@poolshark.org> - 0.6.3.0-1
|
|
|
46d06f6 |
- Update to 0.6.3.0
|
|
|
46d06f6 |
|
|
|
aef85f5 |
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 0.6.2.0-2
|
|
|
aef85f5 |
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
|
|
aef85f5 |
|
|
|
9f9087d |
* Sun Sep 24 2006 Denis Leroy <denis@poolshark.org> - 0.6.2.0-1
|
|
|
9f9087d |
- Update to 0.6.2.0
|
|
|
9f9087d |
|
|
|
196bf6e |
* Mon Sep 11 2006 Denis Leroy <denis@poolshark.org> - 0.6.1.0-2
|
|
|
196bf6e |
- Rebuild against new OpenEXR version
|
|
|
196bf6e |
|
|
|
196bf6e |
* Wed Sep 6 2006 Denis Leroy <denis@poolshark.org> - 0.6.1.0-1
|
|
|
0ff72e8 |
- Update to 0.6.1.0
|
|
|
0ff72e8 |
|
|
|
5d6df03 |
* Mon Aug 28 2006 Denis Leroy <denis@poolshark.org> - 0.6.0.0-2
|
|
|
5d6df03 |
- FE6 Rebuild
|
|
|
5d6df03 |
|
|
|
b32f0f2 |
* Wed Aug 23 2006 Denis Leroy <denis@poolshark.org> - 0.6.0.0-1
|
|
|
b32f0f2 |
- Update to 0.6.0.0
|
|
|
b32f0f2 |
- Split example documents into separate package
|
|
|
b32f0f2 |
|
|
|
f1e5805 |
* Fri Aug 11 2006 Denis Leroy <denis@poolshark.org> - 0.5.16.0-3
|
|
|
f1e5805 |
- Added sample_document to devel pkg
|
|
|
f1e5805 |
|
|
|
f1e5805 |
* Thu Aug 10 2006 Denis Leroy <denis@poolshark.org> - 0.5.16.0-2
|
|
|
f1e5805 |
- Added ChangeLog to devel doc
|
|
|
f1e5805 |
|
|
|
f1e5805 |
* Sat Aug 5 2006 Denis Leroy <denis@poolshark.org> - 0.5.16.0-1
|
|
|
f1e5805 |
- Update to version 0.5.16.0
|
|
|
f1e5805 |
|
|
|
f1e5805 |
* Tue Aug 1 2006 Denis Leroy <denis@poolshark.org> - 0.5.15.0-3
|
|
|
f1e5805 |
- Recreated devel package
|
|
|
f1e5805 |
|
|
|
f1e5805 |
* Tue Aug 1 2006 Denis Leroy <denis@poolshark.org> - 0.5.15.0-2
|
|
|
f1e5805 |
- Cleaned up files sections
|
|
|
f1e5805 |
|
|
|
f1e5805 |
* Tue Jul 25 2006 root <denis@poolshark.org> - 0.5.15.0-1
|
|
|
f1e5805 |
- Update to 0.5.15.0
|
|
|
f1e5805 |
- Added patch to detect opengl correctly on x86_64
|
|
|
f1e5805 |
|
|
|
f1e5805 |
* Tue Mar 7 2006 Denis Leroy <denis@poolshark.org> - 0.5.0.39-1
|
|
|
f1e5805 |
- First version
|