1
0

Minor specfile cleanups. #1

Merged
badshah400 merged 1 commits from test into master 2025-06-09 20:10:34 +02:00

View File

@@ -47,12 +47,6 @@ Group: System/Libraries
Armadillo is a C++ linear algebra library (matrix maths).
Integer, floating point and complex numbers are supported,
as well as a subset of trigonometric and statistics functions.
Various matrix decompositions are provided through optional
integration with LAPACK and ATLAS libraries.
A delayed evaluation approach is employed (during compile time)
to combine several operations into one and reduce (or eliminate)
the need for temporaries. This is accomplished through recursive
templates and template meta-programming.
This package provides the shared libraries for armadillo.
@@ -89,13 +83,7 @@ Armadillo C++ library. It contains header files, example programs,
and user documentation (reference guide).
%prep
%setup -q
#Convert DOS end-of-line to UNIX end-of-line
sed -i 's/\r$//' README.md
sed -i 's/\r$//' examples/README.txt
sed -i 's/\r$//' LICENSE.txt
sed -i 's/\r$//' NOTICE.txt
for i in `ls examples/*.cpp`; do sed -i 's/\r$//' $i; done
%autosetup -p1
%build
%cmake -DBUILD_SMOKE_TEST:BOOL=ON
@@ -112,8 +100,7 @@ rm -rf examples/lib_win64
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
%ctest
%post -n %{soname} -p /sbin/ldconfig
%postun -n %{soname} -p /sbin/ldconfig
%ldconfig -n %{soname} -p /sbin/ldconfig
%files -n %{soname}
%{_libdir}/*.so.*