File wxWidgets-2_9-docs.spec of Package wxWidgets-2_9-docs
#
# spec file for package wxWidgets-doc (Version 2.9.1)
#
# Copyright (c) 2010 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: wxWidgets-2_9-docs
%define _name wxWidgets-docs
Group: System/Libraries
Url: http://www.wxwidgets.org/
Summary: wxWidgets Documentation
License: GPL-2.0+
Version: 2.9.4
Release: 0
Source: http://downloads.sourceforge.net/project/wxwindows/%{version}/%{_name}-html-%{version}.tar.bz2
Source1: rpmlintrc
BuildRequires: fdupes
Provides: wxWidgets-docs = %{version}
# Stable name of this branch will be 3.0:
Provides: wxWidgets-3_0-docs = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This package contains wxWidgets documentation in HTML format.
%prep
%setup -q -n wxWidgets-%{version}
%build
%install
mkdir -p $RPM_BUILD_ROOT%{_docdir}/wxWidgets-2_9
cp -r * $RPM_BUILD_ROOT%{_docdir}/wxWidgets-2_9
%fdupes $RPM_BUILD_ROOT%{_datadir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc %{_docdir}/wxWidgets-2_9
%exclude %{_docdir}/wxWidgets-2_9/installdox
%changelog