equalx/equalx.spec

64 lines
1.9 KiB
RPMSpec

#
# spec file for package equalx
#
# Copyright (c) 2013 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/
#
Name: equalx
Version: 0.6.0
Release: 0
Summary: Editor for writing and exporting TeX/LaTeX equations
License: GPL-3.0+
Group: Productivity/Publishing/TeX/Frontends
Url: http://equalx.sourceforge.net/
Source: http://downloads.sourceforge.net/equalx/%{name}-%{version}.tar.gz
BuildRequires: libqt4-devel >= 4.8.0
BuildRequires: pkg-config
BuildRequires: pkgconfig(exempi-2.0)
Requires: texlive-latex
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
EqualX is a helpful graphical interface to LaTeX programs.
It gives you the power and beauty for writing TeX/LaTeX equations
in a simple to use editor.
Features included:
* Highlight find results in the Equation Preview;
* 3 modes for Refreshing the Preview
* Customise the export commands
* Professional & customisable window layout
* Equation font is computed according to desktop DPI
* Reshaping the Symbols toolbar and Templates toolbar
%prep
%setup -q
sed -i 's/\r$//' LICENSE README
%build
qmake QMAKE_CFLAGS="%optflags" QMAKE_CXXFLAGS="%optflags"
make
%install
make INSTALL_ROOT=%{buildroot} install
%files
%defattr(-,root,root)
%doc changelog README COPYING LICENSE
%{_bindir}/%{name}
%changelog