Name: gretl Version: 2019c Release: 1%{?dist} Summary: A tool for econometric analysis License: GPLv3+ and BSD and MIT URL: http://gretl.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz #Licensing of plugins used in gretl Source1: gretl_plugins.txt BuildRequires: bash-completion BuildRequires: blas-devel BuildRequires: desktop-file-utils BuildRequires: fftw-devel BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: glib2-devel BuildRequires: gmp-devel BuildRequires: gnuplot BuildRequires: gtk3-devel BuildRequires: gtksourceview3-devel BuildRequires: json-glib-devel BuildRequires: lapack-devel BuildRequires: libcurl-devel BuildRequires: libxml2-devel BuildRequires: libgnomeui-devel BuildRequires: mpfr-devel BuildRequires: ncurses-devel BuildRequires: openmpi-devel BuildRequires: readline-devel BuildRequires: xdg-utils Requires: gnuplot Requires: gtksourceview3 Requires: libcurl ExcludeArch: %{arm} %description A cross-platform software package for econometric analysis, written in the C programming language. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel This package contains the development files for %{name}. %package openmpi Summary: Binary openmpi files for %{name} BuildRequires: openmpi-devel # Require explicitly for dir ownership and to guarantee the pickup of the right runtime Requires: openmpi Requires: %{name} = %{version}-%{release} %description openmpi This package contains the binary openmpi files for %{name}. %prep %setup -q CC=mpicc CXX=mpic++ FC=mpifort %build # Build OpenMPI version %{_openmpi_load} %configure --disable-static \ --disable-avx \ --with-mpi \ --with-mpi-lib=%{_libdir}/openmpi/lib/ \ --with-mpi-include=%{_includedir}/openmpi-%_arch/ make %{?_smp_mflags} cp %{SOURCE1} %{_builddir}/%{name}-%{version}/gretl_plugins.txt %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} %find_lang %{name} rm -rf %{buildroot}/%{_libdir}/libgretl*.la rm -rf %{buildroot}/%{_libdir}/gretl-gtk2/*.la rm -rf %{buildroot}/%{_datadir}/%{name}/doc #Fix the openmpi binary mkdir -p %{buildroot}%{_libdir}/openmpi/bin mv %{buildroot}/%{_bindir}/gretlmpi %{buildroot}/%{_libdir}/openmpi/bin/gretl_openmpi desktop-file-install \ --remove-category="Application;Science;Econometrics" \ --add-category="Education;Science;Math;Economy;" \ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}/%{_datadir}/applications/gretl.desktop %{_openmpi_unload} %ldconfig_scriptlets %files -f %{name}.lang %{_bindir}/gretl %{_bindir}/gretlcli %{_bindir}/gretl_x11 %{_libdir}/gretl-gtk3 %{_datadir}/%{name}/ %{_mandir}/man1/*.gz %{_libdir}/libgretl-1.0.so.* %{_datadir}/mime/packages/gretl.xml %{_datadir}/icons/hicolor/32x32/apps/gretl.png %{_datadir}/icons/hicolor/32x32/mimetypes/*.png %{_datadir}/icons/hicolor/48x48/apps/gretl.png %{_datadir}/icons/hicolor/64x64/apps/gretl.png %{_datadir}/applications/gretl* %{_datadir}/appdata/gretl.appdata.xml %doc ChangeLog CompatLog README gretl_plugins.txt %files devel %{_libdir}/pkgconfig/gretl.pc %{_libdir}/libgretl*.so %{_includedir}/%{name}/ %files openmpi %{_libdir}/openmpi/bin/gretl_openmpi %changelog * Wed Jul 03 2019 Johannes Lips - 2019c-1 - Update to 2019c * Tue May 21 2019 Johannes Lips - 2019b-1 - Update to 2019b * Sun Feb 17 2019 Igor Gnatenko - 2019a-4 - Rebuild for readline 8.0 * Thu Feb 14 2019 Orion Poplawski - 2019a-3 - Rebuild for openmpi 3.1.3 * Fri Feb 01 2019 Fedora Release Engineering - 2019a-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jan 24 2019 Johannes Lips - 2019a-1 - Update to 2019a * Sat Dec 22 2018 Johannes Lips - 2018d-1 - Update to 2018d - Disabled arm builds * Tue Sep 04 2018 Johannes Lips - 2018c-1 - Update to 2018c * Fri Aug 17 2018 Johannes Lips - 2018b-1 - Update to 2018b * Fri Jul 13 2018 Fedora Release Engineering - 2018a-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Mar 17 2018 Johannes Lips - 2018a-1 - Update to 2018a - removed cephes-patch * Wed Feb 07 2018 Fedora Release Engineering - 2017d-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 11 2018 Igor Gnatenko - 2017d-2 - Remove obsolete scriptlets * Fri Nov 10 2017 Johannes Lips - 2017d-1 - Update to 2017d * Wed Aug 02 2017 Fedora Release Engineering - 2017c-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 2017c-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jul 18 2017 Johannes Lips - 2017c-1 - Update to 2017c * Sat May 27 2017 Johannes Lips - 2017b-1 - Update to 2017b * Sun Apr 16 2017 Johannes Lips - 2017a-1 - Update to 2017a * Fri Feb 10 2017 Fedora Release Engineering - 2016d-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Jan 30 2017 Johannes Lips - 2016d-4 - rebuild for gcc * Thu Jan 12 2017 Igor Gnatenko - 2016d-3 - Rebuild for readline 7.x * Tue Nov 29 2016 Johannes Lips - 2016d-2 - additional changes fixing the openmpi parts * Sat Nov 26 2016 Johannes Lips - 2016d-1 - Update to 2016d - openmpi subpackage * Thu Jul 07 2016 Johannes Lips - 2016c-1 - Update to 2016c * Fri Apr 15 2016 Johannes Lips - 2016b-1 - Update to 2016b * Wed Feb 03 2016 Fedora Release Engineering - 2016a-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Jan 30 2016 Johannes Lips - 2016a-1 - Update to 2016a * Wed Oct 21 2015 Johannes Lips - 2015d-1 - Update to 2015d - move to a new versioning scheme * Thu Sep 17 2015 Johannes Lips - 1.10.2-1 - Update to 1.10.2 * Wed Jun 17 2015 Fedora Release Engineering - 1.10.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Apr 23 2015 Johannes Lips - 1.10.1-2 - disable the AVX switch to fix bug #1213980 * Sat Apr 04 2015 Johannes Lips - 1.10.1-1 - Update to 1.10.1 * Fri Apr 03 2015 Johannes Lips - 1.10.0-1 - Update to 1.10.0