Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1132863 Details for
Bug 1195189
Please update GRASS to 7.0.0
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
grass.spec
grass.spec (text/x-matlab), 5.95 KB, created by
Thomas Kreuzer
on 2016-03-03 16:37:28 UTC
(
hide
)
Description:
grass.spec
Filename:
MIME Type:
Creator:
Thomas Kreuzer
Created:
2016-03-03 16:37:28 UTC
Size:
5.95 KB
patch
obsolete
>%global shortver 70 > >Name: grass >Version: 7.0.3 >Release: 1%{?dist} >Summary: GRASS GIS - Geographic Resources Analysis Support System > >Group: Applications/Engineering >License: GPLv2+ >URL: https://grass.osgeo.org >Source0: https://grass.osgeo.org/%{name}%{shortver}/source/%{name}-%{version}.tar.gz > >BuildRequires: bison >BuildRequires: blas-devel >BuildRequires: fftw-devel >BuildRequires: flex >BuildRequires: freetype-devel >BuildRequires: gdal-devel >BuildRequires: gettext >BuildRequires: geos-devel >BuildRequires: lapack-devel >#BuildRequires: liblas-devel >BuildRequires: libpng-devel >BuildRequires: libtiff-devel >BuildRequires: libXmu-devel >BuildRequires: mesa-libGL-devel >BuildRequires: mesa-libGLU-devel >BuildRequires: mysql-devel >BuildRequires: netcdf-devel >BuildRequires: postgresql-devel >BuildRequires: proj-devel >BuildRequires: proj-epsg >BuildRequires: proj-nad >BuildRequires: python-dateutil >BuildRequires: python-devel >BuildRequires: python-imaging >BuildRequires: python-matplotlib-wx >BuildRequires: readline-devel >BuildRequires: sqlite-devel >BuildRequires: subversion >BuildRequires: unixODBC-devel >BuildRequires: wxGTK-devel >BuildRequires: zlib-devel > >Requires: numpy >Requires: proj-epsg >Requires: proj-nad >Requires: wxPython > >%if "%{_lib}" == "lib" >%global cpuarch 32 >%else >%global cpuarch 64 >%endif > >%description >GRASS (Geographic Resources Analysis Support System) is a Geographic >Information System (GIS) used for geospatial data management and >analysis, image processing, graphics/maps production, spatial >modeling, and visualization. GRASS is currently used in academic and >commercial settings around the world, as well as by many governmental >agencies and environmental consulting companies. > >%package libs >Summary: GRASS (Geographic Resources Analysis Support System) runtime libraries >Group: Applications/Engineering > >%description libs >GRASS (Geographic Resources Analysis Support System) runtime libraries > >%package devel >Summary: GRASS (Geographic Resources Analysis Support System) development headers >Group: Applications/Engineering >Requires: %{name}%{?isa}-libs = %{version}-%{release} > >%description devel >GRASS (Geographic Resources Analysis Support System) development headers > >%prep >%setup -q -n grass-%{version} > >%build >%configure \ > --prefix=%{_prefix} \ > --exec-prefix=%{_prefix} \ > --with-cxx \ > --with-tiff \ > --with-png \ > --with-postgres \ > --with-mysql \ > --with-opengl \ > --with-odbc \ > --with-fftw \ > --with-blas \ > --with-lapack \ > --with-cairo \ > --with-freetype \ > --with-nls \ > --with-readline \ > --with-regex \ > --with-pthread \ > --with-openmp \ > --with-gdal=%{_bindir}/gdal-config \ > --with-wxwidgets=%{_bindir}/wx-config \ > --with-netcdf=%{_bindir}/nc-config \ > --with-geos=%{_bindir}/geos-config \ > --with-mysql-includes=%{_includedir}/mysql \ > --with-mysql-libs=%{_libdir}/mysql \ > --with-cairo-ldflags=-lfontconfig \ > --with-freetype-includes=%{_includedir}/freetype2 \ > --with-proj-share=%{_datadir}/proj > #--with-liblas=%{_bindir}/liblas-config > >make %{?_smp_mflags} > > >%install >rm -rf %{buildroot} > >make \ > prefix=%{buildroot}%{_prefix} \ > exec_prefix=%{buildroot}%{_prefix} \ > UNIX_BIN=%{buildroot}%{_bindir} \ > %{?_smp_mflags} install > ># Change GISBASE in startup script >sed -i -e 's|%{buildroot}%{_prefix}|%{_libdir}|g' %{buildroot}%{_bindir}/%{name}%{shortver} > ># Make libraries and headers avaialble on the system >mv %{buildroot}%{_prefix}/%{name}-%{version}/lib %{buildroot}%{_libdir} >mv %{buildroot}%{_prefix}/%{name}-%{version}/include %{buildroot}%{_prefix} >rm -rf %{buildroot}%{_includedir}/Make > ># Make man pages available on the system, convert to utf8 and avoid name conflict with "parallel" manpage >mkdir -p %{buildroot}%{_mandir}/man1 >for man in $(ls %{buildroot}%{_prefix}/%{name}-%{version}/docs/man/man1/*.1) >do > iconv -f iso8859-1 -t utf8 $man > %{buildroot}%{_mandir}/man1/$(basename $man)"grass" >done >sed -i -e 's/^.TH \(.*\) 1/.TH \1 1 grass/' %{buildroot}%{_mandir}/man1/* > ># Make locales available on the system, correct case for pt_br locale >mkdir -p %{buildroot}%{_datadir}/locale >mv %{buildroot}%{_prefix}/%{name}-%{version}/locale %{buildroot}%{_datadir} >mv %{buildroot}%{_datadir}/locale/pt_br %{buildroot}%{_datadir}/locale/pt_BR > >%find_lang %{name}mods >%find_lang %{name}libs >%find_lang %{name}wxpy > >mkdir -p %{buildroot}%{_libdir}/pkgconfig >install -p -m 644 %{name}.pc %{buildroot}%{_libdir}/pkgconfig > ># Make desktop, appdata and icon files available on the system >mv %{buildroot}%{_prefix}/%{name}-%{version}/share/* %{buildroot}%{_datadir} > ># Correct font path >sed -i -e 's|%{buildroot}%{_prefix}|%{_libdir}|' \ > %{buildroot}%{_prefix}/%{name}-%{version}/etc/fontcap > ># Make docs available to the system >mkdir -p %{buildroot}%{_docdir}/%{name} >mv %{buildroot}%{_prefix}/%{name}-%{version}/docs/html \ > %{buildroot}%{_docdir}/%{name} > ># Hide GISBASE into system's %{_libdir} to be FHS compliant >mkdir -p %{buildroot}%{_libdir}/%{name}-%{version} >mv %{buildroot}%{_prefix}/%{name}-%{version}/{bin,driver,etc,fonts,gui,scripts,tools} \ > %{buildroot}%{_libdir}/%{name}-%{version} > ># Link system docs back to GISBASE >ln -s %{_docdir}/%{name} %{buildroot}%{_libdir}/%{name}-%{version}/docs > ># Cleanup >rm -rf %{buildroot}%{_prefix}/%{name}-%{version} > > >%clean >rm -rf %{buildroot} > > >%post >/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : > > >%postun >if [ $1 -eq 0 ]; then > /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null > /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : >fi > > >%post libs -p /sbin/ldconfig >%postun libs -p /sbin/ldconfig > > >%files -f %{name}mods.lang -f %{name}libs.lang -f %{name}wxpy.lang >%exclude %{_libdir}/%{name}-%{version}/driver/db/* >%{_bindir}/* >%{_datadir}/appdata/* >%{_datadir}/applications/* >%{_datadir}/icons/* >%{_docdir}/%{name}/* >%{_libdir}/%{name}-%{version}/* >%{_mandir}/man1/* > > >%files libs >%doc AUTHORS COPYING GPL.TXT CHANGES >%{_libdir}/*.so >%{_libdir}/%{name}-%{version}/driver/db/* > > >%files devel >%doc TODO doc SUBMITTING >%exclude %{_libdir}/*.a >%{_libdir}/pkgconfig/* >%{_libdir}/*.so >%{_includedir}/%{name} > > >%changelog >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1195189
:
1088824
|
1132479
|
1132492
|
1132863
|
1132918
|
1133197
|
1133204
|
1133707
|
1134100
|
1134512
|
1134901
|
1136675