]> git.pld-linux.org Git - packages/browser-plugin-kaffeine.git/blame - browser-plugin-kaffeine.spec
- tabs in preamble
[packages/browser-plugin-kaffeine.git] / browser-plugin-kaffeine.spec
CommitLineData
ca05427e 1%define _realname kaffeine-mozilla
2%define _pluginname kaffeineplugin
3Summary: Kaffeine player for webbrowsers
4613b055 4Summary(pl.UTF-8): Odtwarzacz Kaffeine dla przeglądarek internetowych
ca05427e 5Name: browser-plugin-kaffeine
6Version: 0.2
e63a5d3e 7Release: 0.2
ca05427e 8License: GPL
9Group: X11/Applications/Multimedia
10Source0: http://dl.sourceforge.net/kaffeine/%{_realname}-%{version}.tar.bz2
11# Source0-md5: c7bb24cbd20fdfeffbb0da452533cac4
12Patch0: %{name}-destdir.patch
c38a70fe 13URL: http://kaffeine.sourceforge.net/
80cfd5ce
ER
14BuildRequires: autoconf
15BuildRequires: automake
16BuildRequires: libtool
ca05427e 17BuildRequires: rpmbuild(macros) >= 1.236
18BuildRequires: xorg-lib-libICE-devel
19BuildRequires: xorg-lib-libSM-devel
20BuildRequires: xorg-lib-libXaw-devel
21BuildRequires: xorg-lib-libXt-devel
22Requires: browser-plugins(%{_target_base_arch})
ca05427e 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25# directory where you store the plugin
26%define _plugindir %{_libdir}/browser-plugins
27
ca05427e 28# use macro, otherwise extra LF inserted along with the ifarch
e63a5d3e 29%define browsers mozilla, mozilla-firefox, mozilla-firefox-bin, konqueror, opera, seamonkey
ca05427e 30
31%description
32This package delivers a video/audio player plugin for web browsers.
33
34Supported browsers: %{browsers}.
35
c8c35ff7
JR
36%description -l pl.UTF-8
37Ta paczka dostarcza wtyczki odtwarzacza wideo/audio dla przeglądarek
b9023dce 38internetowych.
ca05427e 39
c8c35ff7 40Obsługiwane przeglądarki: %{browsers}.
ca05427e 41
42%prep
43%setup -q -n %{_realname}-%{version}
44%patch0 -p0
45
46%build
47%{__libtoolize}
48%{__aclocal}
49%{__autoconf}
50%{__automake}
51%configure \
c38a70fe 52 --disable-static \
80cfd5ce 53 --prefix=%{_plugindir}
ca05427e 54%{__make}
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
61
c38a70fe 62rm -f $RPM_BUILD_ROOT%{_plugindir}/kaffeineplugin.la
80cfd5ce 63
ca05427e 64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%triggerin -- mozilla-firefox
68%nsplugin_install -d %{_libdir}/mozilla-firefox/plugins %{_pluginname}.so
69
70%triggerun -- mozilla-firefox
71%nsplugin_uninstall -d %{_libdir}/mozilla-firefox/plugins %{_pluginname}.so
72
e63a5d3e 73%triggerin -- mozilla-firefox-bin
74%nsplugin_install -d %{_libdir}/mozilla-firefox-bin/plugins %{_pluginname}.so
75
76%triggerun -- mozilla-firefox-bin
77%nsplugin_uninstall -d %{_libdir}/mozilla-firefox-bin/plugins %{_pluginname}.so
78
ca05427e 79%triggerin -- mozilla
80%nsplugin_install -d %{_libdir}/mozilla/plugins %{_pluginname}.so
81
82%triggerun -- mozilla
83%nsplugin_uninstall -d %{_libdir}/mozilla/plugins %{_pluginname}.so
84
85%triggerin -- opera
86%nsplugin_install -d %{_libdir}/opera/plugins %{_pluginname}.so
87
88%triggerun -- opera
89%nsplugin_uninstall -d %{_libdir}/opera/plugins %{_pluginname}.so
90
91%triggerin -- konqueror
92%nsplugin_install -d %{_libdir}/kde3/plugins/konqueror %{_pluginname}.so
93
94%triggerun -- konqueror
95%nsplugin_uninstall -d %{_libdir}/kde3/plugins/konqueror %{_pluginname}.so
96
97%triggerin -- seamonkey
98%nsplugin_install -d %{_libdir}/seamonkey/plugins %{_pluginname}.so
99
100%triggerun -- seamonkey
101%nsplugin_uninstall -d %{_libdir}/seamonkey/plugins %{_pluginname}.so
102
ca05427e 103%files
104%defattr(644,root,root,755)
105%doc AUTHORS ChangeLog README
106%attr(755,root,root) %{_plugindir}/%{_pluginname}.so
This page took 0.072837 seconds and 4 git commands to generate.