File opensuse-education-docu.spec of Package opensuse-education-docu
#
# spec file for package opensuse-education-docu
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# norootforbuild
Name: opensuse-education-docu
License: GFDL
Group: Productivity/Publishing
Summary: Documentation for the openSUSE-Education project
Version: 1
Release: 0
Source: %name.tar.bz2
BuildArch: noarch
BuildRequires: fop susedoc subversion
%if 0%{?suse_version} < 1110
BuildRequires: python-elementtree python-lxml
%endif
BuildRequires: dejavu
# agfa-fonts
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains the PDF documentation of the openSUSE Education project.
Authors:
--------
Andreas Ochs
Lars Vogdt
%prep
%setup -n %name
%build
pushd books
for lang in $(ls -d *); do
pushd $lang
. ENV-openSUSE-Education
export FOP_CONFIG_FILE=
make color-pdf
make html
done
%install
mkdir -p %buildroot/usr/share/doc/%name
pushd books
for lang in $(ls -d *); do
pushd $lang
install -m644 *.pdf %buildroot/usr/share/doc/%name/
done
%clean
rm -rf %buildroot
%files
%defattr(-,root,root)
/usr/share/doc/%name
%changelog