]> git.pld-linux.org Git - packages/browser-plugin-cult3d.git/blob - browser-plugin-cult3d.spec
- somewhat works for netscape4
[packages/browser-plugin-cult3d.git] / browser-plugin-cult3d.spec
1 %define         _orgname        cult3d
2 %define         _beta   b1
3 Summary:        A Mozilla plug-in to view Cult3D objects
4 Summary(pl):    Wtyczka dla przegl±darek opartych na Mozilli do obiektów Cult3D
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
12 # Source0-md5:  9b559a80ac71d9d9eea75a8bf1769489
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
20 %define         _classesdir %{_libdir}/netscape/java/classes
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
34 %prep
35 %setup -q -n %{_orgname}-%{version}-%{_beta}-linux-x86
36 tar xf %{_orgname}.tar
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT{%{_plugindir},%{_classesdir}}
41 cp -a %{_orgname}/com $RPM_BUILD_ROOT%{_classesdir}
42 cp -a %{_orgname}/*.so $RPM_BUILD_ROOT%{_plugindir}
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %triggerin -- opera
48 %nsplugin_install -d %{_libdir}/opera/plugins libcult3dplugin.so
49
50 %triggerun -- opera
51 %nsplugin_uninstall -d %{_libdir}/opera/plugins libcult3dplugin.so
52
53 %triggerin -- netscape4-common
54 %nsplugin_install -d %{_libdir}/netscape/plugins libcult3dplugin.so
55
56 %triggerun -- netscape4-common
57 %nsplugin_uninstall -d %{_libdir}/netscape/plugins libcult3dplugin.so
58
59 %files
60 %defattr(644,root,root,755)
61 %doc README
62 %attr(755,root,root) %{_plugindir}/*.so
63 %{_classesdir}
This page took 0.121265 seconds and 3 git commands to generate.