]>
Commit | Line | Data |
---|---|---|
f39dab98 ER |
1 | %define _orgname cult3d |
2 | %define _beta b1 | |
e11e236c | 3 | %define _rel 0.6 |
f39dab98 | 4 | Summary: A Mozilla plug-in to view Cult3D objects |
e7675817 | 5 | Summary(pl.UTF-8): Wtyczka dla przeglądarek opartych na Mozilli do obiektów Cult3D |
f39dab98 ER |
6 | Name: browser-plugin-%{_orgname} |
7 | Version: 5.2 | |
f39dab98 ER |
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/ | |
e11e236c ER |
15 | BuildRequires: rpmbuild(macros) >= 1.357 |
16 | Requires: browser-plugins >= 2.0 | |
f39dab98 ER |
17 | ExclusiveArch: %{ix86} |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
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 | |
e11e236c | 51 | install -d $RPM_BUILD_ROOT{%{_browserpluginsdir},%{_classesdir}} |
f39dab98 | 52 | cp -a %{_orgname}/com $RPM_BUILD_ROOT%{_classesdir} |
e11e236c | 53 | install %{_orgname}/*.so $RPM_BUILD_ROOT%{_browserpluginsdir} |
f39dab98 ER |
54 | |
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
e11e236c ER |
58 | %post |
59 | %update_browser_plugins | |
f39dab98 | 60 | |
e11e236c ER |
61 | %postun |
62 | if [ "$1" = 0 ]; then | |
63 | %update_browser_plugins | |
64 | fi | |
f39dab98 ER |
65 | |
66 | %files | |
67 | %defattr(644,root,root,755) | |
68 | %doc README | |
e11e236c | 69 | %attr(755,root,root) %{_browserpluginsdir}/*.so |
f39dab98 | 70 | %{_classesdir} |