From 80cfd5ce46295a8c00b59b065cb5c12db909df2f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 13 Sep 2006 16:30:40 +0000 Subject: [PATCH] - autotools deps, check-files cleanup Changed files: browser-plugin-kaffeine.spec -> 1.4 --- browser-plugin-kaffeine.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/browser-plugin-kaffeine.spec b/browser-plugin-kaffeine.spec index 07fa58e..a228c79 100644 --- a/browser-plugin-kaffeine.spec +++ b/browser-plugin-kaffeine.spec @@ -11,6 +11,9 @@ Source0: http://dl.sourceforge.net/kaffeine/%{_realname}-%{version}.tar.bz2 # Source0-md5: c7bb24cbd20fdfeffbb0da452533cac4 Patch0: %{name}-destdir.patch URL: http://kaffeine.sourceforge.net +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool BuildRequires: rpmbuild(macros) >= 1.236 BuildRequires: xorg-lib-libICE-devel BuildRequires: xorg-lib-libSM-devel @@ -22,7 +25,6 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) # directory where you store the plugin %define _plugindir %{_libdir}/browser-plugins -# TODO: galeon and skipstone. # use macro, otherwise extra LF inserted along with the ifarch %define browsers mozilla, mozilla-firefox, konqueror, opera, seamonkey @@ -47,7 +49,7 @@ Obs %{__autoconf} %{__automake} %configure \ - --prefix=%{_libdir}/browser-plugins + --prefix=%{_plugindir} %{__make} %install @@ -56,6 +58,8 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{_plugindir}/kaffeineplugin.{a,la} + %clean rm -rf $RPM_BUILD_ROOT -- 2.44.0