2010-08-13 00:47:36 +00:00
#
2011-02-18 14:11:06 +00:00
# spec file for package texmaker
2010-08-13 00:47:36 +00:00
#
2013-03-15 03:42:40 +00:00
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
2010-08-13 00:47:36 +00:00
#
# 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 : texmaker
2013-11-05 11:25:29 +00:00
Version : 4.1
2012-04-18 05:09:08 +00:00
Release : 0
2010-12-05 22:25:50 +00:00
Summary : Free cross-platform LaTeX editor
2012-04-18 05:09:08 +00:00
License : GPL-2.0
2010-08-13 00:47:36 +00:00
Group : Productivity/Publishing/TeX/Frontends
2012-04-18 05:09:08 +00:00
Url : http://www.xm1math.net/texmaker/
Source : http://www.xm1math.net/texmaker/texmaker-%{version} .tar.bz2
2011-02-07 13:23:42 +00:00
# PATCH-FIX-UPSTREAM texmaker-correct-doc-location.patch badshah400@gmail.com -- Handle doc files in the spec file rather than placing them in %%{_datadir} during compilation
2010-12-05 22:25:50 +00:00
Patch1 : texmaker-correct-doc-location.patch
BuildRequires : fdupes
BuildRequires : libQtWebKit-devel
2012-03-01 09:20:23 +00:00
BuildRequires : libpoppler-qt4-devel >= 0.16
2010-12-05 22:25:50 +00:00
BuildRequires : libqt4-devel >= 4.6.1
2010-08-13 00:47:36 +00:00
BuildRequires : update-desktop-files
2010-12-05 22:25:50 +00:00
Requires : hunspell
2010-08-13 00:47:36 +00:00
Requires : libQtWebKit4 >= 4.6.1
2010-12-05 22:25:50 +00:00
Requires : texlive-latex
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2010-08-13 00:47:36 +00:00
%description
2010-12-05 22:25:50 +00:00
Texmaker is a free LaTeX editor, that integrates many tools
2010-08-13 00:47:36 +00:00
needed to develop documents with LaTeX, in just one application.
2010-12-05 22:25:50 +00:00
Texmaker runs on unix, macosx and windows systems and is released
2010-08-13 00:47:36 +00:00
under the GPL license .
2013-03-16 21:21:50 +00:00
2010-08-13 00:47:36 +00:00
%prep
%setup -q
2010-12-05 22:25:50 +00:00
%patch1 -p1
2010-08-13 00:47:36 +00:00
%build
QTDIR=%{_libdir} /qt4
PATH=$QTDIR/bin:$PATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
DYLD_LIBRARY_PATH=$QTDIR/lib:$DYLD_LIBRARY_PATH
export QTDIR PATH LD_LIBRARY_PATH DYLD_LIBRARY_PATH
2010-12-05 22:25:50 +00:00
PREFIX=%{buildroot} %{_prefix}
2010-08-13 00:47:36 +00:00
qmake -unix texmaker.pro
2013-03-16 21:21:50 +00:00
make %{?_smp_mflags} INSTALL_ROOT=%{buildroot}
2010-08-13 00:47:36 +00:00
%install
2010-12-05 22:25:50 +00:00
make INSTALL_ROOT=%{buildroot} install
%fdupes %{buildroot} %{_datadir} /
2010-08-13 00:47:36 +00:00
%files
%defattr (-,root,root,-)
2010-12-05 22:25:50 +00:00
%doc utilities/AUTHORS utilities/COPYING utilities/CHANGELOG.txt
%{_bindir} /texmaker
%{_datadir} /applications/texmaker.desktop
%{_datadir} /pixmaps/texmaker.png
%{_datadir} /texmaker/
2010-08-13 00:47:36 +00:00
%changelog