Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
mplayerplug-in
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 8
[-]
[+]
Changed
mplayerplug-in.spec
@@ -5,8 +5,7 @@ Version: 3.55 Release: 1 -Source0: %{name}-%{version}.tar.gz -Source1: %{name}-rpmlintrc +Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/buildroot-%{name}-%{version} License: GPL @@ -45,7 +44,7 @@ %prep %setup -q - +mod 644 README TODO INSTALL %build export CFLAGS="`/opt/mozilla/bin/mozilla-config --cflags` -DMOZILLA_STRICT_API" %configure \ @@ -70,9 +69,10 @@ chmod +x %{buildroot}%_libdir/browser-plugins/*xpt install -d %{buildroot}%{config_dir}/ld.so.conf.d pkg-config --libs-only-L xulrunner-plugin | perl -npe "s/-L//" > %{buildroot}%{config_dir}/ld.so.conf.d/mplayerplug-in.conf +%find_lang %name %post -%run_ldconfig +/sbin/ldconfig for d in /opt/mozilla/lib /opt/MozillaFirefox/lib ; do for mod in in-gmp in-qt in-rm in-rm in-wmp in ; do if [ -d $d/plugins ]; then ln -sf %_libdir/browser-plugins/mplayerplug-$mod.so $d/plugins/; fi @@ -81,7 +81,7 @@ done %postun -%run_ldconfig +/sbin/ldconfig for d in /opt/mozilla/lib /opt/MozillaFirefox/lib ; do for mod in in-gmp in-qt in-rm in-rm in-wmp in ; do if [ -e $d/plugins/mplayerplug-$mod.so ]; then rm -f $d/plugins/mplayerplug-$mod.so ; fi @@ -108,8 +108,8 @@ %{_prefix}/%{_lib}/browser-plugins/mplayerplug-in-wmp.so %{_prefix}/%{_lib}/browser-plugins/mplayerplug-in-wmp.xpt %_datadir/locale/*/LC_MESSAGES/mplayerplug-in.mo -%{config_dir}/%{name}.* -%{config_dir}/ld.so.conf.d/mplayerplug-in.conf +config(noreplace) %{config_dir}/%{name}.* +config %{config_dir}/ld.so.conf.d/mplayerplug-in.conf %changelog * Tue Jan 12 2008 Carsten Schoene <cs@linux-administrator.com>