|
|
06f8db1 |
Name: gretl
|
|
|
f62e52f |
Version: 2019a
|
|
|
dc09850 |
Release: 2%{?dist}
|
|
johannes lips |
7629c22 |
Summary: A tool for econometric analysis
|
|
johannes lips |
7629c22 |
|
|
johannes lips |
7629c22 |
License: GPLv3+ and BSD and MIT
|
|
johannes lips |
7629c22 |
URL: http://gretl.sourceforge.net/
|
|
|
1046690 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
|
|
johannes lips |
7629c22 |
#Licensing of plugins used in gretl
|
|
johannes lips |
7629c22 |
Source1: gretl_plugins.txt
|
|
johannes lips |
7629c22 |
|
|
johannes lips |
7629c22 |
|
|
|
d4d8008 |
BuildRequires: bash-completion
|
|
johannes lips |
7629c22 |
BuildRequires: blas-devel
|
|
|
06f8db1 |
BuildRequires: desktop-file-utils
|
|
johannes lips |
7629c22 |
BuildRequires: fftw-devel
|
|
|
674f951 |
BuildRequires: gcc-c++
|
|
johannes lips |
7629c22 |
BuildRequires: gettext
|
|
|
06f8db1 |
BuildRequires: glib2-devel
|
|
|
06f8db1 |
BuildRequires: gmp-devel
|
|
|
06f8db1 |
BuildRequires: gnuplot
|
|
|
06f8db1 |
BuildRequires: gtk3-devel
|
|
|
06f8db1 |
BuildRequires: gtksourceview3-devel
|
|
|
06f8db1 |
BuildRequires: json-glib-devel
|
|
|
06f8db1 |
BuildRequires: lapack-devel
|
|
|
247ceba |
BuildRequires: libcurl-devel
|
|
johannes lips |
7629c22 |
BuildRequires: libxml2-devel
|
|
johannes lips |
7629c22 |
BuildRequires: libgnomeui-devel
|
|
johannes lips |
7629c22 |
BuildRequires: mpfr-devel
|
|
|
06f8db1 |
BuildRequires: ncurses-devel
|
|
|
06f8db1 |
BuildRequires: openmpi-devel
|
|
|
06f8db1 |
BuildRequires: readline-devel
|
|
|
247ceba |
BuildRequires: xdg-utils
|
|
johannes lips |
7629c22 |
|
|
johannes lips |
7629c22 |
Requires: gnuplot
|
|
|
9d843f1 |
Requires: gtksourceview3
|
|
|
247ceba |
Requires: libcurl
|
|
johannes lips |
7629c22 |
|
|
johannes lips |
7629c22 |
%description
|
|
johannes lips |
7629c22 |
A cross-platform software package for econometric analysis,
|
|
johannes lips |
7629c22 |
written in the C programming language.
|
|
johannes lips |
7629c22 |
|
|
johannes lips |
7629c22 |
%package devel
|
|
johannes lips |
7629c22 |
Summary: Development files for %{name}
|
|
johannes lips |
7629c22 |
Requires: %{name} = %{version}-%{release}
|
|
johannes lips |
d2962bf |
Requires: pkgconfig
|
|
johannes lips |
7629c22 |
|
|
johannes lips |
7629c22 |
%description devel
|
|
johannes lips |
7629c22 |
This package contains the development files for %{name}.
|
|
johannes lips |
7629c22 |
|
|
|
06f8db1 |
%package openmpi
|
|
|
6f28546 |
Summary: Binary openmpi files for %{name}
|
|
|
06f8db1 |
BuildRequires: openmpi-devel
|
|
|
06f8db1 |
# Require explicitly for dir ownership and to guarantee the pickup of the right runtime
|
|
|
06f8db1 |
Requires: openmpi
|
|
|
06f8db1 |
Requires: %{name} = %{version}-%{release}
|
|
|
06f8db1 |
|
|
|
06f8db1 |
%description openmpi
|
|
|
06f8db1 |
This package contains the binary openmpi files for %{name}.
|
|
|
06f8db1 |
|
|
johannes lips |
7629c22 |
%prep
|
|
johannes lips |
7629c22 |
%setup -q
|
|
johannes lips |
7629c22 |
|
|
|
c497065 |
CC=mpicc
|
|
|
c497065 |
CXX=mpic++
|
|
|
c497065 |
FC=mpifort
|
|
|
c497065 |
|
|
johannes lips |
7629c22 |
%build
|
|
|
06f8db1 |
# Build OpenMPI version
|
|
|
06f8db1 |
%{_openmpi_load}
|
|
|
d4d8008 |
%configure --disable-static \
|
|
|
06f8db1 |
--disable-avx \
|
|
|
d4d8008 |
--with-mpi \
|
|
|
d4d8008 |
--with-mpi-lib=%{_libdir}/openmpi/lib/ \
|
|
|
d4d8008 |
--with-mpi-include=%{_includedir}/openmpi-%_arch/
|
|
johannes lips |
7629c22 |
make %{?_smp_mflags}
|
|
johannes lips |
7629c22 |
cp %{SOURCE1} %{_builddir}/%{name}-%{version}/gretl_plugins.txt
|
|
johannes lips |
7629c22 |
|
|
johannes lips |
7629c22 |
|
|
johannes lips |
7629c22 |
|
|
johannes lips |
7629c22 |
%install
|
|
johannes lips |
7629c22 |
rm -rf %{buildroot}
|
|
johannes lips |
7629c22 |
make install DESTDIR=%{buildroot}
|
|
johannes lips |
7629c22 |
%find_lang %{name}
|
|
johannes lips |
7629c22 |
rm -rf %{buildroot}/%{_libdir}/libgretl*.la
|
|
johannes lips |
7629c22 |
rm -rf %{buildroot}/%{_libdir}/gretl-gtk2/*.la
|
|
johannes lips |
7629c22 |
rm -rf %{buildroot}/%{_datadir}/%{name}/doc
|
|
johannes lips |
7629c22 |
|
|
|
c497065 |
#Fix the openmpi binary
|
|
|
c497065 |
mkdir -p %{buildroot}%{_libdir}/openmpi/bin
|
|
|
c497065 |
mv %{buildroot}/%{_bindir}/gretlmpi %{buildroot}/%{_libdir}/openmpi/bin/gretl_openmpi
|
|
|
c497065 |
|
|
johannes lips |
7629c22 |
desktop-file-install \
|
|
johannes lips |
7629c22 |
--remove-category="Application;Science;Econometrics" \
|
|
johannes lips |
7629c22 |
--add-category="Education;Science;Math;Economy;" \
|
|
johannes lips |
7629c22 |
--dir=%{buildroot}%{_datadir}/applications \
|
|
johannes lips |
7629c22 |
%{buildroot}/%{_datadir}/applications/gretl.desktop
|
|
|
06f8db1 |
%{_openmpi_unload}
|
|
|
07b0d21 |
%ldconfig_scriptlets
|
|
johannes lips |
7629c22 |
|
|
johannes lips |
7629c22 |
|
|
johannes lips |
7629c22 |
%files -f %{name}.lang
|
|
|
62e99f5 |
%{_bindir}/gretl
|
|
|
06f8db1 |
%{_bindir}/gretlcli
|
|
|
06f8db1 |
%{_bindir}/gretl_x11
|
|
|
9d843f1 |
%{_libdir}/gretl-gtk3
|
|
johannes lips |
7629c22 |
%{_datadir}/%{name}/
|
|
johannes lips |
7629c22 |
%{_mandir}/man1/*.gz
|
|
johannes lips |
7629c22 |
%{_libdir}/libgretl-1.0.so.*
|
|
|
247ceba |
%{_datadir}/mime/packages/gretl.xml
|
|
|
247ceba |
%{_datadir}/icons/hicolor/32x32/apps/gretl.png
|
|
|
247ceba |
%{_datadir}/icons/hicolor/32x32/mimetypes/*.png
|
|
|
247ceba |
%{_datadir}/icons/hicolor/48x48/apps/gretl.png
|
|
|
247ceba |
%{_datadir}/icons/hicolor/64x64/apps/gretl.png
|
|
johannes lips |
7629c22 |
%{_datadir}/applications/gretl*
|
|
|
b0ba99e |
%{_datadir}/appdata/gretl.appdata.xml
|
|
johannes lips |
7629c22 |
|
|
|
cc69a75 |
%doc ChangeLog CompatLog README gretl_plugins.txt
|
|
johannes lips |
7629c22 |
|
|
johannes lips |
7629c22 |
%files devel
|
|
johannes lips |
7629c22 |
%{_libdir}/pkgconfig/gretl.pc
|
|
johannes lips |
7629c22 |
%{_libdir}/libgretl*.so
|
|
johannes lips |
7629c22 |
%{_includedir}/%{name}/
|
|
johannes lips |
7629c22 |
|
|
|
7e09593 |
%files openmpi
|
|
|
c497065 |
%{_libdir}/openmpi/bin/gretl_openmpi
|
|
johannes lips |
7629c22 |
|
|
johannes lips |
7629c22 |
%changelog
|
|
|
dc09850 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2019a-2
|
|
|
dc09850 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
dc09850 |
|
|
|
f62e52f |
* Thu Jan 24 2019 Johannes Lips <hannes@fedoraproject.org> - 2019a-1
|
|
|
f62e52f |
- Update to 2019a
|
|
|
f62e52f |
|
|
|
d4d8008 |
* Sat Dec 22 2018 Johannes Lips <hannes@fedoraproject.org> - 2018d-1
|
|
|
d4d8008 |
- Update to 2018d
|
|
|
d4d8008 |
|
|
|
a45d107 |
* Tue Sep 04 2018 Johannes Lips <hannes@fedoraproject.org> - 2018c-1
|
|
|
a45d107 |
- Update to 2018c
|
|
|
a45d107 |
|
|
|
427d959 |
* Fri Aug 17 2018 Johannes Lips <hannes@fedoraproject.org> - 2018b-1
|
|
|
427d959 |
- Update to 2018b
|
|
|
427d959 |
|
|
|
308c3fe |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2018a-2
|
|
|
308c3fe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
308c3fe |
|
|
|
0a6db78 |
* Sat Mar 17 2018 Johannes Lips <hannes@fedoraproject.org> - 2018a-1
|
|
|
0a6db78 |
- Update to 2018a
|
|
|
394efa4 |
- removed cephes-patch
|
|
|
0a6db78 |
|
|
|
62f0216 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2017d-3
|
|
|
62f0216 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
62f0216 |
|
|
|
1525b13 |
* Thu Jan 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2017d-2
|
|
|
1525b13 |
- Remove obsolete scriptlets
|
|
|
1525b13 |
|
|
|
d172585 |
* Fri Nov 10 2017 Johannes Lips <hannes@fedoraproject.org> - 2017d-1
|
|
|
d172585 |
- Update to 2017d
|
|
|
d172585 |
|
|
|
e3d3d91 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2017c-3
|
|
|
e3d3d91 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
e3d3d91 |
|
|
|
6840172 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2017c-2
|
|
|
6840172 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
6840172 |
|
|
|
0b2cfba |
* Tue Jul 18 2017 Johannes Lips <hannes@fedoraproject.org> - 2017c-1
|
|
|
0b2cfba |
- Update to 2017c
|
|
|
0b2cfba |
|
|
|
40dc034 |
* Sat May 27 2017 Johannes Lips <hannes@fedoraproject.org> - 2017b-1
|
|
|
40dc034 |
- Update to 2017b
|
|
|
40dc034 |
|
|
|
def75a9 |
* Sun Apr 16 2017 Johannes Lips <hannes@fedoraproject.org> - 2017a-1
|
|
|
def75a9 |
- Update to 2017a
|
|
|
def75a9 |
|
|
|
1f95b62 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2016d-5
|
|
|
1f95b62 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
1f95b62 |
|
|
|
e88bd20 |
* Mon Jan 30 2017 Johannes Lips <hannes@fedoraproject.org> - 2016d-4
|
|
|
e88bd20 |
- rebuild for gcc
|
|
|
e88bd20 |
|
|
Igor Gnatenko |
4efc153 |
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 2016d-3
|
|
Igor Gnatenko |
4efc153 |
- Rebuild for readline 7.x
|
|
Igor Gnatenko |
4efc153 |
|
|
|
c497065 |
* Tue Nov 29 2016 Johannes Lips <hannes@fedoraproject.org> - 2016d-2
|
|
|
c497065 |
- additional changes fixing the openmpi parts
|
|
|
c497065 |
|
|
|
06f8db1 |
* Sat Nov 26 2016 Johannes Lips <hannes@fedoraproject.org> - 2016d-1
|
|
|
06f8db1 |
- Update to 2016d
|
|
|
06f8db1 |
- openmpi subpackage
|
|
|
06f8db1 |
|
|
|
d6bc75a |
* Thu Jul 07 2016 Johannes Lips <hannes@fedoraproject.org> - 2016c-1
|
|
|
d6bc75a |
- Update to 2016c
|
|
|
d6bc75a |
|
|
|
d6bc75a |
* Fri Apr 15 2016 Johannes Lips <hannes@fedoraproject.org> - 2016b-1
|
|
|
5e99a87 |
- Update to 2016b
|
|
|
5e99a87 |
|
|
|
71f625f |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2016a-2
|
|
|
71f625f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
71f625f |
|
|
|
ddf42a2 |
* Sat Jan 30 2016 Johannes Lips <hannes@fedoraproject.org> - 2016a-1
|
|
|
ddf42a2 |
- Update to 2016a
|
|
|
ddf42a2 |
|
|
|
47b386e |
* Wed Oct 21 2015 Johannes Lips <hannes@fedoraproject.org> - 2015d-1
|
|
|
47b386e |
- Update to 2015d
|
|
|
47b386e |
- move to a new versioning scheme
|
|
|
47b386e |
|
|
|
977389b |
* Thu Sep 17 2015 Johannes Lips <hannes@fedoraproject.org> - 1.10.2-1
|
|
|
977389b |
- Update to 1.10.2
|
|
|
977389b |
|
|
|
cc72a2c |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.1-3
|
|
|
cc72a2c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
cc72a2c |
|
|
|
98b90e7 |
* Thu Apr 23 2015 Johannes Lips <hannes@fedoraproject.org> - 1.10.1-2
|
|
|
98b90e7 |
- disable the AVX switch to fix bug #1213980
|
|
|
98b90e7 |
|
|
|
896f594 |
* Sat Apr 04 2015 Johannes Lips <hannes@fedoraproject.org> - 1.10.1-1
|
|
|
896f594 |
- Update to 1.10.1
|
|
|
896f594 |
|
|
|
7c6e499 |
* Fri Apr 03 2015 Johannes Lips <hannes@fedoraproject.org> - 1.10.0-1
|
|
|
62e99f5 |
- Update to 1.10.0
|