]>
Commit | Line | Data |
---|---|---|
f39dab98 ER |
1 | %define _orgname cult3d |
2 | %define _beta b1 | |
3 | Summary: A Mozilla plug-in to view Cult3D objects | |
a3de88ba | 4 | Summary(pl.UTF-8): Wtyczka dla przeglądarek opartych na Mozilli do obiektów Cult3D |
f39dab98 ER |
5 | Name: browser-plugin-%{_orgname} |
6 | Version: 5.2 | |
7 | %define _rel 0.5 | |
8 | Release: 0.%{_beta}.%{_rel} | |
9 | License: ? | |
10 | Group: X11/Applications/Multimedia | |
11 | Source0: http://host.cycore.net/plugins/linux/netscape4/Cult3D_NS4_%{version}%{_beta}.tar.gz | |
864f4680 | 12 | # NoSource0-md5: 9b559a80ac71d9d9eea75a8bf1769489 |
f39dab98 ER |
13 | NoSource: 0 |
14 | URL: http://www.cult3d.com/ | |
15 | ExclusiveArch: %{ix86} | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | # directory where you store the plugin | |
19 | %define _plugindir %{_libdir}/browser-plugins | |
864f4680 | 20 | %define _classesdir %{_libdir}/netscape/java/classes |
f39dab98 ER |
21 | |
22 | %description | |
23 | The Cult3D Viewer enables you to view and interact with Cult3D objects | |
24 | on the Web, in Microsoft Word, PowerPoint, and Excel, as well as Adobe | |
25 | Acrobat files. | |
26 | ||
27 | The Viewer is an incredibly small download that will bring the Web and | |
28 | presentations to life. You can visit any site hosting a Cult3D object | |
29 | and move it around, and play with its components. For example, if you | |
30 | got a Web site with a Cult3D car, you can open the doors, look at the | |
31 | interior - even the backseat, open the hood and trunk, you can even | |
32 | change the color of the car - all with a click of your mouse! | |
33 | ||
a3de88ba JR |
34 | %description -l pl.UTF-8 |
35 | Cult3D Viewer pozwala oglądać i pracować z obiektami Cult3D w sieci, | |
864f4680 JB |
36 | oraz plikach Microsoft Worda, PowerPointa, Excela oraz Adobe Acrobata. |
37 | ||
a3de88ba JR |
38 | Przeglądarka jest bardzo mała i dająca życie prezentacjom WWW. Pozwala |
39 | oglądać dowolne serwisy zawierające obiekty Cult3D i przemieszczać je, | |
40 | przeglądając ich komponenty. Na przykład mając stronę WWW z samochodem | |
41 | Cult3D można otwierać drzwi, patrzeć na wnętrze - nawet tylne | |
42 | siedzenie, otwierać maskę i kufer, a nawet zmieniać kolor samochodu - | |
43 | wszystko to klikając myszką. | |
864f4680 | 44 | |
f39dab98 ER |
45 | %prep |
46 | %setup -q -n %{_orgname}-%{version}-%{_beta}-linux-x86 | |
47 | tar xf %{_orgname}.tar | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | install -d $RPM_BUILD_ROOT{%{_plugindir},%{_classesdir}} | |
52 | cp -a %{_orgname}/com $RPM_BUILD_ROOT%{_classesdir} | |
53 | cp -a %{_orgname}/*.so $RPM_BUILD_ROOT%{_plugindir} | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %triggerin -- opera | |
59 | %nsplugin_install -d %{_libdir}/opera/plugins libcult3dplugin.so | |
60 | ||
61 | %triggerun -- opera | |
62 | %nsplugin_uninstall -d %{_libdir}/opera/plugins libcult3dplugin.so | |
63 | ||
64 | %triggerin -- netscape4-common | |
65 | %nsplugin_install -d %{_libdir}/netscape/plugins libcult3dplugin.so | |
66 | ||
67 | %triggerun -- netscape4-common | |
68 | %nsplugin_uninstall -d %{_libdir}/netscape/plugins libcult3dplugin.so | |
69 | ||
70 | %files | |
71 | %defattr(644,root,root,755) | |
72 | %doc README | |
73 | %attr(755,root,root) %{_plugindir}/*.so | |
74 | %{_classesdir} |