Sisyphus repository
Last update: 21 october 2019 | SRPMs: 17510 | Visits: 15378764
en ru br
ALT Linux repos
S:4.0.0-alt4

Group :: Publishing
RPM: klatexformula

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: klatexformula
Version: 4.0.0
Release: alt1
License: GPLv2
Group: Publishing
Summary: Generating images from LaTeX equations
Source: %name-%version.tar.gz
Patch: klatexformula-3.2.9-setlocale.patch
Url: http://klatexformula.sourceforge.net/

BuildRequires(pre): rpm-build-xdg

# Automatically added by buildreq on Thu Aug 09 2018

# optimized out: cmake-modules fontconfig gcc-c++ glibc-kernheaders-generic glibc-kernheaders-x86 libEGL-devel libGL-devel libX11-devel libgpg-error libqt5-core libqt5-dbus libqt5-designer libqt5-gui libqt5-sql libqt5-svg libqt5-widgets libqt5-x11extras libqt5-xml libstdc++-devel libwayland-client libwayland-server python-base python-modules qt5-base-devel qt5-tools qt5-tools-devel sh3 xorg-proto-devel
BuildRequires: cmake doxygen fonts-ttf-xorg graphviz libssl-devel qt5-svg-devel qt5-tools-devel-static qt5-x11extras-devel

%description
KLatexFormula is an easy-to-use graphical application for generating
images (that you can drag and drop, copy and paste or save to disk) from
LaTeX equations.

# TODO KLFOpenOfficeorg


%package devel
Group: Development/KDE and QT
Summary: Development environment for %name
%description devel
%summary
TODO: make shared version of %name-devel.

%prep
%setup

%build
%cmake \
-D KLF_LIBKLFBACKEND_AUTO_STATIC=False \
..

%cmake_build all doc

%install
%cmakeinstall_std
for N in %buildroot/%_datadir/pixmaps/kla*.png; do
 SZ="${N##*-}"; SZ="${SZ%%.*}"
 install -D $N %buildroot%_iconsdir/hicolor/$SZ/apps/%name.png
done

%files
%_bindir/*
%_libdir/lib*.so.*
%_iconsdir/hicolor/*/apps/*.png
%_pixmapsdir/*.png
%_desktopdir/*
%_xdgmimedir/*
%_datadir/%name

%files devel
%doc %_defaultdocdir/%name
%_includedir/*
%_libdir/lib*.so

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin