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 1132492 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/plain), 17.42 KB, created by
Thomas Kreuzer
on 2016-03-02 19:26:25 UTC
(
hide
)
Description:
grass.spec
Filename:
MIME Type:
Creator:
Thomas Kreuzer
Created:
2016-03-02 19:26:25 UTC
Size:
17.42 KB
patch
obsolete
># Derived from SPEC file in grass-6.4.4-5.fc21.src.rpm >######## ># "shared lib calls exit" -- http://trac.osgeo.org/grass/ticket/1598 > ># The manpages are created from HTML with a parser, that is included. ># Ticket on FHS violation ># http://trac.osgeo.org/grass/ticket/1610 > >#TODO: Add Module Makefile for developers? >#TODO: xml-etree? >#TODO: Consider to drop the separate libs packages, like Debian did >#TODO: Review the pkgconf file ># Ubuntu doesn't have the Requires line in the pkgconfig file >## gdal-grass7 supported in GDAL 1.11+ >#TODO: Consider a documentation sub-package > ># All EPEL 5 specific elements are left inside to make life easier for ELGIS > >%global shortversion 70 > >%if %{__isa_bits} == 70 >%global configure_64_bit --enable-64bit >%endif > >Name: grass >Version: 7.0.1 >Release: 1%{?dist} >Summary: GRASS GIS - Geographic Resources Analysis Support System >Group: Applications/Engineering >License: GPLv2+ >URL: http://grass.osgeo.org >Source0: http://grass.osgeo.org/%{name}%{shortversion}/source/%{name}-%{version}.tar.gz >Source2: %{name}-config.h >##MN Patch0: 0001-grass-pkgconf.patch > ># Warning: This patch contains the GRASS version number >##MN Patch1: 0002-grass-shlib-soname.patch > >##MN Patch2: 0003-grass-docfiles.patch > >BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > >Requires: proj-nad proj-epsg wxPython >Requires: wxGTK-gl >Requires: numpy > >BuildRequires: bison >BuildRequires: blas-devel >BuildRequires: cairo-devel >BuildRequires: desktop-file-utils >BuildRequires: fftw-devel >BuildRequires: flex >BuildRequires: freetype-devel >BuildRequires: gdal-devel >BuildRequires: geos-devel >BuildRequires: gettext >BuildRequires: lapack-devel >BuildRequires: motif-devel >BuildRequires: libpng-devel >BuildRequires: libtiff-devel >BuildRequires: libXmu-devel >BuildRequires: xml2 >BuildRequires: mesa-libGLU-devel >BuildRequires: mesa-libGLw-devel >BuildRequires: mysql-devel >BuildRequires: netcdf-devel >#BuildRequires: ncurses-devel >BuildRequires: pkgconfig >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: wxPython-devel >BuildRequires: zlib-devel > ># We have multi-lib triage >%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 GIS (Geographic Resources Analysis Support System) runtime libraries >Group: Applications/Engineering > >%description libs >GRASS (Geographic Resources Analysis Support System) runtime libraries. > >%package devel >Summary: GRASS GIS (Geographic Resources Analysis Support System) development headers >Group: Applications/Engineering >Requires: %{name}%{?isa}-libs = %{version}-%{release} > ># Can be removed after EOL of EPEL5 >Requires: pkgconfig > >Requires: motif-devel wxPython-devel >Requires: mesa-libGL-devel libX11-devel libXt-devel >Requires: gdal-devel proj-devel > >%description devel >GRASS (Geographic Resources Analysis Support System) development headers. > > >%prep >%setup -q -n grass-%{version} > >%define _prefix /usr >%define grassdir %{_prefix}/grass-%{version} >%define grasslib %{_prefix}/grass-%{version}/lib > >##MN %patch0 -p1 >##MN %patch1 -p1 >##MN %patch2 -p1 > ># Correct mysql_config query >sed -i 's|--libmysqld-libs|--libs|g' configure > ># TODO: Ticket? >sed -i 's|-cp |-cp -p |' Makefile > >#?%build ># Keep timestamp over install section >#TODO: Necessary? >export INSTALL="%{__install} -c -p" > ># Package is not ready for -Werror=format-security due to gettext macros >CFLAGS="$(echo ${RPM_OPT_FLAGS} | sed -e 's,-Werror=format-security,-Wformat-security,')" \ >CXXFLAGS="$(echo ${RPM_OPT_FLAGS} | sed -e 's,-Werror=format-security,-Wformat-security,')" \ >%configure \ > --prefix=%{buildroot}%{_prefix} \ > --exec-prefix=%{buildroot}%{_prefix} \ > --enable-largefile \ > --with-cairo --with-cairo-ldflags=-lfontconfig \ > --with-cxx \ > --with-fftw \ > --with-freetype-includes=%{_includedir}/freetype2 \ > --with-freetype=yes \ > --with-gdal \ > --with-geos \ > --with-mysql \ > --with-mysql-includes=%{_includedir}/mysql \ > --with-mysql-libs=%{_libdir}/mysql \ > --with-netcdf \ > --with-nls \ > --with-odbc \ > --with-opengl \ > --with-openmp \ > --with-postgres \ > --with-proj \ > --with-proj-share=%{_datadir}/proj \ > --with-python \ > --with-readline \ > --with-sqlite \ > --with-wxwidgets=wx-config \ > %{configure_64_bit} > >%build >make %{?_smp_mflags} > >%install >rm -rf %{buildroot} > > ># make install >make UNIX_BIN=${buildroot}%{_bindir} install > ># Program sets LD_LIBRARY_PATH pointing to in-source path ># resulting in wrong requires, prevent that >rm -rf dist.* > ># changing GISBASE in startup script (deleting %{buildroot} from path) >sed -i s:%{buildroot}::g %{buildroot}%{_bindir}/grass%{shortver} >ln -sf grass%{shortver} %{buildroot}%{_bindir}/grass > ># make grass libraries available on the system >install -d %{buildroot}%{_sysconfdir}/ld.so.conf.d >echo %{grasslib} >> %{buildroot}%{_sysconfdir}/ld.so.conf.d/grass-%{version}.conf > ># Make grass headers and libraries available on the system >mv %{buildroot}%{_prefix}/%{name}-%{version}/lib/ %{buildroot}%{_libdir} >mv %{buildroot}%{_prefix}/%{name}-%{version}/include %{buildroot}%{_prefix}/ > >#MN keep directory for g.extension >## rm -rf %{buildroot}%{_includedir}/Make/ > ># Create universal multilib header bz#341391 >install -p -m 644 %{buildroot}%{_includedir}/%{name}/config.h \ > %{buildroot}%{_includedir}/%{name}/config-%{cpuarch}.h >install -p -m 644 %{SOURCE2} %{buildroot}%{_includedir}/%{name}/config.h > ># Make man pages available on system, convert to utf8 and avoid name conflict with "parallel" manpage >mkdir -p %{buildroot}%{_mandir}/man1 >for manpage in `find %{buildroot}%{_prefix}/%{name}-%{version}/man/man1 -type f` ; do > iconv -f iso8859-1 -t utf8 \ > $manpage > %{buildroot}%{_mandir}/man1/`basename $manpage`"grass" >done >sed -i -e 's/^.TH \(.*\) 1/.TH \1 1grass/' %{buildroot}%{_mandir}/man1/* >rm -rf %{buildroot}%{_prefix}/%{name}-%{version}/man > ># Make locales available on 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/ > >for res in 48x48 64x64; do > mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${res}/apps > install -p -m 644 gui/icons/%{name}-${res}.png %{buildroot}%{_datadir}/icons/hicolor/${res}/apps/%{name}.png >done > >desktop-file-install \ > --set-icon=grass \ > --dir=%{buildroot}%{_datadir}/applications gui/icons/%{name}.desktop > ># Install AppData file >mkdir -p %{buildroot}%{_datadir}/appdata >install -p -m 644 gui/icons/%{name}.appdata.xml %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml > ># Move icon folder in GISBASE and set its path to be FHS compliant >mv %{buildroot}%{_prefix}/%{name}-%{version}/docs/html/icons %{buildroot}%{_prefix}/%{name}-%{version}/ > ># Switch to the system wide docs, to be FHS compliant >rm -rf %{buildroot}%{_prefix}/%{name}-%{version}/docs > ># Hide GISBASE into system's %{_libdir} instead, to be FHS compliant >mv %{buildroot}%{_prefix}/%{name}-%{version} %{buildroot}%{_libdir}/ > ># Correct font path >sed -i -e 's|%{buildroot}%{_prefix}/%{name}-%{version}|%{_libdir}/%{name}-%{version}|' \ >%{buildroot}%{_libdir}/%{name}-%{version}/etc/fontcap > ># Create versionless symlinks for binary and libdir ># The libdir symlink is handy for QGIS. QGIS asks the user for gisbase ># and then stores it. See BZ 711860 ># The binary symlink keeps us from updating the desktop file ># Ubuntu does it the same way >ln -s %{_bindir}/%{name}%{shortversion} %{buildroot}%{_bindir}/%{name} >ln -s %{_libdir}/%{name}-%{version} %{buildroot}%{_libdir}/%{name} > >%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 > >%posttrans >/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : > >%post libs -p /sbin/ldconfig >%postun libs -p /sbin/ldconfig > > >%files -f %{name}mods.lang -f %{name}libs.lang -f %{name}wxpy.lang >%doc dist.*/docs >%{_sysconfdir}/prelink.conf.d/%{name}-%{cpuarch}.conf >%{_bindir}/%{name} >%{_bindir}/%{name}%{shortversion} >%dir %{_libdir}/%{name}-%{version} > >#MN why?: >%exclude %{_libdir}/%{name}-%{version}/etc/*.table >%exclude %{_libdir}/%{name}-%{version}/driver/db/* > >%{_libdir}/%{name}-%{version}/* >%{_datadir}/appdata/*%{name}.appdata.xml >%{_datadir}/applications/*%{name}.desktop >%{_datadir}/icons/hicolor/*/apps/%{name}.png >%dir %{_datadir}/locale/*/LC_MESSAGES >%{_mandir}/man1/*.1grass* > >%files libs >%doc AUTHORS COPYING GPL.TXT CHANGES ChangeLog_%{version}.gz translators.csv contributors.csv contributors_extra.csv >%{_libdir}/%{name} >%{_libdir}/lib%{name}_*.so.* >%{_libdir}/%{name}-%{version}/etc/*.table >%{_libdir}/%{name}-%{version}/driver/db/* > >%files devel >%doc TODO doc SUBMITTING* >%exclude %{_libdir}/lib%{name}_*.a >%{_libdir}/pkgconfig/%{name}.pc >%{_includedir}/%{name} >%{_libdir}/lib%{name}_*.so > > >%changelog >* Tue Nov 3 2015 Markus Neteler <neteler@osgeo.org> - 7.0.1 >- Attempt of updating to GRASS GIS 7.0.1 > >* Tue Sep 23 2014 Richard Hughes <richard@hughsie.com> - 6.4.4-5 >- Install the shipped AppData file > >* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4.4-3 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild > >* Sat Aug 09 2014 Ralf Corsépius <corsepius@fedoraproject.org> 6.4.4-2 >- Rebase patches against grass-6.4.4. >- Convert -Werror=format-security into warnings (RHBZ#1106720). >- Minor spec cleanup. > >* Fri Jul 25 2014 Peter Robinson <pbrobinson@fedoraproject.org> 6.4.4-1 >- Update to 6.4.4 >- Make 64bit conditionals generic > >* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4.3-8 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild > >* Wed May 21 2014 Jaroslav Å karvada <jskarvad@redhat.com> - 6.4.3-7 >- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86 > >* Thu Mar 27 2014 Ville Skyttä <ville.skytta@iki.fi> - 6.4.3-6 >- Don't ship patch backup files > >* Mon Oct 14 2013 Volker Fröhlich <volker27@gmx.at> - 6.4.3-5 >- Solve build failure on PPC tests (BZ#961838) > >* Wed Oct 9 2013 Devrim Gündüz <devrim@gunduz.org> - 6.4.3-4 >- Rebuild against new GEOS > >* Thu Oct 3 2013 Volker Fröhlich <volker27@gmx.at> - 6.4.3-3 >- Add patch for release name encoding crash >- Use upstream desktop file (BZ #986852) >- Install icons of different sizes > >* Sat Sep 14 2013 Volker Fröhlich <volker27@gmx.at> - 6.4.3-2 >- Remove gcc patch (upstream) >- Remove useless BR for libjpeg >- Make config.h a source file instead of defining it in the spec file >- Truncate changelog > >* Thu Sep 12 2013 Devrim GÃNDÃZ <devrim@gunduz.org> - 6.4.3-1 >- Update to 6.4.3 >- Rebuild with new geos. > >* Tue Aug 27 2013 Orion Poplawski <orion@cora.nwra.com> - 6.4.2-11 >- Rebuild for gdal 1.10.0 > >* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4.2-10 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild > >* Fri Apr 12 2013 Jon Ciesla <limburgher@gmail.com> - 6.4.2-9 >- Drop desktop vendor tag. > >* Wed Mar 06 2013 Devrim GÃNDÃZ <devrim@gunduz.org> - 6.4.2-8 >- Rebuild with new geos. > >* Fri Jan 25 2013 Devrim GÃNDÃZ <devrim@gunduz.org> - 6.4.2-7 >- Rebuild with geos 3.3.7. > >* Sun Nov 18 2012 Volker Fröhlich <volker27@gmx.at> - 6.4.2-6 >- Rebuild with ever newer geos > >* Wed Nov 14 2012 Devrim GÃNDÃZ <devrim@gunduz.org> - 6.4.2-5 >- Rebuild with new geos. > >* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4.2-4 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild > >* Mon Jul 16 2012 Devrim GÃNDÃZ <devrim@gunduz.org> - 6.4.2-3 >- Rebuilt > >* Sun Mar 4 2012 Volker Fröhlich <volker27@gmx.at> - 6.4.2-2 >- Solve name conflict with "parallel" man pages (BZ 797824) >- Correct man page encoding conversion >- Build with multiple workers; assumuption on race-condition was wrong > >* Fri Mar 2 2012 Tom Callaway <spot@fedoraproject.org> - 6.4.2-1 >- update to 6.4.2 > >* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4.1-8 >- Rebuilt for c++ ABI breakage > >* Tue Jan 10 2012 Volker Fröhlich <volker27@gmx.at> - 6.4.1-7 >- Race condition in build system assumed -- going back to one worker > >* Mon Jan 9 2012 Devrim GÃNDÃZ <devrim@gunduz.org> - 6.4.1-6 >- Rebuilt with new geos > >* Wed Nov 23 2011 Volker Fröhlich <volker27@gmx.at> - 6.4.1-5 >- Move string substitution back to the install section, because > it causes problems otherwise >- Add patch for libpng API change > >* Wed Nov 02 2011 Volker Fröhlich <volker27@gmx.at> - 6.4.1-4 >- Remove encoding from desktop file >- Remove BR on wxGTK, because wxGTK requires it anyway >- Disable Ubuntu patches, because they don't seem to work in Fedora >- Move all the string substitution for locales and docs to prep >- Use name macro in Source >- Drop custom compiler flags -- no evidence they serve a purpose >- Remove 2 unnecessary chmods >- Don't use sysconfdir macro in places, where etc means something different >- Add contributors to documentation > >* Wed Nov 02 2011 Volker Fröhlich <volker27@gmx.at> - 6.4.1-3 >- Patch locale and documentation paths properly for the GUI > >* Thu Sep 22 2011 Volker Fröhlich <volker27@gmx.at> - 6.4.1-2 >- Remove duplicate documentation >- Correct further documentation paths >- Create version-less symlinks for library directory and binary >- Supply all lang files to the files section directly >- Add ternary operator patch for Python 2.4 (ELGIS) > >* Tue Aug 02 2011 Volker Fröhlich <volker27@gmx.at> - 6.4.1-1 >- Update to 6.4.1 >- Remove explicit lib and include dirs, where not necessary >- Really build with geos >- Remove sed call on ncurses > >* Tue Aug 02 2011 Volker Fröhlich <volker27@gmx.at> - 6.4.0-4 >- Correct license to GPLv2+ >- Update URL >- Replace define with global macro >- Devel package required itself >- Simplify setup macro >- Don't add -lm manually anymore >- Correct FSF postal address >- Drop cstdio patch >- Correct Exec and Icon entry in desktop file >- Remove wrong and unnecessary translation entries from desktop file > GRASS didn't start for the first issue >- Add numpy as requirement >- Delete defattr, as the defaults work right >- Use name macro where possible >- Devel package required itself >- Changelog doesn't need encoding conversion anymore > Same goes for translators and infrastructure files >- Use mandir macro on one occasion >- Introduce "shortversion" macro >- Beautify case construction for 64 bit build flags >- Update syntax for Require on base package to guidelines >- Don't list LOCALE files twice, own directory >- Don't ship same documentation in different packages >- Drop README >- Simplify file list in devel package >- Replace extra icon source with one from the tarball > >* Wed Mar 23 2011 Dan Horák <dan@danny.cz> - 6.4.0-3 >- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient) > >* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4.0-2 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild > >* Mon Nov 22 2010 Viji Nair <viji [AT] fedoraproject DOT org> - 6.4.0-1 >- Rebuilt with new gdal 1.7.3. >- Updated to upstream version 6.4.0. >- Removed grass-gdilib.patch >- Spec review > >* Fri Dec 4 2009 Devrim GÃNDÃZ <devrim@gunduz.org> - 6.3.0-15 >- Rebuilt with new geos > >* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 6.3.0-14 >- rebuilt with new openssl > >* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3.0-13 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild > >* Mon Mar 23 2009 Lubomir Rintel <lkundrak@v3.sk> - 6.3.0-12 >- Fix build with GCC 4.4 > >* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3.0-11 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild > >* Thu Jan 29 2009 Balint Cristian <cristian.balint@gmail.com> - 6.3.0-10 >- email change >- rebuild for new mysql > >* Sun Dec 07 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-9 >- rebuild against newer gdal > >* Sun Dec 07 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-8 >- rebuild against newer gdal > >* Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 6.3.0-7 >- Rebuild for Python 2.6 > >* Sun Aug 24 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-6 >- bz#458427 (prelink fail) >- bz#458563 (grass not able to display documentation) > >* Sat Jul 05 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-5 >- address bz#454146 (wxPython miss) > >* Thu Jun 12 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-4 >- address bz#341391 (multilib issue) > >* Mon May 26 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-3 >- bugfix initscripts permission > >* Thu May 15 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-2 >- require swig to build > >* Thu May 15 2008 Balint Cristian <rezso@rdsor.ro> 6.3.0-1 >- final stable release upstream
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