File blender-doc.spec of Package blender
#
# spec file for package blender-doc (Version 2.3)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: blender-doc
BuildRequires: find
License: GFDL
Group: Productivity/Graphics/Visualization/Raytracers
Autoreqprov: on
Version: 2.3
Release: 13
Source: BlenderManualIen.23.html.tar.bz2
Source1: blender.xpm
BuildArch: noarch
URL: http://www.blender.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Documentation for Blender 3D Animation and Rendering Software
%description
Documentation for blender. The most up-to-date Blender documentation,
the Blender wiki, is a collaboratively edited documentation project
located at http://mediawiki.blender.org. This package is the official
guide of the Blender documentation project.
Authors:
--------
blender@neogeo.nl
%prep
#%setup
#
# extract doc package and fix permisions
tar -j -x -f %{S:0}
cd htmlI
chmod -R +rwX *
chmod 444 `find . -type f`
cd ..
%build
%install
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/blender/BlenderManual
cp -pR htmlI/* $RPM_BUILD_ROOT/usr/share/doc/packages/blender/BlenderManual
%clean
rm -rf ../build
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%dir /usr/share/doc/packages/blender
%dir /usr/share/doc/packages/blender/BlenderManual
%doc /usr/share/doc/packages/blender/BlenderManual/*
%changelog -n blender-doc
* Thu Jun 29 2006 - pnemec@suse.cz
- new spec file for package blender-doc
- removed old documentation and added the Blender Documentation project official Guide