swt2c / rpms / grass

Forked from rpms/grass 5 years ago
Clone
357b526
#TODO: Create ticket on "shared lib calls exit"
357b526
#TODO: Create a ticket on FHS violation
357b526
#TODO: Should the manpages be called foo.1grass, like in Ubuntu?
357b526
#TODO: The manpages are created from HTML with a parser, that is
357b526
# included. It has some flaws, see:
357b526
# https://trac.osgeo.org/grass/ticket/612
357b526
#TODO: Add Module Makefile for developers?
357b526
#TODO: xml-etree?
357b526
#TODO: Consider to drop the separate libs packages, like Debian did
357b526
#TODO: Review the pkgconf file
357b526
# Ubuntu doesn't have the Requires line in the pkgconfig file
357b526
## Ubuntu's gdal-grass is called libgdal1-1.7.0-grass
357b526
#TODO: Consider a documentation sub-package
357b526
357b526
# All EPEL 5 specific elements are left inside to make life easier for ELGIS
357b526
b2d9249
%global shortversion 64
b2d9249
b2d9249
%ifarch x86_64 ia64 ppc64 s390x sparc64 alpha 
b2d9249
%global configure_64_bit --enable-64bit
b2d9249
%endif
b2d9249
%ifarch sparcv9 sparc64
b2d9249
%global configure_64_bit --enable-64bit-vis
b2d9249
%endif
b2d9249
Balint Cristian 3f92e14
Name:      grass
a9af5f3
Version:   6.4.2
a9af5f3
Release:   1%{?dist}
Balint Cristian 3f92e14
Summary:   GRASS - Geographic Resources Analysis Support System
Balint Cristian 3f92e14
Group:     Applications/Engineering
b2d9249
License:   GPLv2+
b2d9249
URL:       http://grass.fbk.eu
357b526
Source0:   http://grass.fbk.eu/%{name}%{shortversion}/source/%{name}-%{version}.tar.gz
b2d9249
Source1:   %{name}.desktop
b2d9249
Patch0:    %{name}-pkgconf.patch
357b526
357b526
# Warning: This patch contains the GRASS version number
b2d9249
Patch1:    %{name}-shlib-soname.patch
357b526
a9af5f3
Patch2:    %{name}-6.4.2-docfiles.patch
357b526
a9af5f3
# Backport from http://trac.osgeo.org/grass/changeset/50130
a9af5f3
Patch3:    %{name}-6.4.2-gcc47.patch
fbffd08
Balint Cristian 3f92e14
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
357b526
Balint Cristian 6f9dd32
Requires:  proj-nad proj-epsg wxPython
357b526
Requires:  wxGTK-gl
b2d9249
Requires:  numpy
Balint Cristian 3f92e14
357b526
BuildRequires:  bison
357b526
BuildRequires:  blas-devel
357b526
BuildRequires:  cairo-devel
357b526
BuildRequires:  desktop-file-utils
357b526
BuildRequires:  doxygen
357b526
BuildRequires:  fftw2-devel
357b526
BuildRequires:  flex
357b526
BuildRequires:  freetype-devel
357b526
BuildRequires:  gdal-devel
357b526
BuildRequires:  geos-devel
Balint Cristian 3f92e14
BuildRequires:  gettext
357b526
BuildRequires:  lapack-devel
357b526
BuildRequires:  lesstif-devel
357b526
BuildRequires:  libjpeg-devel
357b526
BuildRequires:  libpng-devel
357b526
BuildRequires:  libtiff-devel
357b526
BuildRequires:  libXmu-devel
357b526
BuildRequires:  mesa-libGLU-devel
357b526
BuildRequires:  mesa-libGLw-devel
357b526
BuildRequires:  mysql-devel
357b526
BuildRequires:  ncurses-devel
357b526
BuildRequires:  pkgconfig
357b526
BuildRequires:  postgresql-devel
357b526
BuildRequires:  proj-devel  
357b526
357b526
#TODO: Really BR?
357b526
BuildRequires:  proj-epsg
357b526
BuildRequires:  proj-nad
357b526
Balint Cristian c07e757
BuildRequires:  python-devel
357b526
BuildRequires:  readline-devel
357b526
BuildRequires:  sqlite-devel
357b526
BuildRequires:  swig
357b526
BuildRequires:  tk-devel 
357b526
BuildRequires:  unixODBC-devel
357b526
BuildRequires:  wxGTK-devel
357b526
BuildRequires:  wxPython-devel
357b526
BuildRequires:  zlib-devel
357b526
357b526
# We have multi-lib triage
Balint Cristian 9d89a6b
%if "%{_lib}" == "lib"
b2d9249
%global cpuarch 32
Balint Cristian 9d89a6b
%else
b2d9249
%global cpuarch 64
Balint Cristian 9d89a6b
%endif
Balint Cristian 9d89a6b
Balint Cristian 3f92e14
%description
Balint Cristian 3f92e14
GRASS (Geographic Resources Analysis Support System) is a Geographic
Balint Cristian 3f92e14
Information System (GIS) used for geospatial data management and
Balint Cristian 3f92e14
analysis, image processing, graphics/maps production, spatial
Balint Cristian 3f92e14
modeling, and visualization. GRASS is currently used in academic and
Balint Cristian 3f92e14
commercial settings around the world, as well as by many governmental
Balint Cristian 3f92e14
agencies and environmental consulting companies.
Balint Cristian 3f92e14
Balint Cristian 3f92e14
%package libs
Balint Cristian 3f92e14
Summary: GRASS (Geographic Resources Analysis Support System) runtime libraries
Balint Cristian 3f92e14
Group: Applications/Engineering
Balint Cristian 3f92e14
Balint Cristian 3f92e14
%description libs
Balint Cristian 3f92e14
GRASS (Geographic Resources Analysis Support System) runtime libraries.
Balint Cristian 3f92e14
Balint Cristian 3f92e14
%package devel
Balint Cristian 3f92e14
Summary: GRASS (Geographic Resources Analysis Support System) development headers
Balint Cristian 3f92e14
Group: Applications/Engineering
b2d9249
Requires: %{name}%{?isa}-libs = %{version}-%{release}
357b526
357b526
# Can be removed after EOL of EPEL5
Balint Cristian 3f92e14
Requires: pkgconfig
357b526
b2d9249
Requires: lesstif-devel wxPython-devel
Balint Cristian 3f92e14
Requires: mesa-libGL-devel libX11-devel libXt-devel
Balint Cristian 3f92e14
Requires: gdal-devel proj-devel xorg-x11-proto-devel
Balint Cristian 3f92e14
Balint Cristian 3f92e14
%description devel
Balint Cristian 3f92e14
GRASS (Geographic Resources Analysis Support System) development headers.
Balint Cristian 3f92e14
b2d9249
Balint Cristian 3f92e14
%prep
b2d9249
%setup -q
357b526
%patch0 -p0 -b .pkgconf
a9af5f3
%patch1 -p1 -b .shlibver
357b526
%patch2 -p1 -b .docfiles
a9af5f3
%patch3 -p1 -b .gcc47
357b526
357b526
# Correct mysql_config query
Balint Cristian 3f92e14
sed -i 's|--libmysqld-libs|--libs|g' configure
Balint Cristian 3f92e14
357b526
# Preserve timestamp during install process
357b526
# TODO: Ticket?
Balint Cristian 3f92e14
sed -i 's|^cp |cp -p |' tools/build_html_index.sh
Balint Cristian 3f92e14
sed -i 's|-cp |-cp -p |' Makefile
Balint Cristian 3f92e14
357b526
# Update FSF addresses of different age
b2d9249
# https://trac.osgeo.org/grass/ticket/1422
b2d9249
# Already fixed for next version!
b2d9249
for f in `find . -name *.h -o -name *.c -o -name *.rtf` ; do
357b526
  sed -i -e 's/\(59 Temple Place.*Suite 330\|675 Mass Ave\)/51 Franklin Street, Fifth Floor/' \
357b526
      -e 's/\(Boston, MA.*02111-1307\|Cambridge, MA 02139\)/Boston,  MA 02110-1301/' $f
b2d9249
done
b2d9249
for f in `find lib/vector/dglib -type f` ; do
b2d9249
  sed -i -e 's/02111-1307/02110-1301/' $f
Balint Cristian 8c45547
done
Balint Cristian 8c45547
357b526
# EOL wrong
357b526
sed -i -e 's|\r||g' gui/icons/%{name}/vdigit/box.xbm
357b526
Balint Cristian 3f92e14
357b526
%build
357b526
# Keep timestamp over install section
357b526
#TODO: Necessary?
Balint Cristian 3f92e14
export INSTALL="%{__install} -c -p"
Balint Cristian 3f92e14
Balint Cristian 3f92e14
%configure \
c0b3154
   --enable-largefile \
Balint Cristian 3f92e14
   --enable-shared \
Balint Cristian 3f92e14
   --with-blas \
c0b3154
   --with-cairo \
c0b3154
   --with-cxx \
Balint Cristian 3f92e14
   --with-fftw \
c0b3154
   --with-freetype-includes=%{_includedir}/freetype2 \
c0b3154
   --with-freetype=yes \
Balint Cristian 3f92e14
   --with-gdal \
c0b3154
   --with-geos \
c0b3154
   --with-glw \
c0b3154
   --with-lapack \
c0b3154
   --with-motif \
Balint Cristian 3f92e14
   --with-mysql \
Balint Cristian 3f92e14
   --with-mysql-includes=%{_includedir}/mysql \
Balint Cristian 3f92e14
   --with-mysql-libs=%{_libdir}/mysql \
c0b3154
   --with-nls \
c0b3154
   --with-odbc \
Balint Cristian 3f92e14
   --with-opengl \
c0b3154
   --with-postgres  \
c0b3154
   --with-proj \
c0b3154
   --with-proj-share=%{_datadir}/proj \
Viji V Nair f3f0caa
   --with-python \
c0b3154
   --with-readline \
c0b3154
   --with-sqlite \
c0b3154
   --with-wxwidgets=wx-config \
c0b3154
   --with-x \
b2d9249
   %{configure_64_bit}
Balint Cristian 3f92e14
b050c47
make %{?_smp_mflags}
aa71c74
# Race condition shows up again in 6.4.1
b050c47
#make
Balint Cristian 3f92e14
Balint Cristian 3f92e14
%install
Balint Cristian 3f92e14
rm -rf %{buildroot}
Balint Cristian 3f92e14
Balint Cristian 3f92e14
# make install
Balint Cristian 3f92e14
make prefix=%{buildroot}%{_prefix} BINDIR=%{buildroot}%{_bindir} \
357b526
    PREFIX=%{buildroot}%{_prefix} install
357b526
357b526
# Change GISBASE in startup script to point to systems %{_libdir}/%{name}-%{version}
357b526
#TODO: Still necessary?
357b526
sed -i -e "1,\$s&^GISBASE.*&GISBASE=%{_libdir}/%{name}-%{version}&"  \
357b526
    %{buildroot}%{_bindir}/%{name}%{shortversion}
Balint Cristian 3f92e14
2cf3b76
# Sadly, parts of the following can't be done safely in prep,
2cf3b76
# hence they're done here
2cf3b76
# Replace GISBASE environment variable with paths that match our documentation file layout
2cf3b76
sed -i -e 's|$env(GISBASE)/docs/|%{_docdir}/%{name}-%{version}/docs/|' \
2cf3b76
    %{buildroot}%{_prefix}/%{name}-%{version}/etc/gis_set.tcl \
2cf3b76
    %{buildroot}%{_prefix}/%{name}-%{version}/etc/gui.tcl \
2cf3b76
    %{buildroot}%{_prefix}/%{name}-%{version}/etc/nviz2.2/scripts/nviz2.2_script
2cf3b76
sed -i -e 's|C_BASE="$GISBASE"|C_BASE=\"%{_docdir}/%{name}-%{version}/docs"|g' \
2cf3b76
    %{buildroot}%{_prefix}/%{name}-%{version}/scripts/g.manual
2cf3b76
sed -i -e 's|%{name}-%{version}/docs|%{name}-%{version}|g' \
2cf3b76
    %{buildroot}%{_prefix}/%{name}-%{version}/scripts/g.manual
2cf3b76
sed -i -e 's|(\"GISBASE\"), \"docs\", \"html\", \"icons\", \"silk\")|(\"GISBASE\"), \"icons\", \"silk\")|g' \
2cf3b76
    %{buildroot}%{_prefix}/%{name}-%{version}/etc/wxpython/icons/icon.py
2cf3b76
sed -i -e 's|self.fspath = os.path.join(gisbase|self.fspath = os.path.join("%{_docdir}/%{name}-%{version}\"|' \
2cf3b76
    %{buildroot}%{_prefix}/%{name}-%{version}/etc/wxpython/gui_modules/ghelp.py
2cf3b76
sed -i 's|file://$env(GISBASE)|file://%{_docdir}/%{name}-%{version}|' %{buildroot}%{_prefix}/%{name}-%{version}/etc/r.li.setup/r.li.setup.main
2cf3b76
sed -i 's|GRASS_DOC_BASE=`check_docbase "$GISBASE"`|GRASS_DOC_BASE=%{_docdir}/%{name}-%{version}|' %{buildroot}%{_prefix}/%{name}-%{version}/scripts/g.manual
2cf3b76
2cf3b76
# Exceptional path for files used in the GUI as well
2cf3b76
#TODO: Could include them in the main package too
2cf3b76
sed -i -e 's|os\.getenv("GISBASE")|\"%{_docdir}/%{name}-libs-%{version}\"|' \
2cf3b76
    %{buildroot}%{_prefix}/%{name}-%{version}/etc/wxpython/gui_modules/ghelp.py
2cf3b76
2cf3b76
#TODO: Quotes and linebreaks in sed calls
2cf3b76
# Replace GISBASE environment variable with paths that match our locale file layout
2cf3b76
sed -i -e 's|os.path.join(os.getenv("GISBASE"), '\''locale'\''|os.path.join('\''%{_datadir}'\'', '\''locale'\''|' -e 's|os.path.join(os.getenv("GISBASE"), "etc"|os.path.join(\"%{_libdir}/%{name}-%{version}\", "etc"|' -e 's|self.gisbase  = os.getenv("GISBASE")|self.gisbase = "%{_docdir}/%{name}-%{version}"|' %{buildroot}%{_prefix}/%{name}-%{version}/etc/wxpython/gui_modules/*.py %{buildroot}%{_prefix}/%{name}-%{version}/etc/wxpython/*.py %{buildroot}%{_prefix}/%{name}-%{version}/etc/wxpython/scripts/vkrige %{buildroot}%{_prefix}/%{name}-%{version}/etc/python/grass/script/*.py
Balint Cristian 3f92e14
357b526
# Make grass headers and libraries available on the system
357b526
mv %{buildroot}%{_prefix}/%{name}-%{version}/lib/ %{buildroot}%{_libdir}
b2d9249
mv %{buildroot}%{_prefix}/%{name}-%{version}/include %{buildroot}%{_prefix}/
Balint Cristian 8c45547
rm -rf %{buildroot}%{_includedir}/Make
Balint Cristian 3f92e14
357b526
# Create universal multilib header bz#341391
Balint Cristian 9d89a6b
install -p -m 644 %{buildroot}%{_includedir}/%{name}/config.h \
Balint Cristian 9d89a6b
           %{buildroot}%{_includedir}/%{name}/config-%{cpuarch}.h
Balint Cristian 9d89a6b
Balint Cristian 9d89a6b
cat > %{buildroot}%{_includedir}/%{name}/config.h <
Balint Cristian 9d89a6b
#include <bits/wordsize.h>
Balint Cristian 9d89a6b
Balint Cristian 9d89a6b
#if __WORDSIZE == 32
Balint Cristian 9d89a6b
#include "grass/config-32.h"
Balint Cristian 9d89a6b
#else
Balint Cristian 9d89a6b
#if __WORDSIZE == 64
Balint Cristian 9d89a6b
#include "grass/config-64.h"
Balint Cristian 9d89a6b
#else
Balint Cristian 9d89a6b
#error "Unknown word size"
Balint Cristian 9d89a6b
#endif
Balint Cristian 9d89a6b
#endif
Balint Cristian 9d89a6b
EOF
Balint Cristian 9d89a6b
touch -r ChangeLog_%{version}.gz %{buildroot}%{_includedir}/%{name}/config.h
Balint Cristian 9d89a6b
touch -r ChangeLog_%{version}.gz %{buildroot}%{_includedir}/%{name}/config-%{cpuarch}.h
Balint Cristian 9d89a6b
357b526
#TODO: Do we still need this?
357b526
# Fix prelink issue bz#458427
Balint Cristian 4d8a960
mkdir -p %{buildroot}%{_sysconfdir}/prelink.conf.d
Balint Cristian 4d8a960
cat > %{buildroot}%{_sysconfdir}/prelink.conf.d/%{name}-%{cpuarch}.conf <
Viji V Nair f3f0caa
-b %{_libdir}/libgrass_gproj.so.6.4.0
Viji V Nair f3f0caa
-b %{_libdir}/libgrass_sim.so.6.4
Balint Cristian 4d8a960
EOF
Balint Cristian 4d8a960
357b526
# Make man pages available on system, convert to utf8
b2d9249
pushd %{buildroot}%{_prefix}/%{name}-%{version}/man/
Viji V Nair f3f0caa
for manpage in `find  man1 -type f` ; do
Viji V Nair f3f0caa
   iconv -f iso88592 -t utf8 \
Viji V Nair f3f0caa
        $manpage > $manpage.tmp
Viji V Nair f3f0caa
        mv -f $manpage.tmp $manpage
Balint Cristian 3f92e14
done
Viji V Nair f3f0caa
popd
b2d9249
mkdir -p %{buildroot}%{_mandir}
b2d9249
mv %{buildroot}%{_prefix}/%{name}-%{version}/man/* %{buildroot}%{_mandir}
b2d9249
rm -rf %{buildroot}%{_prefix}/%{name}-%{version}/man
b2d9249
357b526
# Make locales available on system, correct case for pt_br locale
Balint Cristian 3f92e14
mkdir -p %{buildroot}%{_datadir}/locale/
b2d9249
mv %{buildroot}%{_prefix}/%{name}-%{version}/locale %{buildroot}%{_datadir}/
Balint Cristian 3f92e14
mv %{buildroot}%{_datadir}/locale/pt_br %{buildroot}%{_datadir}/locale/pt_BR
Balint Cristian 3f92e14
b2d9249
%find_lang %{name}mods
b2d9249
%find_lang %{name}libs
b2d9249
%find_lang %{name}wxpy
Balint Cristian 3f92e14
357b526
# Install pkg-config file
Balint Cristian 3f92e14
mkdir -p %{buildroot}%{_libdir}/pkgconfig
b2d9249
install -p -m 644 %{name}.pc %{buildroot}%{_libdir}/pkgconfig/
Balint Cristian 3f92e14
357b526
# Install desktop file and icon
Balint Cristian 3f92e14
mkdir  %{buildroot}%{_datadir}/pixmaps/
b2d9249
install -p -m 644 tools/%{name}_logo.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
Balint Cristian 3f92e14
desktop-file-install --vendor="fedora" \
Balint Cristian 3f92e14
        --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
Balint Cristian 3f92e14
b2d9249
# Correct permissions
357b526
#TODO: Still necessary? If so, create a ticket and/or change in prep
357b526
#TODO: Why are the permissions right in Ubuntu?
Balint Cristian 3f92e14
find %{buildroot} -name "*.tcl" -exec chmod +r-x '{}' \;
357b526
chmod +x %{buildroot}%{_prefix}/%{name}-%{version}/etc/wxpython/gui_modules/menuform.py
357b526
chmod -x %{buildroot}%{_prefix}/%{name}-%{version}/etc/nviz2.2/scripts/configIndex
357b526
chmod -x %{buildroot}%{_prefix}/%{name}-%{version}/etc/nviz2.2/scripts/nviz_params
357b526
chmod -x %{buildroot}%{_prefix}/%{name}-%{version}/etc/nviz2.2/scripts/tclIndex
357b526
chmod -x %{buildroot}%{_prefix}/%{name}-%{version}/etc/nviz2.2/scripts/panelIndex
357b526
chmod +x %{buildroot}%{_prefix}/%{name}-%{version}/etc/g.mapsets.tcl
357b526
chmod +x %{buildroot}%{_prefix}/%{name}-%{version}/etc/dm/tksys.tcl
357b526
chmod +x %{buildroot}%{_prefix}/%{name}-%{version}/etc/gm/tksys.tcl
357b526
chmod +x %{buildroot}%{_prefix}/%{name}-%{version}/etc/gm/animate.tcl
357b526
357b526
# fixup few nviz script header, it will anyway always be executed by nviz
Balint Cristian 3f92e14
for nviz in {script_play,nviz2.2_script,script_tools,script_file_tools,script_get_line}; do
357b526
 cat %{buildroot}%{_prefix}/%{name}-%{version}/etc/nviz2.2/scripts/$nviz \
357b526
  | grep -v '#!nviz' > %{buildroot}%{_prefix}/%{name}-%{version}/etc/nviz2.2/scripts/$nviz.tmp 
357b526
 mv  %{buildroot}%{_prefix}/%{name}-%{version}/etc/nviz2.2/scripts/$nviz.tmp \
357b526
     %{buildroot}%{_prefix}/%{name}-%{version}/etc/nviz2.2/scripts/$nviz
Balint Cristian 3f92e14
done
Balint Cristian 3f92e14
357b526
# Move icon folder in GISBASE and set its path to be FHS compliant
b2d9249
mv %{buildroot}%{_prefix}/%{name}-%{version}/docs/html/icons %{buildroot}%{_prefix}/%{name}-%{version}/
Balint Cristian 4d8a960
357b526
# Switch to the system wide docs, to be FHS compliant
Balint Cristian 315f9ad
rm -rf %{buildroot}%{_prefix}/%{name}-%{version}/docs
Balint Cristian 3f92e14
357b526
# Hide GISBASE into system's %{_libdir} instead, to be FHS compliant
Balint Cristian 315f9ad
mv %{buildroot}%{_prefix}/%{name}-%{version} %{buildroot}%{_libdir}/
Balint Cristian e52b2af
357b526
# Correct font path
Balint Cristian 315f9ad
sed -i -e 's|%{buildroot}%{_prefix}/%{name}-%{version}|%{_libdir}/%{name}-%{version}|' \
Balint Cristian 315f9ad
%{buildroot}%{_libdir}/%{name}-%{version}/etc/fontcap
Balint Cristian e52b2af
357b526
# Create versionless symlinks for binary and libdir
357b526
# The libdir symlink is handy for QGIS. QGIS asks the user for gisbase
357b526
# and then stores it. See BZ 711860
357b526
# The binary symlink keeps us from updating the desktop file
357b526
# Ubuntu does it the same way
357b526
ln -s %{_bindir}/%{name}%{shortversion} %{buildroot}%{_bindir}/%{name}
357b526
ln -s %{_libdir}/%{name}-%{version} %{buildroot}%{_libdir}/%{name}
b2d9249
Balint Cristian 3f92e14
%clean
Balint Cristian 3f92e14
rm -rf %{buildroot}
Balint Cristian 3f92e14
Balint Cristian 3f92e14
%post libs -p /sbin/ldconfig
Balint Cristian 3f92e14
%postun libs -p /sbin/ldconfig
Balint Cristian 3f92e14
357b526
%files -f %{name}mods.lang -f %{name}libs.lang -f %{name}wxpy.lang
357b526
%doc dist.*/docs
Balint Cristian 4d8a960
%{_sysconfdir}/prelink.conf.d/%{name}-%{cpuarch}.conf
357b526
%{_bindir}/%{name}
b2d9249
%{_bindir}/%{name}%{shortversion}
b2d9249
%{_bindir}/gem%{shortversion}
Balint Cristian 315f9ad
%dir %{_libdir}/%{name}-%{version}
Viji V Nair f3f0caa
%exclude %{_libdir}/%{name}-%{version}/etc/*.table
Viji V Nair f3f0caa
%exclude %{_libdir}/%{name}-%{version}/driver/db/*
Balint Cristian 315f9ad
%{_libdir}/%{name}-%{version}/*
b2d9249
%{_datadir}/applications/fedora-%{name}.desktop
b2d9249
%{_datadir}/pixmaps/%{name}.png
b2d9249
%dir %{_datadir}/locale/*/LC_MESSAGES
Balint Cristian 3f92e14
%{_mandir}/man1/*
Balint Cristian 3f92e14
Balint Cristian 3f92e14
%files libs
357b526
%doc AUTHORS COPYING GPL.TXT CHANGES ChangeLog_%{version}.gz translators.csv contributors.csv contributors_extra.csv
357b526
%{_libdir}/%{name}
b2d9249
%{_libdir}/lib%{name}_*.so.*
Viji V Nair f3f0caa
%{_libdir}/%{name}-%{version}/etc/*.table
Viji V Nair f3f0caa
%{_libdir}/%{name}-%{version}/driver/db/*
Balint Cristian 3f92e14
Balint Cristian 3f92e14
%files devel
357b526
%doc TODO doc SUBMITTING*
b2d9249
%exclude %{_libdir}/lib%{name}_*.a
Balint Cristian 3f92e14
%{_libdir}/pkgconfig/%{name}.pc
b2d9249
%{_includedir}/%{name}
b2d9249
%{_libdir}/lib%{name}_*.so
Balint Cristian 3f92e14
c0b3154
Balint Cristian 3f92e14
%changelog
a9af5f3
* Fri Mar  2 2012 Tom Callaway <spot@fedoraproject.org> - 6.4.2-1
a9af5f3
- update to 6.4.2
a9af5f3
9f492b2
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4.1-8
9f492b2
- Rebuilt for c++ ABI breakage
9f492b2
aa71c74
* Tue Jan 10 2012 Volker Fröhlich <volker27@gmx.at> - 6.4.1-7
aa71c74
- Race condition in build system assumed -- going back to one worker
aa71c74
0af9045
* Mon Jan 9 2012 Devrim GÜNDÜZ <devrim@gunduz.org> - 6.4.1-6
0af9045
- Rebuilt with new geos
0af9045
fbffd08
* Wed Nov 23 2011 Volker Fröhlich <volker27@gmx.at> - 6.4.1-5
2cf3b76
- Move string substitution back to the install section, because
2cf3b76
  it causes problems otherwise
fbffd08
- Add patch for libpng API change
2cf3b76
357b526
* Wed Nov 02 2011 Volker Fröhlich <volker27@gmx.at> - 6.4.1-4
357b526
- Remove encoding from desktop file
357b526
- Remove BR on wxGTK, because wxGTK requires it anyway
357b526
- Disable Ubuntu patches, because they don't seem to work in Fedora
357b526
- Move all the string substitution for locales and docs to prep
357b526
- Use name macro in Source
357b526
- Drop custom compiler flags -- no evidence they serve a purpose
357b526
- Remove 2 unnecessary chmods
357b526
- Don't use sysconfdir macro in places, where etc means something different
357b526
- Add contributors to documentation
357b526
357b526
* Wed Nov 02 2011 Volker Fröhlich <volker27@gmx.at> - 6.4.1-3
357b526
- Patch locale and documentation paths properly for the GUI
357b526
357b526
* Tue Sep 22 2011 Volker Fröhlich <volker27@gmx.at> - 6.4.1-2
357b526
- Remove duplicate documentation
357b526
- Correct further documentation paths
357b526
- Create version-less symlinks for library directory and binary
357b526
- Supply all lang files to the files section directly
357b526
- Add ternary operator patch for Python 2.4 (ELGIS)
357b526
c0b3154
* Tue Aug 02 2011 Volker Fröhlich <volker27@gmx.at> - 6.4.1-1
c0b3154
- Update to 6.4.1
c0b3154
- Remove explicit lib and include dirs, where not necessary
c0b3154
- Really build with geos
c0b3154
- Remove sed call on ncurses
c0b3154
b2d9249
* Tue Aug 02 2011 Volker Fröhlich <volker27@gmx.at> - 6.4.0-4
b2d9249
- Correct license to GPLv2+
b2d9249
- Update URL
b2d9249
- Replace define with global macro
b2d9249
- Devel package required itself
b2d9249
- Simplify setup macro
b2d9249
- Don't add -lm manually anymore
b2d9249
- Correct FSF postal address
b2d9249
- Drop cstdio patch
b2d9249
- Correct Exec and Icon entry in desktop file
b2d9249
- Remove wrong and unnecessary translation entries from desktop file
b2d9249
  GRASS didn't start for the first issue
b2d9249
- Add numpy as requirement
b2d9249
- Delete defattr, as the defaults work right
b2d9249
- Use name macro where possible
b2d9249
- Devel package required itself
b2d9249
- Changelog doesn't need encoding conversion anymore
b2d9249
  Same goes for translators and infrastructure files
b2d9249
- Use mandir macro on one occasion
b2d9249
- Introduce "shortversion" macro
b2d9249
- Beautify case construction for 64 bit build flags
b2d9249
- Update syntax for Require on base package to guidelines
b2d9249
- Don't list LOCALE files twice, own directory
b2d9249
- Don't ship same documentation in different packages
b2d9249
- Drop README
b2d9249
- Simplify file list in devel package
b2d9249
- Replace extra icon source with one from the tarball
b2d9249
1ae25a5
* Wed Mar 23 2011 Dan Horák <dan@danny.cz> - 6.4.0-3
1ae25a5
- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)
1ae25a5
ed6445f
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4.0-2
ed6445f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ed6445f
Viji V Nair f3f0caa
* Mon Nov 22 2010 Viji Nair <viji [AT] fedoraproject DOT org> - 6.4.0-1
Viji V Nair f3f0caa
- Rebuilt with new gdal 1.7.3.
Viji V Nair f3f0caa
- Updated to upstream version 6.4.0.
Viji V Nair f3f0caa
- Removed grass-gdilib.patch
Viji V Nair f3f0caa
- Spec review
63aa8be
3205952
* Fri Dec 4 2009 Devrim GÜNDÜZ <devrim@gunduz.org> - 6.3.0-15
3205952
- Rebuilt with new geos
3205952
55f4a1a
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 6.3.0-14
55f4a1a
- rebuilt with new openssl
55f4a1a
73e4c7a
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3.0-13
73e4c7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
73e4c7a
276ed7e
* Mon Mar 23 2009 Lubomir Rintel <lkundrak@v3.sk> - 6.3.0-12
276ed7e
- Fix build with GCC 4.4
276ed7e
3ddafff
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3.0-11
3ddafff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3ddafff
Balint Cristian a7f53f5
* Thu Jan 29 2009 Balint Cristian <cristian.balint@gmail.com> - 6.3.0-10
Balint Cristian 4a1188a
- email change
Balint Cristian 4a1188a
- rebuild for new mysql
Balint Cristian 4a1188a
Balint Cristian 624732c
* Sun Dec 07 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-9
Balint Cristian 624732c
- rebuild against newer gdal
Balint Cristian 624732c
Balint Cristian 627b3ee
* Sun Dec 07 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-8
Balint Cristian 627b3ee
- rebuild against newer gdal
Balint Cristian 627b3ee
2e05bec
* Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 6.3.0-7
2e05bec
- Rebuild for Python 2.6
2e05bec
Balint Cristian 4d8a960
* Sat Aug 24 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-6
Balint Cristian 4d8a960
- bz#458427 (prelink fail)
Balint Cristian 4d8a960
- bz#458563 (grass not able to display documentation)
Balint Cristian 4d8a960
Balint Cristian 6f9dd32
* Sat Jul 05 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-5
Balint Cristian 6f9dd32
- address bz#454146 (wxPython miss)
Balint Cristian 6f9dd32
Balint Cristian 9d89a6b
* Thu Jun 12 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-4
Balint Cristian 9d89a6b
- address bz#341391 (multilib issue)
Balint Cristian 9d89a6b
Balint Cristian 315f9ad
* Mon May 23 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-3
Balint Cristian 315f9ad
- bugfix initscripts permission
Balint Cristian 315f9ad
Balint Cristian 315f9ad
* Thu May 15 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-2
Balint Cristian 315f9ad
- require swig to build
Balint Cristian 315f9ad
Balint Cristian 315f9ad
* Thu May 15 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-1
Balint Cristian 315f9ad
- final stable release upstream
Balint Cristian 315f9ad
Balint Cristian 3644f34
* Thu Mar 27 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-0.4.RC6
Balint Cristian 3644f34
- really rebuild against latest gdal
Balint Cristian 3644f34
Balint Cristian 3644f34
* Thu Mar 27 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-0.2.RC6
Balint Cristian 3644f34
- rebuild against latest gdal
Balint Cristian 3644f34
Balint Cristian c07e757
* Thu Mar 27 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-0.2.RC6
Balint Cristian c07e757
- BuildRequire: python-devel
Balint Cristian c07e757
Balint Cristian 8c45547
* Thu Mar 27 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-0.1.RC6
Balint Cristian 8c45547
- new branch release
Balint Cristian 8c45547
- enable new wxWidgets support
Balint Cristian 8c45547
- set wxpython as default instead of tcltk
b2d9249
- fix missing GDI unavailable on unices
Balint Cristian 8c45547
- smp build is safe now
Balint Cristian 8c45547
- r.terraflow license problem fixed
Balint Cristian 8c45547
- no fedora custom packs anymore, all license clear
Balint Cristian 8c45547
d3e49a7
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 6.2.3-2
d3e49a7
- Autorebuild for GCC 4.3
d3e49a7
bb17f25
* Sat Jan 5 2008 Devrim GUNDUZ <devrim@commandprompt.com> 6.2.3-1
bb17f25
- Update to 6.2.3
bb17f25
fbcc509
* Thu Dec 06 2007 Release Engineering <rel-eng at fedoraproject dot org> - 6.2.2-3
fbcc509
- Rebuild for deps
fbcc509
a176a8d
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 6.2.2-2
a176a8d
- Rebuild for selinux ppc32 issue.
a176a8d
Balint Cristian 9ff69c9
* Wed Jul 25 2007 Balint Cristian <cbalint@redhat.com> 6.2.2-1
Balint Cristian 9ff69c9
- new upstream stable version
Balint Cristian 9ff69c9
Balint Cristian 72e5a30
* Thu Jun 07 2007 Balint Cristian <cbalint@redhat.com> 6.2.2-0.2.RC1
Balint Cristian 72e5a30
- fix version string in desktop file
Balint Cristian 72e5a30
- add RO lang to desktop file
Balint Cristian 72e5a30
- dropped one patch, seems fixed upstream.
Balint Cristian 72e5a30
Balint Cristian 7a4ff60
* Fri Jun 01 2007 Balint Cristian <cbalint@redhat.com> 6.2.2-0.1.RC1
Balint Cristian 7a4ff60
- 6.2.2 rc1 bugfix release
Balint Cristian 7a4ff60
- fix docbase lookup path for g.manual
Balint Cristian 7a4ff60
Balint Cristian 71f6d25
* Sat May 12 2007 Balint Cristian <cbalint@redhat.com> 6.2.1-16
Balint Cristian 71f6d25
- fix koji build for ppc ppc64, dont use _host macro anymore.
Balint Cristian 71f6d25
Balint Cristian 9f32ab6
* Sat May 12 2007 Balint Cristian <cbalint@redhat.com> 6.2.1-15
Balint Cristian 9f32ab6
- rebuild against new gdal
Balint Cristian 9f32ab6
Balint Cristian e52b2af
* Mon Apr 02 2007 Balint Cristian <cbalint@redhat.com> 6.2.1-14
Balint Cristian e52b2af
- remove bogus requirement in grass-libs
Balint Cristian 9f32ab6
- rename gem loader to gem62
Balint Cristian e52b2af
Balint Cristian 3f92e14
* Tue Mar 20 2007 Balint Cristian <cbalint@redhat.com> 6.2.1-13
Balint Cristian 3f92e14
- see README-fedora for license fix in redistributed tarball
Balint Cristian 3f92e14
- r.terraflow plugin removal from -fedora tarball
Balint Cristian 3f92e14
Balint Cristian 3f92e14
* Fri Mar 13 2007 Balint Cristian <cbalint@redhat.com> 6.2.1-12
Balint Cristian 3f92e14
- more spec review
Balint Cristian 3f92e14
Balint Cristian 3f92e14
* Fri Mar 13 2007 Balint Cristian <cbalint@redhat.com> 6.2.1-11
Balint Cristian 3f92e14
- more spec review
Balint Cristian 3f92e14
Balint Cristian 3f92e14
* Fri Mar 13 2007 Balint Cristian <cbalint@redhat.com> 6.2.1-10
Balint Cristian 3f92e14
- more spec review
Balint Cristian 3f92e14
Balint Cristian 3f92e14
* Fri Mar 2 2007 Balint Cristian <cbalint@redhat.com> 6.2.1-9
Balint Cristian 3f92e14
- require missing libjpeg-devel
Balint Cristian 3f92e14
Balint Cristian 3f92e14
* Tue Feb 27 2007 Balint Cristian <cbalint@redhat.com> 6.2.1-8
Balint Cristian 3f92e14
- more buildfixes, should build now in mock for any arches
Balint Cristian 3f92e14
- estetic changes in spec file
Balint Cristian 3f92e14
Balint Cristian 3f92e14
* Sat Feb 25 2007 Balint Cristian <cbalint@redhat.com> 6.2.1-7
Balint Cristian 3f92e14
- fix mock build on any arch.
Balint Cristian 3f92e14
Balint Cristian 3f92e14
* Sat Feb 23 2007 Balint Cristian <cbalint@redhat.com> 6.2.1-6
Balint Cristian 3f92e14
- fix mock build, more spec cleanup.
Balint Cristian 3f92e14
- fix docs lookup from g.manual
Balint Cristian 3f92e14
- disable fedora c flags, ssp break functionality for now.
Balint Cristian 3f92e14
Balint Cristian 3f92e14
* Sat Feb 23 2007 Balint Cristian <cbalint@redhat.com> 6.2.1-5
Balint Cristian 3f92e14
- use macros if posible.
Balint Cristian 3f92e14
Balint Cristian 3f92e14
* Sat Feb 10 2007 Balint Cristian <cbalint@redhat.com> 6.2.1-4
Balint Cristian 3f92e14
- fix more nits in specs
Balint Cristian 3f92e14
- fix require list.
Balint Cristian 3f92e14
Balint Cristian 3f92e14
* Fri Feb 09 2007 Balint Cristian <cbalint@redhat.com> 6.2.1-3
Balint Cristian 3f92e14
- fix more nits in specs
Balint Cristian 3f92e14
Balint Cristian 3f92e14
* Wed Feb 07 2007 Balint Cristian <cbalint@redhat.com> 6.2.1-2
Balint Cristian 3f92e14
- fix nits in specs
Balint Cristian 3f92e14
- disable static libs pack
Balint Cristian 3f92e14
- use macros in file lists if possible.
Balint Cristian 3f92e14
Balint Cristian 3f92e14
* Wed Feb 07 2007 Balint Cristian <cbalint@redhat.com> 6.2.1-1
Balint Cristian 3f92e14
- first build for fedora-extras
b2d9249
- enable all options for packages available in fedora
Balint Cristian 3f92e14
- fix buffer overflow problem during compile with ssp
Balint Cristian 3f92e14
- fix paths in pkconfig file
Balint Cristian 3f92e14
- add desktop icon
Balint Cristian 3f92e14
- relocate lang and man page folders in the right places
Balint Cristian 3f92e14
- sanitize shared library names, fix -soname versioning in libs.
Balint Cristian 3f92e14
- fix some non utf8 manpage
Balint Cristian 3f92e14
- fix pt_BR locale path
Balint Cristian 3f92e14
- fix some nviz script headers
Balint Cristian 3f92e14
- fix exec rights across some scripts, remove exec from tcl scripts
Balint Cristian 3f92e14
- move out GISBASE in lib and fixup script enviroment for this
b5b3822
- switch help-doc to datadir/doc/grass and fixit up in grass paths