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 Source0: http://software-dl.real.com/1674f6a731a2dab6e018/unix/%{name}%{version}GOLD.bin
10 # NoSource0-md5: a2f2a14680df6439cf37d099f5739e8e
12 URL: http://www.real.com/
15 ExclusiveArch: %{ix86}
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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 PreReq: mozilla-embedded
29 Requires: %{name} = %{version}-%{release}
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 PreReq: mozilla-firefox
42 Requires: %{name} = %{version}-%{release}
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}-%{release}
58 Mime information and application registry data for GNOME.
60 %description gnome -l pl
61 Dane MIME oraz wpisy do rejestru aplikacji dla GNOME.
65 dd if=%{SOURCE0} skip=1 bs=129460| %{__bzip2} -d | %{__tar} xvf -
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT%{_desktopdir} \
70 $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins \
71 $RPM_BUILD_ROOT%{_libdir}/mozilla-firefox/plugins \
72 $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{_name},%{_datadir}/{locale}} \
73 $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{48x48,128x128}/mimetypes \
74 $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,32x32,48x48,128x128}/apps \
75 $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES \
76 $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
78 cp -a codecs common plugins lib $RPM_BUILD_ROOT%{_libdir}/%{_name}
80 icons="mime-application-generic \
81 mime-application-ogg \
82 mime-application-ram \
83 mime-application-rpm \
84 mime-application-smil \
104 install ${i}_48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/mimetypes/${i}.png
105 # SIC! there is no 192 size defined in hicolor, therefore use 128
106 install ${i}_192x192.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/128x128/mimetypes/${i}.png
108 install realplay_16x16.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps/realplay.png
109 install realplay_32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/realplay.png
110 install realplay_48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/realplay.png
111 install realplay_192x192.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/128x128/apps/realplay.png
114 install share/locale/fr.mo $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/realplay.mo
116 install mozilla/*.so $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins
117 install mozilla/*.so $RPM_BUILD_ROOT%{_libdir}/mozilla-firefox/plugins
119 install realplay* $RPM_BUILD_ROOT%{_libdir}/%{_name}
120 ln -sf ../lib/%{_name}/realplay $RPM_BUILD_ROOT%{_bindir}/realplay
122 install share/realplay.applications $RPM_BUILD_ROOT%{_datadir}/application-registry
123 install share/realplay.mime $RPM_BUILD_ROOT%{_datadir}/mime-info
124 install share/realplay.keys $RPM_BUILD_ROOT%{_datadir}/mime-info
126 install share/realplay.desktop $RPM_BUILD_ROOT%{_desktopdir}
128 install -d $RPM_BUILD_ROOT%{_libdir}/%{_name}/share/{default,realplay}
130 install share/realplay/* $RPM_BUILD_ROOT%{_libdir}/%{_name}/share/realplay
131 install share/default/* $RPM_BUILD_ROOT%{_libdir}/%{_name}/share/default
132 install share/*.html $RPM_BUILD_ROOT%{_libdir}/%{_name}/share
133 install share/*.css $RPM_BUILD_ROOT%{_libdir}/%{_name}/share
134 %{__sed} -i -e 's&#[ \t]*HELIX_LIBS[ \t]*=.*$&HELIX_LIBS=%{_libdir}/%{_name} ; export HELIX_LIBS&' \
135 $RPM_BUILD_ROOT%{_libdir}/realplay/realplay
140 rm -rf $RPM_BUILD_ROOT
144 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
148 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
150 %files -f realplay.lang
151 %defattr(644,root,root,755)
153 %attr(755,root,root) %{_bindir}/realplay
154 %dir %{_libdir}/%{_name}
155 %dir %{_libdir}/%{_name}/codecs
156 %dir %{_libdir}/%{_name}/common
157 %dir %{_libdir}/%{_name}/lib
158 %dir %{_libdir}/%{_name}/plugins
160 %attr(755,root,root) %{_libdir}/%{_name}/codecs/*.so*
161 %attr(755,root,root) %{_libdir}/%{_name}/common/*.so*
162 %attr(755,root,root) %{_libdir}/%{_name}/lib/*.so*
163 %attr(755,root,root) %{_libdir}/%{_name}/plugins/*.so*
164 %attr(755,root,root) %{_libdir}/%{_name}/realplay
165 %attr(755,root,root) %{_libdir}/%{_name}/realplay.bin
167 %{_libdir}/%{_name}/share
169 %{_iconsdir}/hicolor/*/*/*.png
170 %{_desktopdir}/*.desktop
173 %defattr(644,root,root,755)
174 %{_datadir}/application-registry
175 %{_datadir}/mime-info
177 %files -n mozilla-plugin-%{name}
178 %defattr(644,root,root,755)
179 %{_libdir}/mozilla/plugins/*
181 %files -n mozilla-firefox-plugin-%{name}
182 %defattr(644,root,root,755)
183 %{_libdir}/mozilla-firefox/plugins/*