diff --git a/mathgl.spec b/mathgl.spec index 8d48b15..1c1beac 100644 --- a/mathgl.spec +++ b/mathgl.spec @@ -19,7 +19,7 @@ Name: mathgl Version: 2.3.3 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Cross-platform library for making high-quality scientific graphics Summary(de): Plattformübergreifende Bibliothek für hochwertige wissenschaftliche Graphiken Summary(ru): Библиотека для осуществления высококачественной визуализации данных @@ -105,6 +105,14 @@ developing applications that use serial version of %{name}. Пакет %{name}-devel содержит библиотеки и файлы заголовков, необходимые для разработки приложений с использованием однопоточной версии %{name}. +%package fonts +Group: Development/Libraries +Requires: %{name}-common = %{version}-%{release} +Summary: Compiled fonts for the %{name} + +%description fonts +%{summary}. + %if 0%{?with_doc} %package doc Group: Documentation @@ -143,6 +151,14 @@ Requires: %{name}-qt = %{version}-%{release} mglview reads MGL scripts from scriptfile to produce plots of specified functions or data. The program will create a GUI window showing the script result. +%package -n python-mathgl +Summary: Python module for MathGL +Group: Applications/Engineering +Requires: %{name} = %{version}-%{release} + +%description -n python-mathgl +%{Summary}. + %if 0%{?with_octave} %package -n octave-mathgl Summary: Octave module for MathGL @@ -160,6 +176,7 @@ Summary: Common files for %{name} Group: Applications/Engineering BuildArch: noarch Requires: %{name} = %{version}-%{release} +Requires: %{name}-fonts = %{version}-%{release} %if 0%{?with_doc} Requires(post): info Requires(preun): info @@ -529,6 +546,9 @@ fi %dir %{_datadir}/udav/ %{_datadir}/pixmaps/*.png +%files -n python-mathgl +%{python_sitelib}/* + %if 0%{?with_octave} %files -n octave-mathgl %{octpkglibdir} @@ -542,9 +562,10 @@ fi %doc _tmp_docdir/* %endif -%files common -%{python_sitelib}/* +%files fonts %{_datadir}/%{name}/ + +%files common %if 0%{?with_doc} %{_mandir}/man5/mgl.5.gz %{_infodir}/%{name}*.gz @@ -574,26 +595,31 @@ fi %endif %changelog -* Fri Dec 11 2015 Dsmitrij S. Kryzhevich - 2.3.3-6 +* Mon Jan 04 2016 Dmitrij S. Kryzhevich - 2.3.3-7 +- Split out python module and fonts. +- Make fonts subpackage arch depenedent, fix for RHBZ #1294072. +- Fix typos in name in changelog. + +* Fri Dec 11 2015 Dmitrij S. Kryzhevich - 2.3.3-6 - Unconditionalize libharu. It is in epel now. -* Wed Dec 09 2015 Dsmitrij S. Kryzhevich - 2.3.3-5 +* Wed Dec 09 2015 Dmitrij S. Kryzhevich - 2.3.3-5 - Reenable octave module. - Conditionalize doc and mpich subpackages. - Conditionalize libharu and octave: only for Fedora. - Move -qt, -wx and -fltk widgets into seperate subpackages. - Update gsl patch: manage old version (in epel). -* Thu Nov 26 2015 Dsmitrij S. Kryzhevich - 2.3.3-4 +* Thu Nov 26 2015 Dmitrij S. Kryzhevich - 2.3.3-4 - Fix building on arm (see mathgl-2.3.3-signed_char.patch). -* Tue Nov 24 2015 Dsmitrij S. Kryzhevich - 2.3.3-3 +* Tue Nov 24 2015 Dmitrij S. Kryzhevich - 2.3.3-3 - Fix files section: cmake script and mime xml. -* Tue Nov 24 2015 Dsmitrij S. Kryzhevich - 2.3.3-2 +* Tue Nov 24 2015 Dmitrij S. Kryzhevich - 2.3.3-2 - Add libtool-ltdl-devel to BR. -* Tue Nov 24 2015 Dsmitrij S. Kryzhevich - 2.3.3-1 +* Tue Nov 24 2015 Dmitrij S. Kryzhevich - 2.3.3-1 - Update to new 2.3.3 version. - Fix gsl-2 support.