Author: oden
Date: Thu Feb 8 13:26:56 2007
New Revision: 117811
Modified:
packages/cooker/mille-xterm-plug-in/current/SPECS/mille-xterm-plug-in.spec
Log:
- fix so it nearly compiles
Modified:
packages/cooker/mille-xterm-plug-in/current/SPECS/mille-xterm-plug-in.spec
==============================================================================
--- packages/cooker/mille-xterm-plug-in/current/SPECS/mille-xterm-plug-in.spec
(original)
+++ packages/cooker/mille-xterm-plug-in/current/SPECS/mille-xterm-plug-in.spec
Thu Feb 8 13:26:56 2007
@@ -11,11 +11,16 @@
BuildRequires: libxorg-x11-devel
BuildRequires: mozilla-firefox-devel
BuildRequires: gtk2-devel
+BuildRequires: nspr-devel >= 2:1.0.7
+BuildRequires: nss-devel >= 2:1.0.7
+BuildRequires: pkgconfig
+BuildRequires: mozilla-firefox
+BuildRequires: flex
Provides: mille-xterm-plug-in
Requires: mozilla-firefox
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
-%define mozilla_dir %(mozilla-firefox-config --libs | sed -e 's/^-L//')
+%define mozilla_dir %(`pkg-config --libs-only-L mozilla-nspr | sed 's/^\-L//'`)
%description
mille-xterm-plug-in is a Mozilla browser plugin to allow playing embedded
@@ -31,7 +36,10 @@
%build
chmod 755 configure
+export CPPFLAGS="%{optflags} `pkg-config --cflags mozilla-nspr` `pkg-config
--cflags mozilla-nss` `pkg-config --cflags firefox-plugin`"
+
%configure2_5x \
+ --with-gecko-sdk=%{_prefix} \
%ifarch x86_64
--enable-x86_64
%endif