Name: dSFMT Version: 2.2.3 Release: 9%{?dist} Summary: Double precision SIMD-oriented Fast Mersenne Twister License: BSD URL: http://www.math.sci.hiroshima-u.ac.jp/~%20m-mat/MT/SFMT/index.html Source0: http://www.math.sci.hiroshima-u.ac.jp/~%20m-mat/MT/SFMT/%{name}-src-%{version}.tar.gz Patch0: %{name}-%{version}_sharedlib.patch Patch1: %{name}-%{version}_pkgconfig.patch Patch2: %{name}-%{version}_exportfuns.patch %description The purpose of dSFMT is to speed up the generation by avoiding the expensive conversion of integer to double (floating point). dSFMT directly generates double precision floating point pseudo-random numbers which have the IEEE Standard for Binary Floating-Point Arithmetic (ANSI/IEEE Std 754-1985) format. dSFMT is only available on the CPUs which use IEEE 754 format double precision floating point numbers. dSFMT doesn't support integer outputs. dSFMT supports the output of double precision floating point pseudo-random numbers which distribute in the range of [1, 2), [0, 1), (0, 1] and (0, 1). And it also supports the various periods form 2607-1 to 2132049-1. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package devel-doc Summary: Development documentation files for %{name} BuildArch: noarch %description devel-doc The %{name}-devel-doc package contains API documentation for developing applications that use %{name}. %prep %setup -q -n %{name}-src-%{version} %patch0 -p 1 %patch1 -p 0 %patch2 -p 1 %build make %{?_smp_mflags} \ sharedlib \ libdir=%{_libdir} CCFLAGS="-fPIC %{optflags}" %install %make_install \ DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} install -pm644 %{name}.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/ %check make std-check %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc ./CHANGE-LOG.txt ./LICENSE.txt %doc README.txt README.jp.txt %{_libdir}/*.so.* %files devel %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}.pc %{_includedir}/*.h %files devel-doc %doc html/ %changelog * Wed Aug 02 2017 Fedora Release Engineering - 2.2.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 2.2.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 2.2.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 2.2.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 2.2.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Sep 3 2014 Milan Bouchet-Valat - 2.2.3-4 - Move documentation to -devel-doc package. - Run tests (modify and simplify Makefile patch to do this). * Sat Jun 28 2014 Milan Bouchet-Valat - 2.2.3-3 - Add patch to export functions required to use the library. * Tue Jun 17 2014 Xavier Lamien - 2.2.3-2 - Update license. - lower variable into Makefile. * Thu Jun 5 2014 Xavier Lamien - 2.2.3-1 - Initial RPM release.