File mhtml-firefox.spec of Package mhtml-firefox

#
# spec file for package mhtml-firefox
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           mhtml-firefox
BuildRequires:  MozillaFirefox
Version:        0.5
Release:        12
Source0:        mhtml-%{version}.tar.gz
Group:          Productivity/Networking/Web/Browsers
Summary:        Provides Firefox with MHTML web archive compatibility
License:        GPL-2.0+
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Recommends:     MozillaFirefox 

%description
This package installs a system-wide Firefox extension which allows it
to read MHTML web archives, such as those created by Microsoft Internet
Explorer®.

%prep
%setup -q -n mhtml@novell.com

%build

%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mozilla/extensions/\{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
pushd ..
cp -a mhtml@novell.com $RPM_BUILD_ROOT/%{_datadir}/mozilla/extensions/\{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
popd

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644, root, root, 755)
%{_datadir}/mozilla

%changelog
openSUSE Build Service is sponsored by