3d588b
# This package depends on automagic byte compilation
3d588b
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2
3d588b
%global _python_bytecompile_extra 1
3d588b
Markus Neteler f6eb39
%global shortver 78
Orion Poplawski 107c2f
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
9b1a14
9b1a14
Name:		grass
27c74e
Version:	7.8.3
698c90
Release:	5%{?dist}
9b1a14
Summary:	GRASS GIS - Geographic Resources Analysis Support System
9b1a14
31206a
%if 0%{?rhel} >= 7
31206a
%define __python %{__python3}
31206a
%global python3_version_nodots 36
31206a
%global main_python3 1
Markus Neteler 5f02b2
%endif
31206a
31206a
# Note that the bcond macros are named for the CLI option they create.
31206a
# "%%bcond_without" means "ENABLE by default and create a --without option"
31206a
%bcond_without python3
31206a
9b1a14
License:	GPLv2+
9b1a14
URL:		https://grass.osgeo.org
9b1a14
Source0:	https://grass.osgeo.org/%{name}%{shortver}/source/%{name}-%{version}.tar.gz
9b1a14
Source2:	%{name}-config.h
9b1a14
Markus Neteler 8717d4
Patch1:		grass-7.8.0-buildroot.diff
Markus Neteler f6eb39
9b1a14
BuildRequires:	bison
9b1a14
BuildRequires:	blas-devel
769736
BuildRequires:	cairo-devel
Markus Neteler 85cb94
BuildRequires:	gcc-c++
Orion Poplawski c4647f
BuildRequires:	desktop-file-utils
9b1a14
BuildRequires:	fftw-devel
9b1a14
BuildRequires:	flex
095e67
%if (0%{?rhel} > 6 || 0%{?fedora})
9b1a14
BuildRequires:	freetype-devel
095e67
%endif
9b1a14
BuildRequires:	gdal-devel
Markus Neteler f6eb39
BuildRequires:	geos-devel
289ba3
BuildRequires:	gettext
9b1a14
BuildRequires:	lapack-devel
095e67
%if (0%{?rhel} > 6 || 0%{?fedora})
Orion Poplawski c4647f
BuildRequires:	libappstream-glib
095e67
%endif
9b1a14
BuildRequires:	libpng-devel
9b1a14
BuildRequires:	libtiff-devel
9b1a14
BuildRequires:	libXmu-devel
9b1a14
BuildRequires:	mesa-libGL-devel
9b1a14
BuildRequires:	mesa-libGLU-devel
2f6bb9
%if (0%{?rhel} > 7 || 0%{?fedora})
Markus Neteler 9170dc
BuildRequires:	mariadb-connector-c-devel openssl-devel
Markus Neteler 9170dc
%else
9b1a14
BuildRequires:	mysql-devel
Markus Neteler 9170dc
%endif
095e67
%if (0%{?rhel} > 6 || 0%{?fedora})
9b1a14
BuildRequires:	netcdf-devel
095e67
%endif
Markus Neteler f6eb39
BuildRequires:	python3
2f6bb9
%if 0%{?rhel} == 7
Markus Neteler 3452cd
# EPEL7
31206a
BuildRequires:	python%{python3_version_nodots}-numpy
Markus Neteler 3452cd
%else
Markus Neteler f6eb39
BuildRequires:	python3-numpy
Markus Neteler 3452cd
%endif
7a92aa
%if 0%{?rhel} && 0%{?rhel} <= 7
9b1a14
BuildRequires:	postgresql-devel
095e67
%else
7a92aa
BuildRequires:	libpq-devel
095e67
%endif
Markus Neteler 6c13ab
BuildRequires:	proj-devel
2f6bb9
%if (0%{?rhel} > 7 || 0%{?fedora} >= 30)
Markus Neteler 6c13ab
BuildRequires:	proj-datumgrid
Markus Neteler 6c13ab
%else
Markus Neteler f6eb39
BuildRequires:	proj-epsg
Markus Neteler f6eb39
BuildRequires:	proj-nad
Markus Neteler f6eb39
%endif
2f6bb9
%if 0%{?fedora} >= 30
698c90
BuildRequires:	proj-datumgrid-world
2f6bb9
%endif
095e67
%if (0%{?rhel} <= 6 && !0%{?fedora})
095e67
# argparse is included in python2.7+ but not python2.6
698c90
BuildRequires:	python-argparse
095e67
%endif
2f6bb9
%if 0%{?rhel} == 7
Markus Neteler 3452cd
# EPEL7
31206a
BuildRequires:	python%{python3_version_nodots}-dateutil
Markus Neteler 3452cd
%else
Markus Neteler f6eb39
BuildRequires:	python3-dateutil
Markus Neteler 3452cd
%endif
Markus Neteler f6eb39
BuildRequires:	python3-devel
095e67
%if (0%{?rhel} > 6 || 0%{?fedora})
698c90
BuildRequires:	python3-pillow
Markus Neteler d564a9
%else
Markus Neteler d564a9
# EPEL6
095e67
BuildRequires:	python-imaging
095e67
%endif
9b1a14
BuildRequires:	readline-devel
9b1a14
BuildRequires:	sqlite-devel
289ba3
BuildRequires:	subversion
9b1a14
BuildRequires:	unixODBC-devel
9b1a14
BuildRequires:	zlib-devel
Markus Neteler 3452cd
BuildRequires:	bzip2-devel
Markus Neteler 348825
BuildRequires:	libzstd-devel
9b1a14
Markus Neteler 3452cd
Requires:	bzip2-libs
Markus Neteler 3452cd
Requires:	libzstd
Markus Neteler f6eb39
Requires:	geos
2f6bb9
%if (0%{?rhel} > 7 || 0%{?fedora} >= 30)
Markus Neteler 6c13ab
Requires:	proj-datumgrid
Markus Neteler 6c13ab
%else
Markus Neteler f6eb39
Requires:	proj-epsg
Markus Neteler f6eb39
Requires:	proj-nad
Markus Neteler f6eb39
%endif
2f6bb9
%if 0%{?fedora} >= 30
2f6bb9
Requires:  proj-datumgrid-world
2f6bb9
%endif
Markus Neteler f6eb39
Requires:	python3
2f6bb9
%if 0%{?rhel} == 7
Markus Neteler 3452cd
# EPEL7
31206a
Requires:	python%{python3_version_nodots}-numpy
Markus Neteler 3452cd
%else
Markus Neteler f6eb39
Requires:	python3-numpy
Markus Neteler 3452cd
%endif
Markus Neteler 3452cd
%if 0%{?rhel} > 6
2f6bb9
# EPEL7/EPEL8
Markus Neteler 3452cd
#Requires:  python3-matplotlib-wx
Markus Neteler 3452cd
%else
Markus Neteler 3452cd
Requires:	python3-matplotlib
Markus Neteler 3452cd
%endif
2f6bb9
%if 0%{?rhel} == 7
Markus Neteler 3452cd
# EPEL7
31206a
Requires:	python%{python3_version_nodots}-dateutil
Markus Neteler 3452cd
%else
Markus Neteler 3452cd
Requires:	python3-dateutil
Markus Neteler 3452cd
%endif
698c90
%if 0%{?rhel} && 0%{?rhel} < 7
698c90
Requires: wxPython
Markus Neteler 4dcadb
%else
698c90
Requires: python3-wxpython4
2f6bb9
%endif
Markus Neteler 4dcadb
Balint Cristian 9d89a6
%if "%{_lib}" == "lib"
b2d924
%global cpuarch 32
Balint Cristian 9d89a6
%else
b2d924
%global cpuarch 64
Balint Cristian 9d89a6
%endif
Balint Cristian 9d89a6
Markus Neteler 9170dc
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
Markus Neteler 9170dc
Balint Cristian 3f92e1
%description
Balint Cristian 3f92e1
GRASS (Geographic Resources Analysis Support System) is a Geographic
Balint Cristian 3f92e1
Information System (GIS) used for geospatial data management and
Balint Cristian 3f92e1
analysis, image processing, graphics/maps production, spatial
Balint Cristian 3f92e1
modeling, and visualization. GRASS is currently used in academic and
Balint Cristian 3f92e1
commercial settings around the world, as well as by many governmental
Balint Cristian 3f92e1
agencies and environmental consulting companies.
Balint Cristian 3f92e1
Balint Cristian 3f92e1
%package libs
289ba3
Summary:	GRASS GIS runtime libraries
Balint Cristian 3f92e1
Balint Cristian 3f92e1
%description libs
9b1a14
GRASS GIS runtime libraries
Balint Cristian 3f92e1
Markus Neteler 5f02b2
%package gui
Markus Neteler 5f02b2
Summary:	GRASS GIS GUI
Markus Neteler 5f02b2
Requires:	%{name}%{?isa} = %{version}-%{release}
Markus Neteler 5f02b2
Markus Neteler 5f02b2
%description gui
Markus Neteler 5f02b2
GRASS GIS GUI
Markus Neteler 5f02b2
Balint Cristian 3f92e1
%package devel
289ba3
Summary:	GRASS GIS development headers
Markus Neteler 9170dc
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
357b52
Balint Cristian 3f92e1
%description devel
9b1a14
GRASS GIS development headers
b2d924
Balint Cristian 3f92e1
%prep
289ba3
%setup -q
289ba3
Markus Neteler f6eb39
%patch1 -p1
Markus Neteler f6eb39
289ba3
# Correct mysql_config query
289ba3
sed -i -e 's/--libmysqld-libs/--libs/g' configure
Balint Cristian 3f92e1
Orion Poplawski c4647f
# Fixup shebangs
Orion Poplawski c4647f
find -name \*.pl | xargs sed -i -e 's,#!/usr/bin/env perl,#!%{__perl},'
Orion Poplawski c4647f
357b52
%build
289ba3
# Package is not ready for -Werror=format-security or the C++11 standard
832cd3
CFLAGS="$(echo ${RPM_OPT_FLAGS} | sed -e 's/ -Werror=format-security//')"
289ba3
CXXFLAGS="-std=c++98 ${CFLAGS}"
Balint Cristian 3f92e1
%configure \
9b1a14
	--with-cxx \
9b1a14
	--with-tiff \
9b1a14
	--with-png \
9b1a14
	--with-postgres \
2f6bb9
%if 0%{?rhel} > 7
2f6bb9
    --with-mysql=no \
2f6bb9
%else
9b1a14
	--with-mysql \
2f6bb9
%endif
9b1a14
	--with-opengl \
9b1a14
	--with-odbc \
9b1a14
	--with-fftw \
9b1a14
	--with-blas \
9b1a14
	--with-lapack \
9b1a14
	--with-cairo \
095e67
%if (0%{?rhel} > 6 || 0%{?fedora})
9b1a14
	--with-freetype \
095e67
%endif
9b1a14
	--with-nls \
9b1a14
	--with-readline \
9b1a14
	--with-regex \
9b1a14
	--with-openmp \
9b1a14
	--with-gdal=%{_bindir}/gdal-config \
9b1a14
	--with-wxwidgets=%{_bindir}/wx-config \
97dbc8
	--with-geos=%{_bindir}/geos-config \
095e67
%if (0%{?rhel} > 6 || 0%{?fedora})
095e67
	--with-netcdf=%{_bindir}/nc-config \
095e67
%endif
9b1a14
	--with-mysql-includes=%{_includedir}/mysql \
Markus Neteler 9170dc
%if (0%{?fedora} >= 27)
Markus Neteler 9170dc
	--with-mysql-libs=%{_libdir} \
Markus Neteler 9170dc
%else
9b1a14
	--with-mysql-libs=%{_libdir}/mysql \
Markus Neteler 9170dc
%endif
7a92aa
	--with-postgres-includes=%{_includedir}/pgsql \
9b1a14
	--with-cairo-ldflags=-lfontconfig \
9b1a14
	--with-freetype-includes=%{_includedir}/freetype2 \
Markus Neteler 3452cd
	--with-bzlib \
Markus Neteler 348825
	--with-zstd \
Markus Neteler 5f02b2
	--with-proj-share=%{_datadir}/proj
095e67
b050c4
make %{?_smp_mflags}
Balint Cristian 3f92e1
Markus Neteler 5f02b2
# by default, grass will be installed to /usr/grass-%%{version}
Markus Neteler 5f02b2
# this is not FHS compliant: hide grass-%%{version} in %%{libdir}
Balint Cristian 3f92e1
%install
9b1a14
%make_install \
Markus Neteler f6eb39
	DESTDIR=%{buildroot}%{_libdir} \
Markus Neteler 5f02b2
	prefix=%{buildroot}%{_libdir} \
Markus Neteler f6eb39
	UNIX_BIN=%{buildroot}%{_bindir} \
Markus Neteler f6eb39
	GISBASE_RUNTIME=%{_libdir}/%{name}%{shortver}
Balint Cristian 9d89a6
Markus Neteler 5f02b2
# libraries and headers are in GISBASE = %%{_libdir}/%%{name}
Markus Neteler 5f02b2
# keep them in GISBASE
Markus Neteler 5f02b2
Markus Neteler 5f02b2
# fix paths:
9b1a14
# Change GISBASE in startup script
Markus Neteler f6eb39
for I in %{buildroot}%{_bindir}/%{name}%{shortver} \
Markus Neteler f6eb39
	%{buildroot}%{_libdir}/%{name}%{shortver}/include/Make/Platform.make \
Markus Neteler f6eb39
	%{buildroot}%{_libdir}/%{name}%{shortver}/include/Make/Grass.make \
Markus Neteler f6eb39
	%{buildroot}%{_libdir}/%{name}%{shortver}/demolocation/.grassrc%{shortver} \
Markus Neteler f6eb39
	%{buildroot}%{_libdir}/%{name}%{shortver}/etc/fontcap; do
Markus Neteler f6eb39
	sed -i \
Markus Neteler f6eb39
		-e 's|%{buildroot}%{_libdir}/%{name}-%{version}|%{_libdir}/%{name}%{shortver}|g' \
Markus Neteler f6eb39
		-e 's|%{buildroot}%{_libdir}/%{name}%{shortver}|%{_libdir}/%{name}%{shortver}|g' \
Markus Neteler f6eb39
		-e 's|%{buildroot}%{_bindir}|%{_bindir}|g' \
Markus Neteler f6eb39
		$I
Markus Neteler f6eb39
done
Markus Neteler f6eb39
Markus Neteler 5f02b2
# fix paths in grass.pc
Markus Neteler 5f02b2
sed -i -e 's|%{_prefix}/%{name}-%{version}|%{_libdir}/%{name}%{shortver}|g' \
Markus Neteler 5f02b2
	%{name}.pc
Balint Cristian 3f92e1
Balint Cristian 3f92e1
mkdir -p %{buildroot}%{_libdir}/pkgconfig
9b1a14
install -p -m 644 %{name}.pc %{buildroot}%{_libdir}/pkgconfig
Balint Cristian 3f92e1
9b1a14
# Create multilib header
Markus Neteler f6eb39
mv %{buildroot}%{_libdir}/%{name}%{shortver}/include/%{name}/config.h \
Markus Neteler f6eb39
   %{buildroot}%{_libdir}/%{name}%{shortver}/include/%{name}/config-%{cpuarch}.h
Markus Neteler f6eb39
install -p -m 644 %{SOURCE2} %{buildroot}%{_libdir}/%{name}%{shortver}/include/%{name}/config.h
d73297
9b1a14
# Make man pages available on the system, convert to utf8 and avoid name conflict
9b1a14
mkdir -p %{buildroot}%{_mandir}/man1
Markus Neteler f6eb39
for man in $(ls %{buildroot}%{_libdir}/%{name}%{shortver}/docs/man/man1/*.1)
9b1a14
do
9b1a14
	iconv -f iso8859-1 -t utf8 $man > %{buildroot}%{_mandir}/man1/$(basename $man)"%{name}"
Balint Cristian 3f92e1
done
Balint Cristian 3f92e1
Markus Neteler f6eb39
# create symlink to unversioned name
Markus Neteler 6c13ab
ln -s %{_bindir}/%{name}%{shortver} %{buildroot}%{_bindir}/%{name}
Markus Neteler f6eb39
Markus Neteler 5f02b2
# symlink docs from GISBASE to standard system location
Markus Neteler 5f02b2
mkdir -p %{buildroot}%{_docdir}
Markus Neteler 6c13ab
# append shortver to destination since man pages are unversioned
Markus Neteler 5f02b2
ln -s %{_libdir}/%{name}%{shortver}/docs %{buildroot}%{_docdir}/%{name}%{shortver}
Orion Poplawski c4647f
9b1a14
# Make desktop, appdata and icon files available on the system
Markus Neteler f6eb39
mv %{buildroot}%{_libdir}/%{name}%{shortver}/share/* %{buildroot}%{_datadir}
Orion Poplawski c4647f
desktop-file-validate %{buildroot}/%{_datadir}/applications/*.desktop
Markus Neteler f6eb39
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/org.osgeo.%{name}.appdata.xml
b2d924
Markus Neteler 5f02b2
# Cleanup: nothing to do
Markus Neteler 5f02b2
#rm -rf %%{buildroot}%%{_prefix}/%%{name}-%%{version}
d73297
Markus Neteler 5f02b2
# Finally move entire tree to shortver subdir
Markus Neteler f6eb39
#mv %{buildroot}%{_libdir}/%{name}-%{version} %{buildroot}%{_libdir}/%{name}%{shortver}
d73297
Markus Neteler 5f02b2
# rpm macro for version checking (not from buildroot!)
Orion Poplawski 107c2f
mkdir -p ${RPM_BUILD_ROOT}%{macrosdir}
Orion Poplawski 107c2f
cat > ${RPM_BUILD_ROOT}%{macrosdir}/macros.%{name} <
Orion Poplawski 107c2f
%%%{name}_version %{version}
Orion Poplawski 107c2f
EOF
Orion Poplawski 107c2f
Markus Neteler d0be3b
# Add custom lib path to ld.conf.so.d
Markus Neteler d0be3b
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
Markus Neteler d0be3b
cat >  %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf<
Markus Neteler d0be3b
%{_libdir}/%{name}%{shortver}/lib
Markus Neteler d0be3b
EOF
Markus Neteler d0be3b
b53765
%if 0%{?rhel} && 0%{?rhel} <= 7
d73297
%post
d73297
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
d73297
d73297
%postun
d73297
if [ $1 -eq 0 ] ; then
9b1a14
	/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
9b1a14
	/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
d73297
fi
d73297
d73297
%posttrans
d73297
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Markus Neteler 9170dc
%endif
d73297
Balint Cristian 3f92e1
%post libs -p /sbin/ldconfig
Balint Cristian 3f92e1
9b1a14
%postun libs -p /sbin/ldconfig
d73297
9b1a14
%files
Markus Neteler d0be3b
%exclude %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
9b1a14
%exclude %{_libdir}/%{name}%{shortver}/driver/db/*
Markus Neteler 5f02b2
%exclude %{_libdir}/%{name}%{shortver}/lib
Markus Neteler 5f02b2
%exclude %{_libdir}/%{name}%{shortver}/include
Markus Neteler 5f02b2
%exclude %{_libdir}/%{name}%{shortver}/gui
Markus Neteler 5f02b2
%{_libdir}/%{name}%{shortver}
9b1a14
%{_bindir}/*
Markus Neteler 5f02b2
%{_datadir}/metainfo/*
9b1a14
%{_datadir}/applications/*
9b1a14
%{_datadir}/icons/hicolor/*/apps/*
9b1a14
%{_mandir}/man1/*
Markus Neteler 5f02b2
%{_docdir}/%{name}%{shortver}
Balint Cristian 3f92e1
Balint Cristian 3f92e1
%files libs
9b1a14
%license AUTHORS COPYING GPL.TXT CHANGES
Markus Neteler d0be3b
%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
Markus Neteler f25b45
%{_libdir}/%{name}%{shortver}/lib/*.so
Markus Neteler 5f02b2
%{_libdir}/%{name}%{shortver}/lib/*.a
9b1a14
%dir %{_libdir}/%{name}%{shortver}/driver
9b1a14
%dir %{_libdir}/%{name}%{shortver}/driver/db
9b1a14
%{_libdir}/%{name}%{shortver}/driver/db/*
Balint Cristian 3f92e1
Markus Neteler 5f02b2
%files gui
Markus Neteler 5f02b2
%{_libdir}/%{name}%{shortver}/gui
Markus Neteler 5f02b2
Balint Cristian 3f92e1
%files devel
9b1a14
%doc TODO doc/* SUBMITTING
Orion Poplawski 107c2f
%{macrosdir}/macros.%{name}
9b1a14
%{_libdir}/pkgconfig/*
Markus Neteler 5f02b2
%dir %{_libdir}/%{name}%{shortver}/lib
Markus Neteler 5f02b2
%{_libdir}/%{name}%{shortver}/include
c0b315
Balint Cristian 3f92e1
%changelog
698c90
* Tue May 26 2020 Markus Neteler <neteler@mundialis.de> - 7.8.3-5
698c90
- fixed wxPython for F33 (BZ#1836761)
698c90
388a26
* Thu May 21 2020 Sandro Mani <manisandro@gmail.com> - 7.8.3-4
388a26
- Rebuild (gdal)
388a26
2f6bb9
* Sat May 09 2020 Markus Neteler <neteler@mundialis.de> - 7.8.3-3
2f6bb9
- disabled mysql on EPEL8 due to header problem
2f6bb9
- updated PROJ package names for EPEL8
2f6bb9
31206a
* Wed May 06 2020 Markus Neteler <neteler@mundialis.de> - 7.8.3-2
31206a
- enforce Python3 on EPEL7
31206a
- do not hardcode python version on Fedora but use macro
31206a
27c74e
* Tue May 05 2020 Markus Neteler <neteler@mundialis.de> - 7.8.3
27c74e
- new upstream version GRASS GIS 7.8.3
27c74e
a67254
* Tue Mar 03 2020 Sandro Mani <manisandro@gmail.com> - 7.8.2-3
a67254
- Rebuild (gdal)
a67254
739dce
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.8.2-2
739dce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
739dce
Markus Neteler 101b72
* Thu Dec 12 2019 Markus Neteler <neteler@mundialis.de> - 7.8.2
Markus Neteler 101b72
- new upstream version GRASS GIS 7.8.2
Markus Neteler 101b72
Markus Neteler 3452cd
* Thu Oct 24 2019 Markus Neteler <neteler@mundialis.de> - 7.8.1
Markus Neteler 3452cd
- new upstream version GRASS GIS 7.8.1
Markus Neteler 8717d4
- it supports GDAL 3 and PROJ 6
Markus Neteler 3452cd
Markus Neteler 3452cd
* Thu Oct 24 2019 Markus Neteler <neteler@mundialis.de> - 7.8.0-5
Markus Neteler 3452cd
- fix EPEL7 support
Markus Neteler 3452cd
Markus Neteler 3452cd
* Mon Sep 23 2019 Markus Metz <metz@mundialis.de> - 7.8.0-4
Markus Neteler 3452cd
- enable bzip2 compression
Markus Neteler 3452cd
Markus Neteler 6c13ab
* Fri Sep 20 2019 Markus Neteler <neteler@mundialis.de> - 7.8.0-3
Markus Neteler 6c13ab
- added missing proj-datumgrid and proj-datumgrid-world for >= F30
Markus Neteler 6c13ab
- fix create symlink to unversioned name
Markus Neteler 6c13ab
Markus Neteler f6eb39
* Sat Sep 14 2019 Elliot C. Lee <elliot.c.lee@gmail.com> - 7.8.0-2
Markus Neteler f6eb39
- patch for upstream package and SPEC file
Markus Neteler f6eb39
Markus Neteler f6eb39
* Fri Sep 13 2019 Markus Neteler <neteler@mundialis.de> - 7.8.0-1
Markus Neteler f6eb39
- new upstream version of GRASS GIS 7.8.0
Markus Neteler f6eb39
- dropped outdated liblas dependency
Markus Neteler f6eb39
Markus Neteler f6eb39
* Wed Aug 14 2019 Markus Neteler <neteler@mundialis.de> - 7.8.0-RC1
Markus Neteler f6eb39
- test version of GRASS GIS 7.8.0RC1 with Python 3 support
Markus Neteler f6eb39
- removal of no longer required Python 2/3 shebang update
Markus Neteler f6eb39
a3a155
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.6.0-6
a3a155
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a3a155
89a981
* Mon Mar 18 2019 Orion Poplawski <orion@nwra.com> - 7.6.0-5
89a981
- Rebuild for netcdf 4.6.3
89a981
29ea7c
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.6.0-4
29ea7c
- Rebuild for readline 8.0
29ea7c
f5afb7
* Mon Feb 04 2019 Devrim Gündüz <devrim@gunduz.org> - 7.6.0-3
9c00d4
- Rebuild for new GeOS and Proj
9c00d4
43446e
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.6.0-2
43446e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
43446e
Markus Neteler 348825
* Thu Jan 17 2019 Markus Neteler <neteler@mundialis.de> - 7.6.0-1
Markus Neteler 348825
- new upstream version GRASS GIS 7.6.0
Markus Neteler 348825
Markus Neteler f3e0e5
* Fri Jan 04 2019 Markus Neteler <neteler@mundialis.de> - 7.4.4-1
Markus Neteler f3e0e5
- new upstream version GRASS GIS 7.4.4
Markus Neteler f3e0e5
Markus Neteler 7d3f66
* Tue Nov 27 2018 Markus Neteler <neteler@mundialis.de> - 7.4.3-1
Markus Neteler 7d3f66
- new upstream version GRASS GIS 7.4.3
Markus Neteler 7d3f66
Markus Neteler f25b45
* Tue Nov 06 2018 Markus Neteler <neteler@mundialis.de> - 7.4.2-2
Markus Neteler f25b45
- fix to include libgrass_*.so files in grass-libs.rpm
Markus Neteler f25b45
Markus Neteler f25b45
* Sun Oct 28 2018 Markus Neteler <neteler@mundialis.de> - 7.4.2-1
Markus Neteler 7d3f66
- new upstream version GRASS GIS 7.4.2
Markus Neteler 9b6b87
Markus Neteler f25b45
* Sun Sep 09 2018 Pavel Raiskup <praiskup@redhat.com> - 7.4.1-8
Markus Neteler 9b6b87
- Clean up of PostgreSQL support (PR#4)
Markus Neteler 9b6b87
e3f80f
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 7.4.1-7
e3f80f
- Rebuild with fixed binutils
e3f80f
Markus Neteler 85cb94
* Sun Jul 29 2018 Markus Neteler <neteler@mundialis.de> - 7.4.1-6
Markus Neteler 85cb94
- added BuildRequires gcc-c++ to address RHBZ #1604262 due to RHBZ #1551327 (removing gcc and gcc-c++ from default buildroot)
Markus Neteler 85cb94
905b39
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.1-5
905b39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
905b39
Markus Neteler 7f0759
* Sun Jul 08 2018 Markus Neteler <neteler@mundialis.de> - 7.4.1-4
Markus Neteler 7f0759
- fix Python macro to explicitely use Python 2 interpreter
Markus Neteler 7f0759
769736
* Sat Jul 07 2018 Scott Talbert <swt@techie.net> - 7.4.1-3
769736
- Update BRs: remove wxGTK-devel and add cairo-devel
769736
Markus Neteler 4dcadb
* Sat Jun 23 2018 Markus Neteler <neteler@mundialis.de> - 7.4.1-2
Markus Neteler 4dcadb
- fix wxPython package dependency name for CentOS7
Markus Neteler 4dcadb
Markus Neteler d564a9
* Tue Jun 12 2018 Markus Neteler <neteler@mundialis.de> - 7.4.1-1
Markus Neteler d564a9
- new upstream version 7.4.1
Markus Neteler d564a9
- do not fail on EPEL6 with appstream-util
Markus Neteler d564a9
Markus Neteler d0be3b
* Wed Apr 25 2018 Markus Neteler <neteler@mundialis.de> - 7.4.0-2
Markus Neteler d0be3b
- add /etc/ld.so.conf.d/grass-*.conf to find libs by Daniele Viganò <daniele@vigano.me> (RHBZ #1571441)
Markus Neteler d0be3b
Markus Neteler 066991
* Mon Apr 09 2018 Markus Neteler <neteler@mundialis.de> - 7.4.0-1
Markus Neteler 066991
- New upstream version 7.4.0
Markus Neteler 066991
e275e6
* Mon Mar 26 2018 Iryna Shcherbina <ishcherb@redhat.com> - 7.2.3-2
e275e6
- Update Python 2 dependency declarations to new packaging standards
e275e6
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
e275e6
Markus Neteler 5f02b2
* Thu Mar 22 2018 Markus Neteler <neteler@mundialis.de> - 7.2.3-1
Markus Neteler 5f02b2
- new upstream version 7.2.3
Markus Neteler 919765
- selected backport of major SPEC file cleanup from 7.4.0 done by Markus Metz <metz@mundialis.de>
Markus Neteler 919765
- Fix grass-devel which needs include/grass and include/Make dirs done by Markus Metz 
Markus Neteler 5f02b2
- store binaries in /usr/lib[64]/grass74/
Markus Neteler 5f02b2
Markus Neteler 5f02b2
* Sun Jan 28 2018 Markus Neteler <neteler@mundialis.de> - 7.2.2-2
Markus Neteler 5f02b2
- fix for EPEL in r.random.surface to avoid variable collision with GDAL
Markus Neteler 5f02b2
- SPEC cleanup with fix of dependencies between packages (review #1539116)
Markus Neteler 5f02b2
- appdata.xml file also go into '/usr/share/metainfo'
Markus Neteler 5f02b2
- use icon cache scriplets only on EPEL
Markus Neteler 5f02b2
Markus Neteler 5f02b2
* Mon Jan 15 2018 Markus Metz <metz@mundialis.de> - 7.2.2-1
Markus Neteler 5f02b2
- Major cleanup of SPEC file
Markus Neteler 5f02b2
- Fix grass-devel which needs include/grass and include/Make dirs
ef33f3
ff02a2
* Fri Jul 21 2017 Kalev Lember <klember@redhat.com> - 7.2.1-2
ff02a2
- Rebuilt for Boost 1.64
ff02a2
095e67
* Wed May 3 2017 Markus Neteler <neteler@mundialis.de> - 7.2.1-1
095e67
- New upstream version 7.2.1
b4b0f5
095e67
* Thu Mar 2 2017 Markus Neteler <neteler@mundialis.de> - 7.2.0-3
095e67
- Fix for g.extension which needs include/ dir in grass-devel
18b412
095e67
* Sat Feb 4 2017 Markus Neteler <neteler@mundialis.de> - 7.2.0-2
095e67
- Fixes for EPEL
2ebe44
095e67
* Thu Jan 12 2017 Markus Neteler <neteler@mundialis.de> - 7.2.0-1
095e67
- New upstream version 7.2.0
991948
Igor Gnatenko 5cf688
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 7.0.4-5
Igor Gnatenko 5cf688
- Rebuild for readline 7.x
Igor Gnatenko 5cf688
536355
* Sun Jan 01 2017 Volker Froehlich <volker27@gmx.at> - 7.0.4-4
536355
- Rebuild for libgeos
536355
Orion Poplawski c4647f
* Fri Oct 7 2016 Orion Poplawski <orion@cora.nwra.com> - 7.0.4-3
Orion Poplawski c4647f
- Add patch to fix desktop file
Orion Poplawski c4647f
- Validate desktop and appdata files
Orion Poplawski c4647f
- Fix script interpreters
Orion Poplawski c4647f
- Convert files to UTF-8 if needed
Orion Poplawski c4647f
Orion Poplawski 107c2f
* Wed Sep 21 2016 Orion Poplawski <orion@cora.nwra.com> - 7.0.4-2
Orion Poplawski 107c2f
- Generate rpm macro file for version tracking
Orion Poplawski 107c2f
797d73
* Mon May 9 2016 Devrim Gündüz <devrim@gunduz.org> - 7.0.4-1
797d73
- Update to 7.0.4
797d73
9b1a14
* Mon Mar 07 2016 Thomas Kreuzer <thomas.kreuzer@uni-vechta.de> - 7.0.3-1
9b1a14
- New SPEC file for GRASS GIS 7.0.3
a4a605
Richard Hughes 4c8bba
* Tue Sep 23 2014 Richard Hughes <richard@hughsie.com> - 6.4.4-5
Richard Hughes 4c8bba
- Install the shipped AppData file
Richard Hughes 4c8bba
9b1a14
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4.4-3
fbf4ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
fbf4ed
9b1a14
* Sat Aug 09 2014 Ralf Corsépius <corsepius@fedoraproject.org> 6.4.4-2
741732
- Rebase patches against grass-6.4.4.
741732
- Convert -Werror=format-security into warnings (RHBZ#1106720).
741732
- Minor spec cleanup.
741732
9b1a14
* Fri Jul 25 2014 Peter Robinson <pbrobinson@fedoraproject.org> 6.4.4-1
791e34
- Update to 6.4.4
791e34
- Make 64bit conditionals generic
791e34
20049f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4.3-8
20049f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
20049f
887b50
* Wed May 21 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 6.4.3-7
887b50
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86
887b50
be1998
* Thu Mar 27 2014 Ville Skyttä <ville.skytta@iki.fi> - 6.4.3-6
be1998
- Don't ship patch backup files
be1998
c946a1
* Mon Oct 14 2013 Volker Fröhlich <volker27@gmx.at> - 6.4.3-5
c946a1
- Solve build failure on PPC tests (BZ#961838)
c946a1
afc37f
* Wed Oct 9 2013 Devrim Gündüz <devrim@gunduz.org> - 6.4.3-4
afc37f
- Rebuild against new GEOS
afc37f
10aa66
* Thu Oct  3 2013 Volker Fröhlich <volker27@gmx.at> - 6.4.3-3
10aa66
- Add patch for release name encoding crash
d73297
- Use upstream desktop file (BZ #986852)
d73297
- Install icons of different sizes
10aa66
f844c2
* Sat Sep 14 2013 Volker Fröhlich <volker27@gmx.at> - 6.4.3-2
d8873d
- Remove gcc patch (upstream)
d8873d
- Remove useless BR for libjpeg
a91ece
- Make config.h a source file instead of defining it in the spec file
d8873d
- Truncate changelog
d8873d
75f352
* Thu Sep 12 2013 Devrim GÜNDÜZ <devrim@gunduz.org> - 6.4.3-1
75f352
- Update to 6.4.3
75f352
- Rebuild with new geos.
75f352
3eb945
* Tue Aug 27 2013 Orion Poplawski <orion@cora.nwra.com> - 6.4.2-11
3eb945
- Rebuild for gdal 1.10.0
3eb945
054219
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4.2-10
054219
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
054219
d88179
* Fri Apr 12 2013 Jon Ciesla <limburgher@gmail.com> - 6.4.2-9
d88179
- Drop desktop vendor tag.
d88179
4e11a3
* Wed Mar 06 2013 Devrim GÜNDÜZ <devrim@gunduz.org> - 6.4.2-8
4e11a3
- Rebuild with new geos.
4e11a3
ccf233
* Fri Jan 25 2013 Devrim GÜNDÜZ <devrim@gunduz.org> - 6.4.2-7
ccf233
- Rebuild with geos 3.3.7.
ccf233
a51749
* Sun Nov 18 2012 Volker Fröhlich <volker27@gmx.at> - 6.4.2-6
a51749
- Rebuild with ever newer geos
a51749
87feb0
* Wed Nov 14 2012 Devrim GÜNDÜZ <devrim@gunduz.org> - 6.4.2-5
87feb0
- Rebuild with new geos.
87feb0
629a4c
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4.2-4
629a4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
629a4c
9935d6
* Mon Jul 16 2012 Devrim GÜNDÜZ <devrim@gunduz.org> - 6.4.2-3
9935d6
- Rebuilt
9935d6
0b2a31
* Sun Mar  4 2012 Volker Fröhlich <volker27@gmx.at> - 6.4.2-2
0b2a31
- Solve name conflict with "parallel" man pages (BZ 797824)
0b2a31
- Correct man page encoding conversion
0b2a31
- Build with multiple workers; assumuption on race-condition was wrong
0b2a31
a9af5f
* Fri Mar  2 2012 Tom Callaway <spot@fedoraproject.org> - 6.4.2-1
a9af5f
- update to 6.4.2
a9af5f
9f492b
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4.1-8
9f492b
- Rebuilt for c++ ABI breakage
9f492b
aa71c7
* Tue Jan 10 2012 Volker Fröhlich <volker27@gmx.at> - 6.4.1-7
aa71c7
- Race condition in build system assumed -- going back to one worker
aa71c7
0af904
* Mon Jan 9 2012 Devrim GÜNDÜZ <devrim@gunduz.org> - 6.4.1-6
0af904
- Rebuilt with new geos
0af904
fbffd0
* Wed Nov 23 2011 Volker Fröhlich <volker27@gmx.at> - 6.4.1-5
2cf3b7
- Move string substitution back to the install section, because
2cf3b7
  it causes problems otherwise
fbffd0
- Add patch for libpng API change
2cf3b7
357b52
* Wed Nov 02 2011 Volker Fröhlich <volker27@gmx.at> - 6.4.1-4
357b52
- Remove encoding from desktop file
357b52
- Remove BR on wxGTK, because wxGTK requires it anyway
357b52
- Disable Ubuntu patches, because they don't seem to work in Fedora
357b52
- Move all the string substitution for locales and docs to prep
357b52
- Use name macro in Source
357b52
- Drop custom compiler flags -- no evidence they serve a purpose
357b52
- Remove 2 unnecessary chmods
357b52
- Don't use sysconfdir macro in places, where etc means something different
357b52
- Add contributors to documentation
357b52
357b52
* Wed Nov 02 2011 Volker Fröhlich <volker27@gmx.at> - 6.4.1-3
357b52
- Patch locale and documentation paths properly for the GUI
357b52
4829ea
* Thu Sep 22 2011 Volker Fröhlich <volker27@gmx.at> - 6.4.1-2
357b52
- Remove duplicate documentation
357b52
- Correct further documentation paths
357b52
- Create version-less symlinks for library directory and binary
357b52
- Supply all lang files to the files section directly
357b52
- Add ternary operator patch for Python 2.4 (ELGIS)
357b52
c0b315
* Tue Aug 02 2011 Volker Fröhlich <volker27@gmx.at> - 6.4.1-1
c0b315
- Update to 6.4.1
c0b315
- Remove explicit lib and include dirs, where not necessary
c0b315
- Really build with geos
c0b315
- Remove sed call on ncurses
c0b315
b2d924
* Tue Aug 02 2011 Volker Fröhlich <volker27@gmx.at> - 6.4.0-4
b2d924
- Correct license to GPLv2+
b2d924
- Update URL
b2d924
- Replace define with global macro
b2d924
- Devel package required itself
b2d924
- Simplify setup macro
b2d924
- Don't add -lm manually anymore
b2d924
- Correct FSF postal address
b2d924
- Drop cstdio patch
b2d924
- Correct Exec and Icon entry in desktop file
b2d924
- Remove wrong and unnecessary translation entries from desktop file
b2d924
  GRASS didn't start for the first issue
b2d924
- Add numpy as requirement
b2d924
- Delete defattr, as the defaults work right
b2d924
- Use name macro where possible
b2d924
- Devel package required itself
b2d924
- Changelog doesn't need encoding conversion anymore
b2d924
  Same goes for translators and infrastructure files
b2d924
- Use mandir macro on one occasion
b2d924
- Introduce "shortversion" macro
b2d924
- Beautify case construction for 64 bit build flags
b2d924
- Update syntax for Require on base package to guidelines
b2d924
- Don't list LOCALE files twice, own directory
b2d924
- Don't ship same documentation in different packages
b2d924
- Drop README
b2d924
- Simplify file list in devel package
b2d924
- Replace extra icon source with one from the tarball
b2d924
1ae25a
* Wed Mar 23 2011 Dan Horák <dan@danny.cz> - 6.4.0-3
1ae25a
- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)
1ae25a
ed6445
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4.0-2
ed6445
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ed6445
Viji V Nair f3f0ca
* Mon Nov 22 2010 Viji Nair <viji [at]="" fedoraproject="" dot="" org=""> - 6.4.0-1
Viji V Nair f3f0ca
- Rebuilt with new gdal 1.7.3.
Viji V Nair f3f0ca
- Updated to upstream version 6.4.0.
Viji V Nair f3f0ca
- Removed grass-gdilib.patch
Viji V Nair f3f0ca
- Spec review
63aa8b
320595
* Fri Dec 4 2009 Devrim GÜNDÜZ <devrim@gunduz.org> - 6.3.0-15
320595
- Rebuilt with new geos
320595
55f4a1
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 6.3.0-14
55f4a1
- rebuilt with new openssl
55f4a1
73e4c7
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3.0-13
73e4c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
73e4c7
276ed7
* Mon Mar 23 2009 Lubomir Rintel <lkundrak@v3.sk> - 6.3.0-12
276ed7
- Fix build with GCC 4.4
276ed7
3ddaff
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3.0-11
3ddaff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3ddaff
Balint Cristian a7f53f
* Thu Jan 29 2009 Balint Cristian <cristian.balint@gmail.com> - 6.3.0-10
Balint Cristian 4a1188
- email change
Balint Cristian 4a1188
- rebuild for new mysql
Balint Cristian 4a1188
Balint Cristian 624732
* Sun Dec 07 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-9
Balint Cristian 624732
- rebuild against newer gdal
Balint Cristian 624732
Balint Cristian 627b3e
* Sun Dec 07 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-8
Balint Cristian 627b3e
- rebuild against newer gdal
Balint Cristian 627b3e
2e05be
* Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 6.3.0-7
2e05be
- Rebuild for Python 2.6
2e05be
4829ea
* Sun Aug 24 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-6
Balint Cristian 4d8a96
- bz#458427 (prelink fail)
Balint Cristian 4d8a96
- bz#458563 (grass not able to display documentation)
Balint Cristian 4d8a96
Balint Cristian 6f9dd3
* Sat Jul 05 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-5
Balint Cristian 6f9dd3
- address bz#454146 (wxPython miss)
Balint Cristian 6f9dd3
Balint Cristian 9d89a6
* Thu Jun 12 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-4
Balint Cristian 9d89a6
- address bz#341391 (multilib issue)
Balint Cristian 9d89a6
4829ea
* Mon May 26 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-3
Balint Cristian 315f9a
- bugfix initscripts permission
Balint Cristian 315f9a
Balint Cristian 315f9a
* Thu May 15 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-2
Balint Cristian 315f9a
- require swig to build
Balint Cristian 315f9a
Balint Cristian 315f9a
* Thu May 15 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-1
Balint Cristian 315f9a
- final stable release upstream