Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:ARM
klatexformula
klatexformula.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File klatexformula.spec of Package klatexformula
# # spec file for package klatexformula # # Copyright (c) 2020 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define libversion 4 %define libversionpkgsuffix 4 Name: klatexformula Version: 4.1.0 Release: 0 Summary: A gaphical application for generating images from LaTeX equations License: GPL-2.0-or-later Group: Productivity/Publishing/TeX/Frontends URL: http://klatexformula.sourceforge.net/ Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM Patch0: 0001-Fix-compilation-error-with-Qt-5.15.patch BuildRequires: cmake BuildRequires: doxygen BuildRequires: fdupes BuildRequires: graphviz BuildRequires: graphviz-gd BuildRequires: gs BuildRequires: help2man BuildRequires: hicolor-icon-theme BuildRequires: libstdc++-devel BuildRequires: shared-mime-info BuildRequires: texlive-latex BuildRequires: update-desktop-files BuildRequires: cmake(Qt5Core) >= 5.12.7 BuildRequires: cmake(Qt5DBus) BuildRequires: cmake(Qt5Designer) BuildRequires: cmake(Qt5Gui) BuildRequires: cmake(Qt5Sql) BuildRequires: cmake(Qt5Svg) BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5X11Extras) BuildRequires: cmake(Qt5Xml) Requires: libklfbackend%{libversionpkgsuffix} = %{version} Requires: libklftools%{libversionpkgsuffix} = %{version} Requires: shared-mime-info Obsoletes: KLatexFormula < 3.2 Obsoletes: klatexformula-plugins < 3.2.2 Provides: KLatexFormula = %{version} Provides: klatexformula-plugins = %{version} %description KLatexFormula is a graphical user interface for generating images from LaTeX equations. These images can be dragged and dropped or copied and pasted into external applications (presentations, text documents, graphics...), or can be saved to disk in a variety of formats (PNG, JPG, BMP, EPS, PDF, etc.). If the "cm-unicode" LaTeX package is installed, KLatexFormula can use LaTeX's Computer Modern Sans Serif font as a default application font. %package -n libklfbackend%{libversionpkgsuffix} Summary: KLatexFormula backend library (Qt4) Group: Development/Libraries/C and C++ Requires: gs Requires: texlive-latex Provides: libklfbackend = %{version} %description -n libklfbackend%{libversionpkgsuffix} A C++/Qt library to generate images (PNG, EPS, PDF, plus all Qt-supported image formats) from LaTeX equations. This library implements the base functionality of KLatexFormula. This library is compiled for Qt 4. See also packages klatexformula and libklfbackend-qt3. %package -n klfbackend-devel Summary: Development files for the KLatexFormula backend library Group: Development/Libraries/C and C++ Requires: libklfbackend = %{version} Provides: libklfbackend-devel = %{version} Obsoletes: libklfbackend-devel < 4.0.0 %description -n klfbackend-devel A C++/Qt library to generate images (PNG, EPS, PDF, plus all Qt-supported image formats) from LaTeX equations. This library implements the base functionality of KLatexFormula. This package contains the needed files for development. See also packages klatexformula-devel and libklfbackend-qt3-devel %package -n libklftools%{libversionpkgsuffix} Summary: KLatexFormula tool library Group: Development/Libraries/C and C++ Provides: libklftools = %{version} %description -n libklftools%{libversionpkgsuffix} A C++/Qt4 library containing general-purpose GUI tools. These tools were originially written for use by klatexformula, but they have been promoted to a library for use in any application. %package -n klftools-devel Summary: Development files for the KLatexFormula tool library Group: Development/Libraries/C and C++ Requires: libklftools = %{version} Obsoletes: %{name}-devel < 4.0.0 Provides: %{name}-devel = %{version} Obsoletes: libklftools-devel < 4.0.0 Provides: libklftools-devel = %{version} %description -n klftools-devel A C++/Qt4 library containing general-purpose GUI tools. These tools were originially written for use by klatexformula, but they have been promoted to a library for use in any application. This package contains the needed files for development. %package apidoc Summary: API documentation for KLatexFormula Group: Documentation/HTML Requires: klatexformula = %{version} BuildArch: noarch %description apidoc KLatexFormula is a graphical user interface for generating images from LaTeX equations. This package contains the API documentation of the libraries libklfbackend and libklftool which are the different components of klatexformula. %prep %autosetup -p1 %build %cmake \ -DKLF_CMAKE_DEBUG=ON \ -DKLF_INCLUDE_FONTS="" \ -DKLF_INSTALL_APIDOC_DIR="share/doc/klatexformula-api" \ -DKLF_INSTALL_BIN_DIR=%{_bindir} \ -DKLF_INSTALL_DESKTOP_CATEGORIES="Qt;Office;Utility;Viewer;DesktopUtility;" \ -DKLF_INSTALL_DESKTOP_ICON="klatexformula" \ -DKLF_INSTALL_DEVEL=OFF \ -DKLF_INSTALL_ICON_THEME="share/icons/hicolor" \ -DKLF_INSTALL_KLFBACKEND_AUTO_HEADERS=ON \ -DKLF_INSTALL_KLFBACKEND_HEADERS=ON \ -DKLF_INSTALL_KLFTOOLS_HEADERS=ON \ -DKLF_INSTALL_LIB_DIR=%{_libdir} \ -DKLF_INSTALL_RUNTIME=ON \ -DKLF_INSTALL_SHARE_MAN1_DIR=%{_mandir}/man1 \ -DKLF_INSTALL_SHARE_PIXMAPS_DIR="" \ -DKLF_LIBKLFBACKEND_STATIC=OFF \ -DKLF_LIBKLFTOOLS_STATIC=OFF %cmake_build %install %cmake_install # Doxygen doc generates some duplicate files in the big lot ... %fdupes %{buildroot}%{_datadir}/doc/klatexformula-api # Man pages are duplicates %fdupes -s %{buildroot}%{_mandir} %suse_update_desktop_file klatexformula %post -n libklfbackend%{libversionpkgsuffix} -p /sbin/ldconfig %postun -n libklfbackend%{libversionpkgsuffix} -p /sbin/ldconfig %post -n libklftools%{libversionpkgsuffix} -p /sbin/ldconfig %postun -n libklftools%{libversionpkgsuffix} -p /sbin/ldconfig %files %license CMUFONTS_COPYING COPYING.txt %doc AUTHORS README %{_bindir}/klatexformula %{_bindir}/klatexformula_cmdl %{_datadir}/applications/klatexformula.desktop %{_datadir}/icons/*/*/*/* %{_datadir}/klatexformula/ %{_datadir}/mime/packages/klatexformula-mime.xml %{_mandir}/man1/klatexformula.1%{?ext_man} %{_mandir}/man1/klatexformula_cmdl.1%{?ext_man} %files -n libklfbackend%{libversionpkgsuffix} %{_libdir}/libklfbackend.so.%{libversion} %files -n klfbackend-devel %{_includedir}/klfbackend/ %{_libdir}/libklfbackend.so %files -n libklftools%{libversionpkgsuffix} %{_libdir}/libklftools.so.* %files -n klftools-devel %{_includedir}/klftools/ %{_libdir}/libklftools.so %files apidoc %{_datadir}/doc/klatexformula-api %changelog
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