Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 730036 Details for
Bug 923183
New version of mathgl is out.
[?]
New
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.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
SPEC file for rebuilding
mathgl.spec (text/x-rpm-spec), 16.08 KB, created by
Ganapathi Kamath
on 2013-03-31 20:27:49 UTC
(
hide
)
Description:
SPEC file for rebuilding
Filename:
MIME Type:
Creator:
Ganapathi Kamath
Created:
2013-03-31 20:27:49 UTC
Size:
16.08 KB
patch
obsolete
># ># spec file for package mathgl ># ># Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. ># ># All modifications and additions to the file contributed by third parties ># remain the property of their copyright owners, unless otherwise agreed ># upon. The license for this file, and modifications and additions to the ># file, is the same license as for the pristine package itself (unless the ># license for the pristine package is not an Open Source License, in which ># case the license is the MIT License). An "Open Source License" is a ># license that conforms to the Open Source Definition (Version 1.9) ># published by the Open Source Initiative. > ># Please submit bugfixes or comments via http://bugs.opensuse.org/ ># > > >%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} >%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} > >Name: mathgl >%define libname lib%{name} >Version: 2.1.2 >Release: 2.1.2 >%define somajor 7 >Summary: Cross-platform library for making high-quality scientific graphics >License: GPL-3.0 >Group: Productivity/Scientific/Other >Url: http://mathgl.sourceforge.net >Source: http://downloads.sourceforge.net/mathgl/%{name}-%{version}.tar.gz ># PATCH-FIX-OPENSUSE udav-help-path.patch -- fix path to documentation directory >Patch0: mathgl-libpath.patch >Patch1: mathgl-fix-python-module-path.patch >Patch2: mathgl-examples-install.patch >Patch3: udav-help-path.patch >BuildRequires: cmake >BuildRequires: fltk-devel >BuildRequires: freeglut-devel >BuildRequires: gcc-c++ >BuildRequires: giflib-devel >BuildRequires: gsl-devel >BuildRequires: hdf5-devel >BuildRequires: libjpeg-devel >BuildRequires: libpng-devel >BuildRequires: qt-devel >BuildRequires: libtiff-devel >BuildRequires: libtool >BuildRequires: octave-devel ># BuildRequires: openmpi-devel >BuildRequires: python-devel >BuildRequires: numpy >BuildRequires: swig >BuildRequires: texinfo >BuildRequires: texlive-latex >BuildRequires: wxGTK-devel >%define _use_internal_dependency_generator 0 ># %efine __find_requires %wx_requires > >BuildRoot: %{_tmppath}/%{name}-%{version}-build > >%if 0%{?fedora_version} >BuildRequires: fltk-fluid >BuildRequires: libXmu-devel >BuildRequires: texi2html >BuildRequires: texinfo-tex >%define _defaultdocdir %{_datadir}/doc/packages >%endif > >%description >Mathgl is a cross-platform library for making high-quality scientific >graphics. It provides fast data plotting and handling of large data >arrays, as well as window and console modes and for easy embedding >into other programs. Mathgl integrates into fltk, qt and >opengl applications. > >%package -n %{libname}%{somajor} >Summary: Cross-platform library for making high-quality scientific graphics >Group: System/Libraries >Requires: %{name}-fonts > >%description -n %{libname}%{somajor} >Mathgl is a cross-platform library for making high-quality scientific >graphics. It provides fast data plotting and handling of large data >arrays, as well as window and console modes and for easy embedding >into other programs. Mathgl integrates into fltk, qt and >opengl applications. > >%package devel >Summary: Libraries and header files for %{name} library >Group: Development/Libraries/Other >Requires: %{libname}%{somajor} = %{version} >%if 0%{?suse_version} >Recommends: %{name}-doc >%endif > >%description devel >Mathgl is a cross-platform library for making high-quality scientific >graphics. It provides fast data plotting and handling of large data >arrays, as well as window and console modes and for easy embedding >into other programs. Mathgl integrates into fltk, qt and >opengl applications. > >This package contains libraries and header files for developing >applications that use mathgl. > >%package tools >Summary: Command line tools for %{name} library >Group: Productivity/Scientific/Other >Requires: %{libname}%{somajor} = %{version} > >%description tools >This package contains command line tools for making high-quality scientific graphics. > >%package fonts >Summary: Fonts for %{name} library >Group: System/X11/Fonts >BuildArch: noarch > >%description fonts >This package contains command fonts for mathgl library. > >%package examples >Summary: Examples for %{name} library >Group: Productivity/Scientific/Other >Requires: %{libname}%{somajor} = %{version} > >%description examples >Mathgl is a cross-platform library for making high-quality scientific >graphics. It provides fast data plotting and handling of large data >arrays, as well as window and console modes and for easy embedding >into other programs. Mathgl integrates into fltk, qt and >opengl applications. > >This package contains examples of using mathgl. > >%package doc >Summary: Documentation for %{name} >Group: Documentation/Other >Requires: %{libname}%{somajor} = %{version} >BuildArch: noarch > >%description doc >Mathgl is a cross-platform library for making high-quality scientific >graphics. It provides fast data plotting and handling of large data >arrays, as well as window and console modes and for easy embedding >into other programs. Mathgl integrates into fltk, qt and >opengl applications. > >This package provides the documentation for mathgl. > >%package -n python-mathgl >Summary: Libraries and header files for %{name} library >Group: Productivity/Scientific/Other >Requires: %{libname}%{somajor} = %{version} >Requires: python-libs > >%description -n python-mathgl >Mathgl is a cross-platform library for making high-quality scientific >graphics. It provides fast data plotting and handling of large data >arrays, as well as window and console modes and for easy embedding >into other programs. Mathgl integrates into fltk, qt and >opengl applications. > >This package provides the python bindings for mathgl. > >%package -n octave-mathgl >Summary: Octave interface for %{name} library >Group: Productivity/Scientific/Other >Requires: %{libname}%{somajor} = %{version} >Requires: octave > >%description -n octave-mathgl >Mathgl is a cross-platform library for making high-quality scientific >graphics. It provides fast data plotting and handling of large data >arrays, as well as window and console modes and for easy embedding >into other programs. Mathgl integrates into fltk, qt and >opengl applications. > >This package provides octave interface for mathgl. > >%package -n udav >Summary: Data handling and plotting tool >Group: Productivity/Scientific/Other >Requires: %{libname}%{somajor} = %{version} > >%description -n udav >UDAV is cross-platform program for data arrays visualization based >on MathGL library. It support wide spectrum of graphics, >simple script language and visual data handling and editing. It has >window interface for data viewing, changing and plotting.Also it >can execute MGL scripts, setup and rotate graphics and so on. > > >%prep >%setup -q >%patch0 -p1 >%patch1 -p1 >%patch2 -p1 >%patch3 -p1 > ># Correct octave-mathgl version >sed -i 's/2.0/%{version}/' lang/DESCRIPTION > ># Correct location of numpy/arrayobject.h header file >numpy_h=%{python_sitearch}/numpy/core/include/numpy/arrayobject.h >sed -i "s|<numpy/arrayobject.h>|\"${numpy_h}\"|" lang/numpy.i > ># convert EOL encodings, maintaining timestames >sed -i 's/\r$//' AUTHORS README > >%build >cmake \ > -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ > -DLIB_INSTALL_DIR:PATH=%{_lib} \ > -Denable-double=on \ > -Denable-mpi=off \ > -Denable-pthread=off \ > -Denable-gsl=on \ > -Denable-jpeg=on \ > -Denable-png=on \ > -Denable-zlib=on \ > -Denable-pdf=off \ > -Denable-gif=on \ > -Denable-hdf5=on \ > -Denable-opengl=on \ > -Denable-glut=on \ > -Denable-fltk=on \ > -Denable-wx=on \ > -Denable-qt=on \ > -Denable-python=on \ > -Denable-octave=on \ > -Denable-octave-install=off \ > -Denable-doc=on \ > . > >make %{?_smp_mflags} > >%install >%make_install > >export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir} ># Install octave-mathgl >mkdir -p %{buildroot}%{_libdir}/octave/packages >mkdir -p %{buildroot}%{_datadir}/octave/packages >octave --eval "pkg prefix %{buildroot}%{_datadir}/octave/packages %{buildroot}%{_libdir}/octave/packages; pkg install lang/%{name}.tar.gz" >rm %{buildroot}%{_datadir}/octave/packages/*/packinfo/.autoload ># remove octave module archive >rm %{buildroot}%{_datadir}/%{name}/%{name}.tar.gz > ># Remove static library files >rm %{buildroot}/%{_libdir}/*.a > ># Install docs >install -m 644 {AUTHORS,ChangeLog.txt,README,COPYING} %{buildroot}%{_docdir}/%{name}/ > >%post doc >%install_info --info-dir=%{_infodir} %{_infodir}/%{name}_en.info.gz >%install_info --info-dir=%{_infodir} %{_infodir}/%{name}_en.info-1.gz >%install_info --info-dir=%{_infodir} %{_infodir}/%{name}_en.info-2.gz > >%postun doc >%install_info_delete --info-dir=%_infodir %{_infodir}/%{name}_en.info.gz >%install_info_delete --info-dir=%_infodir %{_infodir}/%{name}_en.info-1.gz >%install_info_delete --info-dir=%_infodir %{_infodir}/%{name}_en.info-2.gz > >%post -n %{libname}%{somajor} -p /sbin/ldconfig > >%postun -n %{libname}%{somajor} -p /sbin/ldconfig > >%post -n octave-mathgl >octave -qf --eval "pkg rebuild -auto mathgl" > >%postun -n octave-mathgl >octave -qf --eval "pkg rebuild" > >%files -n %{libname}%{somajor} >%defattr(-,root,root) >%{_libdir}/*.so.%{somajor}* > >%files fonts >%defattr(-,root,root) >%{_datadir}/%{name}/ > >%files devel >%defattr(-,root,root) >%{_includedir}/mgl2/ >%{_libdir}/*.so > >%files tools >%defattr(-,root,root) >%{_bindir}/mglconv >%{_bindir}/mglview >%{_bindir}/mgl.cgi >%{_mandir}/man1/*.gz >%{_mandir}/man5/*.gz > >%files doc >%defattr(-,root,root) >%doc %{_defaultdocdir}/mathgl/ >%{_infodir}/%{name}_en.info*.gz > >%files examples >%defattr(-,root,root) >%{_bindir}/mgl*example > >%files -n python-mathgl >%defattr(-,root,root) >%{python_sitearch}/* > >%files -n octave-mathgl >%defattr(-,root,root) >%{_datadir}/octave/packages/%{name}-*/ >%{_libdir}/octave/packages/%{name}-*/ > >%files -n udav >%defattr(-,root,root) >%{_bindir}/udav >%{_datadir}/pixmaps/udav.png >%{_datadir}/applications/udav.desktop >%{_datadir}/udav/ > >%changelog >* Mon Mar 30 2013 hgkamath@hotmail.com >- Update to version 2.1.2 > * self build >* Mon Dec 24 2012 dmitry@roshchin.org >- Update to version 2.1.1 > * bugfix release, see included ChangeLog.txt for details > * removed obsolete mathgl-rpath.patch > * updated mathgl-libpath.patch >* Wed Dec 19 2012 dmitry@roshchin.org >- Update rpath patch > * mathgl-rpath.patch >* Wed Dec 19 2012 Rene.vanPaassen@gmail.com >- Add fltk-fluid for fedora >- Recommends tag conditional on suse versions >* Fri Dec 14 2012 dmitry@roshchin.org >- Update to version 2.1 > * see ChangeLog.txt for details >- Set correct path to documentation directory > * udav-help-path.patch >- Disable rpath > * mathgl-rpath.patch >- Update other patches >- Delete SLE-specific things from spec file >* Thu Nov 15 2012 Rene.vanPaassen@gmail.com >- Fix spec file for build on Fedora: > * add dependencies (xmu, texi2html, texinfo-tex) > * re-define _defaultdocdir, to reflect correct doc path > * correct test for suse_version >* Wed Oct 17 2012 dmitry@roshchin.org >- Locate documentation to right place > * mathgl-doc-path.patch >- Update post and postup for octave-mathgl >* Fri Aug 24 2012 dmitry@roshchin.org >- Fix octave-mathgl package installation >* Tue Aug 21 2012 dmitry@roshchin.org >- Add octave-mathgl package >- Add mathgl-examples package >* Sun Jul 29 2012 badshah400@gmail.com >- Update to version 2.0.3: > + Make code compilable by compilers GNU/MinGW GCC, Clang, MS > VisualStudio > + Add mglTriangulation() using s_hull_pro algorithm > + Add mglData::Grid() and mglGraph::DataGrid() for filling > regular data by values of triangulated surface > + Add cmake options âenable-pngâ and âenable-zlibâ > + Add SetTimeUTC() for using UTC time instead of local one > + Add SetTickShift() for additional shift of tick labels > + Add mglGraph::MPI_Send() and mglGraph::MPI_Recv() > + Vector plots now draw vector at edges, which are directed out > of bounding box > + Add gap between 1d plots for avoiding possible undetermined > overlapping > + Add parallel build for documentation > + Bugfixes for memory leaks and uninitialized variables, for > setting text size, for handling NAN color value, for missing > lines in export to EPS/SVG >- Drop mathgl-cmake-enable-doc-option-fix.patch; implemented > upstream >- Split udav into its own package >- Add %%suse_update_desktop_file for SLE to fix brp complaints > about missing generic name for udav.desktop >- Add install-info post scriplets for the installed info files. >* Thu May 24 2012 badshah400@gmail.com >- Update to version 2.0.2: > + Add 'U' style for Axis() which disable ticks rotation > + Bugfix for enable-opengl option > + Bugfix for lighting >- Changes from version 2.0.1: > + Improve speed of drawing > + Add reading 3d data files using mglData::ReadMat() > + Exclude unnecessary dependencies/inclusions > + Improve build system: > - Add multithreading > - Add install for Octave > - Separate enable-doc option from enable-all > + Minor bugfixes >- Add mathgl-cmake-enable-doc-option-fix.patch to fix the usage > of the cmake option: enable-doc (sf#3529593) >- Modify existing patch mathgl-fix-python-module-path.patch > to use DESTDIR environment variable instead of RPM_BUILD_ROOT > directly; set DESTDIR during make install stage >- Enable building with hdf5 support: introduces build dependency > on hdf5-devel >- Disable octave bindings for now as they do not build >- Enable building on SLE 11 by turnning off doc building for it. >* Wed May 9 2012 badshah400@gmail.com >- Add mathgl-fix-python-module-path.patch to fix the path where > python modules are installed. >* Sat May 5 2012 badshah400@gmail.com >- Update to version 2.0: > + mglGraph class is single plotter class instead of mglGraphZB, > mglGraphPS and so on > + Text style and text color positions are swapped. I.e. text > style âr:Câ give red centered text, but not roman dark cyan > text as for v.1.* > + ColumnPlot() indexing is reverted > + Move most of arguments of plotting functions into the string > parameter and/or options > + "Bright" colors (like {b8}) can be used in color schemes and > line styles > + Intensively use pthread internally for parallelization of > drawing and data processing > + Add tick labels rotation and skipping. Add ticks in > time/date format > + New kinds of plots (Tape(), Label(), Cones(), ContV()) > + Extend existing plots > + New primitives (Circle(), Ellipse(), Rhomb(), ...) > + New plot positioning (MultiPlot(), GridPlot()) > + Improve MGL scripts. Add âaskâ command and allow string > concatenation from different lines > + Export to LaTeX and to 3D formats (OBJ, OFF, STL) > + Add pipes support in utilities (mglconv, mglview) >- Turn off fltk bindings for openSUSE 12.1 and lower as they > cause build errors >- Disable python-mathgl package as it does not build >- Rebase mathgl-fltk.patch >- Add mathgl-libpath.patch to allow setting the location of > installed libraries using a cmake variable >- Add texlive-latex as build dependency; required for > generation of pdf documentation. > - ----------------------------------------------------------------- >* Sat Feb 25 2012 scorot@free.fr >- fix build for SLE-11 >* Sat Feb 25 2012 scorot@free.fr >- fix build for SLE-11 >* Mon Feb 13 2012 coolo@suse.com >- patch license to follow spdx.org standard >* Mon Oct 3 2011 dimstar@opensuse.org >- Fix typo in patch tagline. >* Sat Aug 20 2011 badshah400@gmail.com >- Miscellaneous spec file corrections >* Tue Aug 16 2011 badshah400@gmail.com >- Fix build issues with openSUSE < 11.4 >* Tue Aug 16 2011 badshah400@gmail.com >- Initial package (version 1.11.2)
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 923183
: 730036 |
730037