]>
Commit | Line | Data |
---|---|---|
ca05427e | 1 | %define _realname kaffeine-mozilla |
2 | %define _pluginname kaffeineplugin | |
3 | Summary: Kaffeine player for webbrowsers | |
4613b055 | 4 | Summary(pl.UTF-8): Odtwarzacz Kaffeine dla przeglądarek internetowych |
ca05427e | 5 | Name: browser-plugin-kaffeine |
6 | Version: 0.2 | |
f665fd79 | 7 | Release: 2 |
ca05427e | 8 | License: GPL |
9 | Group: X11/Applications/Multimedia | |
10 | Source0: http://dl.sourceforge.net/kaffeine/%{_realname}-%{version}.tar.bz2 | |
11 | # Source0-md5: c7bb24cbd20fdfeffbb0da452533cac4 | |
12 | Patch0: %{name}-destdir.patch | |
c38a70fe | 13 | URL: http://kaffeine.sourceforge.net/ |
80cfd5ce ER |
14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
16 | BuildRequires: libtool | |
ca05427e | 17 | BuildRequires: rpmbuild(macros) >= 1.236 |
18 | BuildRequires: xorg-lib-libICE-devel | |
19 | BuildRequires: xorg-lib-libSM-devel | |
20 | BuildRequires: xorg-lib-libXaw-devel | |
21 | BuildRequires: xorg-lib-libXt-devel | |
9b5ca76c | 22 | Requires: browser-plugins >= 2.0 |
98b0f0de | 23 | Requires: kaffeine |
ca05427e | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
ca05427e | 26 | %description |
27 | This package delivers a video/audio player plugin for web browsers. | |
28 | ||
29 | Supported browsers: %{browsers}. | |
30 | ||
c8c35ff7 JR |
31 | %description -l pl.UTF-8 |
32 | Ta paczka dostarcza wtyczki odtwarzacza wideo/audio dla przeglądarek | |
b9023dce | 33 | internetowych. |
ca05427e | 34 | |
c8c35ff7 | 35 | Obsługiwane przeglądarki: %{browsers}. |
ca05427e | 36 | |
37 | %prep | |
38 | %setup -q -n %{_realname}-%{version} | |
39 | %patch0 -p0 | |
40 | ||
41 | %build | |
42 | %{__libtoolize} | |
43 | %{__aclocal} | |
44 | %{__autoconf} | |
45 | %{__automake} | |
46 | %configure \ | |
c38a70fe | 47 | --disable-static \ |
9b5ca76c | 48 | --prefix=%{_browserpluginsdir} |
ca05427e | 49 | %{__make} |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} install \ | |
55 | DESTDIR=$RPM_BUILD_ROOT | |
56 | ||
9b5ca76c | 57 | rm -f $RPM_BUILD_ROOT%{_browserpluginsdir}/kaffeineplugin.la |
80cfd5ce | 58 | |
ca05427e | 59 | %clean |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
9b5ca76c | 62 | %post |
63 | %update_browser_plugins | |
ca05427e | 64 | |
9b5ca76c | 65 | %postun |
66 | if [ "$1" = 0 ]; then | |
67 | %update_browser_plugins | |
68 | fi | |
ca05427e | 69 | |
ca05427e | 70 | %files |
71 | %defattr(644,root,root,755) | |
72 | %doc AUTHORS ChangeLog README | |
9b5ca76c | 73 | %attr(755,root,root) %{_browserpluginsdir}/%{_pluginname}.so |