2 Summary: Welcome to RealPlayer 10!
3 Summary(pl): RealPlayer - odtwarzacz RealAudio i RealVideo
7 License: Helix DNA Technology Binary Research Use License (not distributable, see LICENSE)
8 Group: X11/Applications/Multimedia
9 URL: http://www.real.com/
10 Source0: http://software-dl.real.com/06c1f73fd206f3264217/unix/%{name}%{version}GOLD.bin
11 # NoSource0-md5: 1e6435241bfb0ea6c015ec717fbf141a
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 ExclusiveArch: %{ix86}
19 Streaming audio/video/flash/pix/text player.
22 Odtwarzacz strumieni audio/video/flash/pix/tekst.
24 %package -n mozilla-plugin-%{name}
25 Summary: RealPlayer Mozilla plugin
26 Summary(pl): Wtyczka Mozilli RealPlayer
27 Group: X11/Applications/Multimedia
28 Requires: %{name} = %{version}
29 Prereq: mozilla-embedded
31 %description -n mozilla-plugin-%{name}
32 RealPlayer Mozilla plugin
34 %description -n mozilla-plugin-%{name} -l pl
35 Wtyczka Mozilli RealPlayer
37 %package -n mozilla-firefox-plugin-%{name}
38 Summary: RealPlayer Mozilla Firefox plugin
39 Summary(pl): Wtyczka Mozilli Firefox RealPlayer
40 Group: X11/Applications/Multimedia
41 Requires: %{name} = %{version}
42 Prereq: mozilla-firefox
44 %description -n mozilla-firefox-plugin-%{name}
45 RealPlayer Mozilla plugin
47 %description -n mozilla-firefox-plugin-%{name} -l pl
48 Wtyczka Mozilli RealPlayer
51 Summary: GNOME data for Realplayer
52 Summary(pl): Dane Realplayera dla GNOME
53 Group: X11/Applications/Multimedia
54 Requires: %{name} = %{version}
58 Mime information and application registry data for GNOME.
60 %description gnome -l pl
61 Dane MIME oraz wpisy do rejestru aplikacji dla GNOME.
66 dd if=%{SOURCE0} skip=1 bs=129460| %{__bzip2} -d | %{__tar} xvf -
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT%{_desktopdir} \
71 $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins \
72 $RPM_BUILD_ROOT%{_libdir}/mozilla-firefox/plugins \
73 $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{_name},%{_datadir}/{locale}} \
74 $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{48x48,128x128}/mimetypes \
75 $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,32x32,48x48,128x128}/apps \
76 $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES \
77 $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
79 cp -a codecs common plugins lib $RPM_BUILD_ROOT%{_libdir}/%{_name}
81 icons="mime-application-generic \
82 mime-application-ogg \
83 mime-application-ram \
84 mime-application-rpm \
85 mime-application-smil \
105 install ${i}_48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/mimetypes/${i}.png
106 # SIC! there is no 192 size defined in hicolor, therefore use 128
107 install ${i}_192x192.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/128x128/mimetypes/${i}.png
109 install realplay_16x16.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps/realplay.png
110 install realplay_32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/realplay.png
111 install realplay_48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/realplay.png
112 install realplay_192x192.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/128x128/apps/realplay.png
115 install share/locale/fr.mo $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/realplay.mo
117 install mozilla/*.so $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins
118 install mozilla/*.so $RPM_BUILD_ROOT%{_libdir}/mozilla-firefox/plugins
120 install realplay* $RPM_BUILD_ROOT%{_libdir}/%{_name}
121 ln -sf ../lib/%{_name}/realplay $RPM_BUILD_ROOT%{_bindir}/realplay
123 install share/realplay.applications $RPM_BUILD_ROOT%{_datadir}/application-registry
124 install share/realplay.mime $RPM_BUILD_ROOT%{_datadir}/mime-info
125 install share/realplay.keys $RPM_BUILD_ROOT%{_datadir}/mime-info
127 install share/realplay.desktop $RPM_BUILD_ROOT%{_desktopdir}
129 install -d $RPM_BUILD_ROOT%{_libdir}/%{_name}/share/{default,realplay}
131 install share/realplay/* $RPM_BUILD_ROOT%{_libdir}/%{_name}/share/realplay
132 install share/default/* $RPM_BUILD_ROOT%{_libdir}/%{_name}/share/default
133 install share/*.html $RPM_BUILD_ROOT%{_libdir}/%{_name}/share
134 install share/*.css $RPM_BUILD_ROOT%{_libdir}/%{_name}/share
135 %{__sed} -i -e 's&#[ \t]*HELIX_LIBS[ \t]*=.*$&HELIX_LIBS=%{_libdir}/%{_name} ; export HELIX_LIBS&' \
136 $RPM_BUILD_ROOT%{_libdir}/realplay/realplay
141 rm -rf $RPM_BUILD_ROOT
143 %files -f realplay.lang
144 %defattr(644,root,root,755)
146 %attr(755,root,root) %{_bindir}/realplay
147 %dir %{_libdir}/%{_name}
148 %dir %{_libdir}/%{_name}/codecs
149 %dir %{_libdir}/%{_name}/common
150 %dir %{_libdir}/%{_name}/lib
151 %dir %{_libdir}/%{_name}/plugins
153 %attr(755,root,root) %{_libdir}/%{_name}/codecs/*.so*
154 %attr(755,root,root) %{_libdir}/%{_name}/common/*.so*
155 %attr(755,root,root) %{_libdir}/%{_name}/lib/*.so*
156 %attr(755,root,root) %{_libdir}/%{_name}/plugins/*.so*
157 %attr(755,root,root) %{_libdir}/%{_name}/realplay
158 %attr(755,root,root) %{_libdir}/%{_name}/realplay.bin
160 %{_libdir}/%{_name}/share
162 %{_iconsdir}/hicolor/*/*/*.png
163 %{_desktopdir}/*.desktop
166 %defattr(644,root,root,755)
167 %{_datadir}/application-registry
168 %{_datadir}/mime-info
170 %files -n mozilla-plugin-%{name}
171 %defattr(644,root,root,755)
172 %{_libdir}/mozilla/plugins/*
174 %files -n mozilla-firefox-plugin-%{name}
175 %defattr(644,root,root,755)
176 %{_libdir}/mozilla-firefox/plugins/*