5a2d0aa
Name:		lrcalc
5a2d0aa
Version:	1.1.6
c8a381f
Release:	4.beta%{?dist}
5a2d0aa
License:	GPLv2+
5a2d0aa
Summary:	Littlewood-Richardson Calculator
5a2d0aa
URL:		http://math.rutgers.edu/~asbuch/lrcalc
5a2d0aa
Source0:	http://math.rutgers.edu/~asbuch/lrcalc/%{name}-sage-%{version}.tar.gz
5a2d0aa
Source1:	lrcalc.module.in
5a2d0aa
Requires:	environment-modules
5a2d0aa
5a2d0aa
%description
5a2d0aa
The "Littlewood-Richardson Calculator" is a package of C and Maple programs
5a2d0aa
for computing Littlewood-Richardson coefficients. The C programs form the
5a2d0aa
engine of the package, providing fast calculation of single LR coefficients,
5a2d0aa
products of Schur functions, and skew Schur functions. The Maple code mainly
5a2d0aa
gives an interface which makes it possible to use the C programs from Maple.
5a2d0aa
This interface uses the same notation as the SF package of John Stembridge,
5a2d0aa
to make it easier to use both packages at the same time.
5a2d0aa
5a2d0aa
%package	devel
5a2d0aa
Summary:	Development files for %{name}
5a2d0aa
Group:		Development/Libraries
5a2d0aa
Requires:	%{name}%{?_isa} = %{version}-%{release}
5a2d0aa
5a2d0aa
%description    devel
5a2d0aa
The %{name}-devel package contains libraries and header files for
5a2d0aa
developing applications that use %{name}.
5a2d0aa
5a2d0aa
%prep
5a2d0aa
%setup -q -n %{name}-sage-%{version}
5a2d0aa
5a2d0aa
%build
5a2d0aa
%configure --bindir=%{_libdir}/%{name} --enable-shared --disable-static
5a2d0aa
make CFLAGS="%{optflags}" %{?_smp_mflags}
5a2d0aa
5a2d0aa
%install
5a2d0aa
make DESTDIR=%{buildroot} install
5a2d0aa
rm %{buildroot}%{_libdir}/*.la
5a2d0aa
5a2d0aa
mkdir -p %{buildroot}%{_datadir}/Modules/modulefiles
5a2d0aa
sed 's#@BINDIR@#'%{_libdir}/%{name}'#g;' < %{SOURCE1} > \
5a2d0aa
    %{buildroot}%{_datadir}/Modules/modulefiles/%{name}-%{_arch} 
5a2d0aa
5a2d0aa
%check
5a2d0aa
make check
5a2d0aa
5a2d0aa
%post -p /sbin/ldconfig
5a2d0aa
5a2d0aa
%postun -p /sbin/ldconfig
5a2d0aa
5a2d0aa
%files
5a2d0aa
%doc AUTHORS
5a2d0aa
%doc ChangeLog
5a2d0aa
%doc COPYING
5a2d0aa
%doc LICENSE
5a2d0aa
%doc README
5a2d0aa
%{_libdir}/%{name}
5a2d0aa
%{_libdir}/lib%{name}.so.*
5a2d0aa
%{_datadir}/Modules/modulefiles/%{name}-%{_arch}
5a2d0aa
5a2d0aa
%files		devel
5a2d0aa
%{_includedir}/%{name}
5a2d0aa
%{_libdir}/lib%{name}.so
5a2d0aa
5a2d0aa
%changelog
c8a381f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-4.beta
c8a381f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c8a381f
6dee07f
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-3.beta
6dee07f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
6dee07f
5a2d0aa
* Sat Jun  8 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.1.6-2.beta
5a2d0aa
- Rebuild with updated upstream tarball (#909510#c3).
5a2d0aa
5a2d0aa
* Fri Feb  8 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.1.6-1.beta
5a2d0aa
- Initial lrcalc spec.