Logoj0ke.net Open Build Service > Projects > multimedia > mplayerplug-in > Changes
Sign Up | Log In

Changes of Revision 8

[-] Changed mplayerplug-in.spec
x
 
1
@@ -5,8 +5,7 @@
2
 Version:        3.55
3
 Release:        1
4
 
5
-Source0:   %{name}-%{version}.tar.gz
6
-Source1:   %{name}-rpmlintrc
7
+Source0:   %{name}-%{version}.tar.bz2
8
 BuildRoot:      %{_tmppath}/buildroot-%{name}-%{version}
9
 
10
 License:   GPL
11
@@ -45,7 +44,7 @@
12
 
13
 %prep
14
 %setup -q
15
-
16
+mod 644 README TODO INSTALL
17
 %build
18
 export CFLAGS="`/opt/mozilla/bin/mozilla-config --cflags` -DMOZILLA_STRICT_API"
19
 %configure \
20
@@ -70,9 +69,10 @@
21
 chmod +x %{buildroot}%_libdir/browser-plugins/*xpt
22
 install -d %{buildroot}%{config_dir}/ld.so.conf.d
23
 pkg-config --libs-only-L xulrunner-plugin | perl -npe "s/-L//" > %{buildroot}%{config_dir}/ld.so.conf.d/mplayerplug-in.conf
24
+%find_lang %name
25
 
26
 %post
27
-%run_ldconfig
28
+/sbin/ldconfig
29
 for d in /opt/mozilla/lib /opt/MozillaFirefox/lib ; do
30
   for mod in in-gmp in-qt in-rm in-rm in-wmp in ; do
31
     if [ -d $d/plugins    ]; then ln -sf %_libdir/browser-plugins/mplayerplug-$mod.so $d/plugins/;     fi
32
@@ -81,7 +81,7 @@
33
 done
34
 
35
 %postun
36
-%run_ldconfig
37
+/sbin/ldconfig
38
 for d in /opt/mozilla/lib /opt/MozillaFirefox/lib ; do
39
   for mod in in-gmp in-qt in-rm in-rm in-wmp in ; do
40
     if [ -e $d/plugins/mplayerplug-$mod.so     ]; then rm -f $d/plugins/mplayerplug-$mod.so ; fi
41
@@ -108,8 +108,8 @@
42
 %{_prefix}/%{_lib}/browser-plugins/mplayerplug-in-wmp.so
43
 %{_prefix}/%{_lib}/browser-plugins/mplayerplug-in-wmp.xpt
44
 %_datadir/locale/*/LC_MESSAGES/mplayerplug-in.mo
45
-%{config_dir}/%{name}.*
46
-%{config_dir}/ld.so.conf.d/mplayerplug-in.conf
47
+config(noreplace) %{config_dir}/%{name}.*
48
+config %{config_dir}/ld.so.conf.d/mplayerplug-in.conf
49
 
50
 %changelog
51
 * Tue Jan 12 2008 Carsten Schoene <cs@linux-administrator.com>
52