Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 63b335fb36519b846a0573a2942a469b > files > 2

spice-xpi-2.2-1.el5_5.src.rpm

%define tarname spice-xpi
%define tarversion 2.2

Name:           spice-xpi
Version:        2.2
Release:        1%{?dist}
Summary: SPICE extension for Mozilla
Group: Applications/Internet
License:        GPLv2+
URL:            http://www.redhat.com/
Source0:        %{tarname}-%{tarversion}.tar.bz2
BuildRoot:      %{_tmppath}/%{tarname}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gcc-c++
BuildRequires:  zip
BuildRequires:  log4cpp-devel
BuildRequires:  libX11-devel
BuildRequires:  xulrunner-devel
BuildRequires:  automake

ExclusiveArch:  x86_64 i386

Requires: firefox
Requires: qspice-client
Requires: log4cpp

%description
SPICE extension for mozilla allows the client to be used from a web browser.

%prep
%setup -q -n %{tarname}-%{tarversion}

%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%{_libdir}/mozilla/*
%{_datadir}/spice
%exclude %{_libdir}/mozilla/*.rdf
%exclude %{_libdir}/mozilla/plugins/*.a
%exclude %{_libdir}/mozilla/plugins/*.la
%doc COPYING README

%changelog
* Wed Mar 17 2010 Yuval Kashtan <ykashtan@redhat.com> - 2.2-1.el5
- changed plugin location to /usr/lib{,64}/mozilla/plugins
- still need to remove nspluginwrapper or edit its conf file to ignore libnsISpicec*
- now using mkstemp to create temporary ca file and delete it afterwards.
- resolve: #573367, #570165

* Wed Jan 20 2010 Yuval Kashtan <ykashtan@redhat.com> - 2.2-0.el5
- Initial package