]> git.pld-linux.org Git - packages/blender.git/blobdiff - blender.spec
- ahh, what the hell: openssl 0.9.7c
[packages/blender.git] / blender.spec
index f4dc8929158b1c3f9fd432ddf172e338c21c6158..36bd3a8639af2e65770813c6497ea61286121fd8 100644 (file)
@@ -1,95 +1,74 @@
-
-# chyba nie mo¿emy tego udostêpniaæ na naszym FTP
-# przynajmniej ja tak rozumiem fragment copyright.txt:
+# TODO:
+# - check BRs
 #
-# "Distributing the Software 'bundled' in with ANY product is
-#  considered to be a 'commercial purpose'."
-
-
-%ifarch %{ix86}
-%define                arch_name blender%{version}-linux-glibc2.1.2-i386
-%endif
-%ifarch %{alpha}
-%define                arch_name blender%{version}-linux-glibc2.1.3-alpha
-%endif
-
 Summary:       3D modeling, rendering, animation and game creation package
-Summary(pl):   Pakiet do tworzenia animacji 3D oraz robienia gier
+Summary(pl):   Pakiet do tworzenia animacji 3D oraz gier
 Name:          blender
-Version:       2.20
-Release:       1
-License:       Free for use
-Group:         Applications/Graphics
-Vendor:                NaN Technologies B.V.
-Source0:       ftp://ftp.blender.nl/pub/%{arch_name}.tar.gz
-Source1:       %{name}.defaults
-Source2:       %{name}.sh
-Patch0:                %{name}-bmake.patch
-URL:           http://www.blender.nl/
+Version:       2.28
+Release:       0.1
+License:       GPL
+Group:         X11/Applications/Graphics
+Source0:       http://download.blender.org/source/%{name}-%{version}.tar.bz2
+# Source0-md5: 4c86e9d28c6ca70b80375fd2c75423bb
+Source1:       %{name}.desktop
+Source2:       %{name}.png
+BuildRequires: OpenAL-devel
+BuildRequires: OpenGL-devel
+BuildRequires: SDL-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: esound-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel
+BuildRequires: libstdc++-devel
+BuildRequires: libtool
+BuildRequires: libvorbis-devel
+BuildRequires: openssl-devel >= 0.9.7c
+BuildRequires: python-devel
+BuildRequires: smpeg-devel
+BuildRequires: zlib-devel
 Requires:      OpenGL
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define        _noautoreqdep   libGL.so.1 libGLU.so.1
-%define                _prefix         /usr/X11R6
 
 %description
 Blender is a free and fully functional 3D modeling, rendering,
 animation and game creation package for Unix, Windows and BeOS
-systems. Blender is distributed without sources, it is exclusively
-developed and maintained by the Dutch company NaN Technologies B.V.
+systems.
 
 %description -l pl
 Blender to darmowy i w pe³ni funkcjonalny pakiet do tworzenia animacji
-3D oraz robienia gier, dostêpny dla systemów Unix, Windows i BeOS.
-Blender jest rozpowszechniany bez ¼róde³. Jest rozwijany przez
-holendersk± firmê NaN Technologies B.V.
+3D oraz gier, dostêpny dla systemów Unix, Windows i BeOS.
 
 %prep
-%setup -qn %{arch_name}
-%patch0 -p1
+%setup -q
 
 %build
-cd plugins
-%{__make} clean
-%{__make} OPTFLAGS="%{rpmcflags}"
+rm -f missing
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/blender/plugins/{sequence,texture}}
-install -d $RPM_BUILD_ROOT{%{_datadir}/blender/{textures,sounds},%{_includedir}/blender}
-install -d $RPM_BUILD_ROOT%{_examplesdir}/blender/plugins/{sequence,texture}
-
-install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/blender
-
-install blender $RPM_BUILD_ROOT%{_libdir}/blender
-install plugins/sequence/*.so $RPM_BUILD_ROOT%{_libdir}/blender/plugins/sequence
-install plugins/texture/*.so $RPM_BUILD_ROOT%{_libdir}/blender/plugins/texture
-
-install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/blender/defaults
-
-install plugins/include/* $RPM_BUILD_ROOT%{_includedir}/blender
+install -d $RPM_BUILD_ROOT{%{_applnkdir},%{_pixmapsdir}}
 
-install plugins/{Makefile,bmake} $RPM_BUILD_ROOT%{_examplesdir}/blender/plugins
-install plugins/sequence/{Makefile,*.c} $RPM_BUILD_ROOT%{_examplesdir}/blender/plugins/sequence
-install plugins/texture/{Makefile,*.c} $RPM_BUILD_ROOT%{_examplesdir}/blender/plugins/texture
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf README copyright.txt
+install -c %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}
+install -c %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
-%attr(755,root,root) %{_bindir}/blender
-%dir %{_libdir}/blender
-%attr(755,root,root) %{_libdir}/blender/blender
-%{_libdir}/blender/plugins
-%{_datadir}/blender
-%{_includedir}/blender
-%dir %{_examplesdir}/blender
-%dir %{_examplesdir}/blender/plugins
-%attr(755,root,root) %{_examplesdir}/blender/plugins/bmake
-%attr(755,root,root) %{_examplesdir}/blender/plugins/Makefile
-%{_examplesdir}/blender/plugins/texture
-%{_examplesdir}/blender/plugins/sequence
+%doc README
+%attr(755,root,root) %{_bindir}/*
+%{_applnkdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
This page took 0.030582 seconds and 4 git commands to generate.