~ubuntu-branches/ubuntu/vivid/mplayerplug-in/vivid

« back to all changes in this revision

Viewing changes to mplayerplug-in.spec

  • Committer: Bazaar Package Importer
  • Author(s): Ari Pollak
  • Date: 2006-08-06 14:28:57 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060806142857-rti2h4zrt8yvqwka
Tags: 3.30-1
* New upstream release
* Apply patch from upstream to fix media playing when LIRC is enabled in
  mplayer

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
%define name mplayerplug-in
2
 
%define ver 3.25
 
2
%define ver 3.30
3
3
%ifarch x86_64
4
4
%define mozilla_dir /usr/lib64/mozilla/
5
5
%else
10
10
%{!?os_ver:%define os_ver fc%(cut -d' ' -f4 /etc/fedora-release )}
11
11
 
12
12
%define rel %{os_ver}
13
 
%{!?req:%define req %(if [ `cut -d' ' -f4 /etc/fedora-release` -ge 5 ]; then echo "libXt-devel xorg-x11-proto-devel libXpm-devel"; else echo "xorg-x11-devel"; fi)}
 
13
%{!?req:%define req %(if [ `cut -d' ' -f4 /etc/fedora-release | cut -d'.' -f1` -ge 5 ]; then echo "libXt-devel xorg-x11-proto-devel libXpm-devel"; else echo "xorg-x11-devel"; fi)}
 
14
%{!?mozreq:%define mozreq %(if [ ( `cut -d' ' -f4 /etc/fedora-release | cut -d'.' -f1` -le 5 ) -a ( `cut -d' ' -f4 /etc/fedora-release` -le 2)]; then echo "mozilla-devel > 1.5"; else echo "firefox-devel"; fi)}
14
15
 
15
16
 
16
17
Name: %{name}
24
25
Source0: %{name}-%{ver}.tar.gz
25
26
BuildRoot: %{_tmppath}/%{name}-%{ver}-root
26
27
 
27
 
BuildRequires: %{req} mozilla-devel > 1.5 gtk2-devel > 2.2.1 gettext
 
28
BuildRequires: %{req} %{mozreq} gtk2-devel > 2.2.1 gettext
28
29
Obsoletes: mplayerplug-in < %{version}
29
30
Provides: mplayerplug-in
30
31
 
57
58
%{mozilla_dir}/plugins/mplayerplug-in-qt.so
58
59
%{mozilla_dir}/plugins/mplayerplug-in-rm.so
59
60
%{mozilla_dir}/plugins/mplayerplug-in-gmp.so
 
61
%{mozilla_dir}/plugins/mplayerplug-in-dvx.so
60
62
%{mozilla_dir}/plugins/mplayerplug-in.xpt
61
63
%{mozilla_dir}/plugins/mplayerplug-in-wmp.xpt
62
64
%{mozilla_dir}/plugins/mplayerplug-in-qt.xpt
63
65
%{mozilla_dir}/plugins/mplayerplug-in-rm.xpt
64
66
%{mozilla_dir}/plugins/mplayerplug-in-gmp.xpt
 
67
%{mozilla_dir}/plugins/mplayerplug-in-dvx.xpt
65
68
%config(noreplace) %{config_dir}/mplayerplug-in.conf
66
69
%config(noreplace) %{config_dir}/mplayerplug-in.types
67
70
%{_prefix}/share/locale/*/LC_MESSAGES/mplayerplug-in.mo