SPECS: blender.spec - much sanner handling of scripts and blender ...

Jakub Bogusz qboosh w pld-linux.org
Nie, 20 Lut 2005, 19:32:01 CET


On Sat, Feb 19, 2005 at 10:44:31PM +0100, gj wrote:
> @@ -82,28 +80,42 @@
>  scons
>  %{__make} -C po OCGDIR=..
>  
> +install -d release/plugins/include
> +install -m 644 source/blender/blenpluginapi/*.h release/plugins/include
> +chmod +x release/plugins/bmake
> +make -C release/plugins/
   ^^^^

%{__make}

> +
>  %install
>  rm -rf $RPM_BUILD_ROOT
>  install -d $RPM_BUILD_ROOT{%{_datadir},%{_desktopdir},%{_pixmapsdir},%{_bindir}}
>  
> -install -m755 blender $RPM_BUILD_ROOT%{_bindir}
> +install -m755 blender $RPM_BUILD_ROOT%{_bindir}/blender-bin
> +install -m755 %{SOURCE4} $RPM_BUILD_ROOT%{_bindir}/blender
>  install -m755 blenderplayer $RPM_BUILD_ROOT%{_bindir}
>  install -c %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
>  install -c %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
> -cp -a bin/.blender/locale $RPM_BUILD_ROOT%{_datadir}
> -cp -a bin/.blender/.Blanguages $RPM_BUILD_ROOT%{_datadir}/BlenderLanguages
> -
> -%find_lang %{name} --all-name
> +install -d $RPM_BUILD_ROOT%{_libdir}/blender/plugins/sequence
> +install -d $RPM_BUILD_ROOT%{_libdir}/blender/plugins/texture
> +install -m644 ./release/plugins/sequence/*.so $RPM_BUILD_ROOT%{_libdir}/blender/plugins/sequence
> +install -m644 ./release/plugins/texture/*.so $RPM_BUILD_ROOT%{_libdir}/blender/plugins/texture
> +install -d $RPM_BUILD_ROOT%{_datadir}/blender/
> +cp -a ./release/bpydata $RPM_BUILD_ROOT%{_datadir}/blender/
> +cp -a ./release/scripts $RPM_BUILD_ROOT%{_datadir}/blender/
> +install -m644 ./release/VERSION $RPM_BUILD_ROOT%{_datadir}/blender/
> +install -m644 ./bin/.blender/.Blanguages $RPM_BUILD_ROOT%{_datadir}/blender/
> +install -m644 ./bin/.blender/.bfont.ttf $RPM_BUILD_ROOT%{_datadir}/blender/
> +cp -a bin/.blender/locale $RPM_BUILD_ROOT%{_datadir}/blender

-m644 niepotrzebne, a dla binarek i obiektów dzielonych wręcz błędne, bo
przez to rpm nie generuje dla nich zależności.

>  %attr(755,root,root) %{_datadir}
> +%attr(755,root,root) %{_libdir}

A co to za śmietnik?
/usr/share i /usr/%{_lib} należą do FHS, a nie jakichś pakietów
z programami.


>  $Log$
> +Revision 1.51  2005/02/19 21:44:26  gj
> +- much sanner handling of scripts and blender data. Hence blender was created to be installed in home dir only,
> +it has to use ~/.blender/ dir with few links to correct location of all files. This is now done using wrapper.
> +
>  Revision 1.50  2005/02/19 20:12:41  gj
>  - use BlenderLanguages file, I had a chat with blender devels, and they don't find any other elegant solution
>  - disable by default xml to yafray interface, it doesn't work with current version anyway

Za długie linie.
Moja konsola ma tylko 100 znaków kiedy siedzę przy 15" ;P


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/




Więcej informacji o liście dyskusyjnej pld-devel-pl