Group :: Desenvolvimento/C++
RPM: eigen2
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: eigen2
Version: 2.0.0
Release: alt3
Group: Development/C++
Summary: Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra
License: LGPL
Url: http://eigen.tuxfamily.org/
Provides: %name-devel = %version-%release
Source: eigen-%version.tar
# Automatically added by buildreq on Tue Feb 17 2009 (-bi)
#BuildRequires: cmake doxygen gcc-c++ subversion tetex-dvips tetex-latex
BuildRequires: cmake >= 2.4.6 doxygen gcc-c++ subversion tetex-dvips tetex-latex
%description
Eigen is a lightweight C++ template library for vector and matrix math, a.k.a.
linear algebra.
%prep
%setup -q -n eigen-%version
%build
%define _optlevel s
%add_optflags -DNDEBUG
%define lib_suffix %nil
%ifarch x86_64 ppc64
%define lib_suffix 64
%endif
mkdir -p %_target_platform
pushd %_target_platform
cmake .. \
-DCMAKE_INSTALL_PREFIX=%prefix \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_C_FLAGS_RELEASE:STRING='%optflags' \
-DCMAKE_CXX_FLAGS_RELEASE:STRING='%optflags' \
-DLIB_DESTINATION=%_lib \
-DLIB_SUFFIX=%lib_suffix
popd
%make_build -C %_target_platform VERBOSE=1
%make_build -C %_target_platform/doc VERBOSE=1
%install
%make -C %_target_platform DESTDIR=%buildroot install
%files
%doc %_target_platform/doc/html
%_includedir/eigen2/
%changelog
…
Todas as alterações você pod ver aqui
Name: eigen2
Version: 2.0.0
Release: alt3
Group: Development/C++
Summary: Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra
License: LGPL
Url: http://eigen.tuxfamily.org/
Provides: %name-devel = %version-%release
Source: eigen-%version.tar
# Automatically added by buildreq on Tue Feb 17 2009 (-bi)
#BuildRequires: cmake doxygen gcc-c++ subversion tetex-dvips tetex-latex
BuildRequires: cmake >= 2.4.6 doxygen gcc-c++ subversion tetex-dvips tetex-latex
%description
Eigen is a lightweight C++ template library for vector and matrix math, a.k.a.
linear algebra.
%prep
%setup -q -n eigen-%version
%build
%define _optlevel s
%add_optflags -DNDEBUG
%define lib_suffix %nil
%ifarch x86_64 ppc64
%define lib_suffix 64
%endif
mkdir -p %_target_platform
pushd %_target_platform
cmake .. \
-DCMAKE_INSTALL_PREFIX=%prefix \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_C_FLAGS_RELEASE:STRING='%optflags' \
-DCMAKE_CXX_FLAGS_RELEASE:STRING='%optflags' \
-DLIB_DESTINATION=%_lib \
-DLIB_SUFFIX=%lib_suffix
popd
%make_build -C %_target_platform VERBOSE=1
%make_build -C %_target_platform/doc VERBOSE=1
%install
%make -C %_target_platform DESTDIR=%buildroot install
%files
%doc %_target_platform/doc/html
%_includedir/eigen2/
%changelog
…
Todas as alterações você pod ver aqui