Files
daixtrose/daixtrose.spec

94 lines
2.9 KiB
RPMSpec

#
# spec file for package daixtrose
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2003 SuSE Linux AG, 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/
#
Name: daixtrose
Version: 0.0.3
Release: 0
Summary: A Generic Disambiguated Expression Template Core Engine
License: LGPL
Group: Development/Libraries/C and C++
Url: http://daixtrose.sourceforge.net/
Source: %{name}-%{version}.tar.bz2
Source1: %{name}-rpmlintrc
Patch0: daixtrose-check_boost.patch
Patch1: daixtrose-no_docs_in_includedir.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libboost_headers-devel
BuildRequires: libtool
Requires: libboost_headers-devel
BuildArch: noarch
%description
Daixtrose is a C++ header library framework that serves as a generic
disambiguated expression template (ET) core engine. It was designed to help
You to build Your own expression template library at home. In addition to
that Daixtrose comes with a full featured sparse and fixed sized
matrix/vector library which serves as a demo for the power of the new
approach and which can be used without worrying about all the gory details
of ET programming.
%package doc
Summary: Documentation for Daixtrose
Group: Development/Libraries/C and C++
Requires: %{name}
%description doc
This package contains the HTML documentation for daixtrose along with
demo code that is inistalled in %{_includedir}/demos.
%prep
%setup -q
%patch0
%patch1
%build
autoreconf --force --install
export CXXFLAGS="%{optflags} -W -Wall -Wstrict-prototypes"
%configure
make %{?_smp_mflags}
%install
%make_install
install -d %{buildroot}/%{_docdir}/%{name}
install -m 644 AUTHORS COPYING ChangeLog NEWS README INSTALL %{buildroot}/%{_docdir}/%{name}
cp -a wwwdoc %{buildroot}/%{_docdir}/%{name}
%files
%dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/AUTHORS
%doc %{_docdir}/%{name}/COPYING
%doc %{_docdir}/%{name}/ChangeLog
%doc %{_docdir}/%{name}/NEWS
%doc %{_docdir}/%{name}/README
%doc %{_docdir}/%{name}/INSTALL
%{_includedir}/daixtrose
%{_includedir}/error_handling
%{_includedir}/linalg
%{_includedir}/tiny
%files doc
%dir %{_docdir}/daixtrose/wwwdoc
%doc %{_docdir}/daixtrose/wwwdoc
%{_includedir}/demos
%changelog