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}
cool, zamieni sie.
+ %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.
Mozesz powiedziec normalnie i troche przyjazniejszym tonem ?
-m644 jest potrzebne jesli pliki ktore sa kopiowane maja orginalnie inna maske uprawnien.period.
apropos smietnika. Potrzebuje gdzies skopiowac pluginy binarne i skrypty w pythonie, te ktore sa domyslnie i sa czescia funkcjonalnosci blendera, o ktorej ktos wczesniej pakujacy najwyrazniej zapomnial.
Jesli wiesz gdzie powinny byc umieszczone pluginy binarne (wg FHS w /usr/lib(64)/aplikacja jesli to jest binarka nie przenosna), pythonowe w /usr/share/aplikacja (bo to sa poprostu tekstowe skrypty pythonowe).
$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
A moja ma wiecej... Nie zawijają się?
_______________________________________________ pld-devel-pl mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl
