Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:beyerle:IAC
Magics
Magics.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Magics.spec of Package Magics
Name: Magics Version: 4.12.1 Release: 7.0 Summary: Library and tools to visualize meteorological data and statistics URL: https://software.ecmwf.int/Magics BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-%{version}-Source.tar.gz License: Apache-2.0 # Copyright 2020 ECMWF Group: Productivity/Scientific/Other Requires: python Requires: eccodes Requires: cairo >= 1.4.0 ################################################## %if 0%{?fedora_version} BuildRequires: pkgconfig proj-devel qt5-qtwebkit-devel qt5-qtbase-devel netcdf-devel hdf-libs Requires: proj netcdf %endif %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?suse_version} Requires: proj BuildRequires: proj libproj-devel pkg-config %endif BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: cairo-devel pango-devel BuildRequires: eccodes eccodes-devel %if 0%{?suse_version} BuildRequires: -post-build-checks -brp-check-suse Requires: gd BuildRequires: gd gd-devel BuildRequires: libexpat-devel %if 0%{?is_opensuse} BuildRequires: netcdf-devel libQt5Widgets-devel libQt5Gui-devel %endif BuildRequires: gcc-fortran fftw3-devel Requires: netcdf libfftw3-3 %else BuildRequires: expat expat-devel BuildRequires: gcc-gfortran fftw-devel Requires: fftw %endif ################################################ %description Runtime files for Magics - The library and tools to visualize meteorological data and statistics %package devel Summary: Developing package for Magics Group: Development/Libraries/C and C++ Requires: %{name} eccodes-devel %description devel Header and library files for Magics - The library and tools to visualize meteorological data and statistics Authors: -------- (ECMWF Development Section) Sylvie Lamy-Thepaut Stephan Siemen Fernando Ii Iain Russell Sandor Kertesz ############################################## %prep #%setup -q cd %{_topdir}/BUILD rm -rf %{name}-%{version}-Source cp -rf %{_topdir}/SOURCES/%{name}-%{version}-Source.tar.gz . tar -xzf %{name}-%{version}-Source.tar.gz cd %{name}-%{version}-Source %build cd %{_topdir}/BUILD/%{name}-%{version}-Source mkdir build cd build %if 0%{?suse_version} %if 0%{?is_opensuse} cmake .. -DCMAKE_PREFIX_PATH=/usr -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_LIB_DIR=lib64 \ -DENABLE_METVIEW=ON -DENABLE_NETCDF=ON -DENABLE_CAIRO=ON \ -DCMAKE_SKIP_RPATH=ON #-DCMAKE_SKIP_RPATH=ON %else cmake .. -DCMAKE_PREFIX_PATH=/usr -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_LIB_DIR=lib64 \ -DENABLE_METVIEW_NO_QT=ON -DENABLE_NETCDF=OFF -DENABLE_CAIRO=ON \ -DCMAKE_SKIP_RPATH=ON %endif %else # fedora has NetCDF %if 0%{?fedora_version} cmake .. -DCMAKE_PREFIX_PATH=/usr -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_LIB_DIR=lib64 \ -DENABLE_METVIEW=ON -DENABLE_NETCDF=ON -DENABLE_CAIRO=ON %else cmake .. -DCMAKE_PREFIX_PATH=/usr -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_LIB_DIR=lib64 \ -DENABLE_METVIEW=ON -DENABLE_NETCDF=OFF -DENABLE_CAIRO=ON %endif %endif make # install all files into the BuildRoot cd %{_topdir}/BUILD/%{name}-%{version}-Source/build make DESTDIR=$RPM_BUILD_ROOT install ############################################### %files %defattr(-,root,root,-) #%doc AUTHORS ChangeLog NOTICE LICENSE /usr/bin/* /usr/share/* %_libdir/*.so %files devel %defattr(-,root,root,-) %_libdir/*.a %_libdir/cmake #%_libdir/pkgconfig /usr/include/* ################################################ %changelog * Fri Mar 01 2019 - ECMWF - Separateion of Python interface * Wed Nov 23 2016 - ECMWF - First version using ecCodes for GRIB decoding instead of GRIB-API * Tue Feb 10 2015 - magics@ecmwf.int - Update on CMake/ecBuild setup - See https://software.ecmwf.int/wiki/display/MAGP/Change+History * Fri Feb 07 2014 - magics@ecmwf.int - Clear out metview-devel - See https://software.ecmwf.int/wiki/display/MAGP/Change+History * Fri Jan 31 2014 - magics@ecmwf.int - Move to CMake - See https://software.ecmwf.int/wiki/display/MAGP/Change+History * Wed Aug 1 2012 - magics@ecmwf.int - See https://software.ecmwf.int/wiki/display/MAGP/Change+History * Tue Feb 28 2012 - magics@ecmwf.int - See http://www.ecmwf.int/publications/manuals/magics/magplus/versions/change_history.html * Fri Jan 20 2012 - magics@ecmwf.int - update to version 2.14.8 (bug fixes) * Mon Dec 12 2011 - magics@ecmwf.int - update to version 2.14.8 (bug fixes for python interface and borders) * Tue Nov 22 2011 - magics@ecmwf.int - update to version 2.14.5 (bug fixes for graph plotting with symbols) * Mon Nov 21 2011 - magics@ecmwf.int - update to version 2.14.4 (bug fixes, optimisations for SVG) * Mon Nov 14 2011 - magics@ecmwf.int - update to version 2.14.2 (bug fixes, fixes for python interface) * Wed Oct 26 2011 - magics@ecmwf.int - update to version 2.14.1 (new coastlines, new python interface) * Thu Jun 16 2011 - magics@ecmwf.int - update to version 2.12.9 (bug fixes in layout and PostScript output) * Fri Apr 15 2011 - magics@ecmwf.int - update to version 2.12.7 (remove unnecessary warning messages) * Thu Apr 14 2011 - magics@ecmwf.int - update to version 2.12.6 (add JSON and Metview 4.0.4 support) * Thu Dec 02 2010 - magics@ecmwf.int - update to version 2.12.0 * Fri Nov 19 2010 - magics@ecmwf.int - update to version 2.11.5 (threaded contouring, Metview support) * Fri Jun 25 2010 - magics@ecmwf.int - update to version 2.10.2 (improve hatch shading + SVG output) * Mon May 03 2010 - magics@ecmwf.int - update to version 2.10 (add synop plotting) * Tue Oct 20 2009 - magics@ecmwf.int - initial package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor