File tamuanova.spec of Package tamuanova
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libtamuanova1
Version: 0.2
Release: 1
Summary: TAMU ANOVA contains both single and two factor ANOVA
License: GPL-2.0
Url: http://www.stat.tamu.edu/~aredd/tamuanova/
Group: Productivity/Scientific/Math
Source0: tamuanova-%{version}.tar.bz2
Source1: CMakeLists.txt
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: gsl-devel
%description
ANOVA, or Analysis of Variance, is a method for comparing levels of
some continuous response variable between different groups. The main
idea is to compare variation within each group to variation between
the groups; if the groups vary considerably from one group to another
in comparison to the within group variation, we can reject the null
hypothesis that all the groups have similar levels of the response
variable.
TAMU ANOVA contains both single and two factor ANOVA. Use of the
package can be facilitated through linking to the compiled library
tamuanova. The package function definitions are accessible through
tamu_anova.h
%package devel
Summary: Development files for %{name}
Group: Productivity/Scientific/Math
Requires: %{name} = %{version}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -n tamuanova-%{version}
%build
cp %{SOURCE1} .
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -Dlib=%{_libdir}
make
%install
%makeinstall
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root,-)
%{_includedir}/*.h
%{_libdir}/*.so
%changelog