File ccx-doc.spec of Package ccx-doc
#
# spec file for package ccx-doc
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: ccx-doc
Version: 2.20
Release: 0
Summary: Documentation for the CalculiX FEM solver
License: GPL-2.0-only
URL: http://www.dhondt.de/
Source0: http://www.dhondt.de/ccx_%{version}.doc.tar.bz2
BuildRequires: latex2html
BuildRequires: texlive-dvips
BuildRequires: texlive-latex
BuildRequires: tex(amsmath.sty)
BuildRequires: tex(amssymb.sty)
BuildRequires: tex(epsfig.sty)
BuildRequires: tex(hyperref.sty)
BuildRequires: tex(longtable.sty)
BuildRequires: tex(lscape.sty)
BuildRequires: tex(pstricks.sty)
BuildRequires: tex(pst-tools.sty)
BuildArch: noarch
%description
CalculiX is a package designed to solve field problems.
The method used is the finite element method.
%{name} contains the documentation.
%prep
%setup -q -n CalculiX/ccx_%{version}
%build
cd doc
latex --draft ccx 2>&1 > /dev/null
latex --draft ccx 2>&1 > /dev/null
latex ccx
dvipdf -dALLOWPSTRANSPARENCY ccx
%install
# nothing
%files
%doc doc/ccx.pdf
%changelog