Update to version 4.0.2 OBS-URL: https://build.opensuse.org/request/show/174880 OBS-URL: https://build.opensuse.org/package/show/Publishing/texmaker?expand=0&rev=53
72 lines
2.4 KiB
RPMSpec
72 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package texmaker
|
|
#
|
|
# 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: texmaker
|
|
Version: 4.0.2
|
|
Release: 0
|
|
Summary: Free cross-platform LaTeX editor
|
|
License: GPL-2.0
|
|
Group: Productivity/Publishing/TeX/Frontends
|
|
Url: http://www.xm1math.net/texmaker/
|
|
Source: http://www.xm1math.net/texmaker/texmaker-%{version}.tar.bz2
|
|
# 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
|
|
Patch1: texmaker-correct-doc-location.patch
|
|
BuildRequires: fdupes
|
|
BuildRequires: libQtWebKit-devel
|
|
BuildRequires: libpoppler-qt4-devel >= 0.16
|
|
BuildRequires: libqt4-devel >= 4.6.1
|
|
BuildRequires: update-desktop-files
|
|
Requires: hunspell
|
|
Requires: libQtWebKit4 >= 4.6.1
|
|
Requires: texlive-latex
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Texmaker is a free LaTeX editor, that integrates many tools
|
|
needed to develop documents with LaTeX, in just one application.
|
|
Texmaker runs on unix, macosx and windows systems and is released
|
|
under the GPL license .
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch1 -p1
|
|
|
|
%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
|
|
PREFIX=%{buildroot}%{_prefix}
|
|
qmake -unix texmaker.pro
|
|
make %{?_smp_mflags} INSTALL_ROOT=%{buildroot}
|
|
|
|
%install
|
|
make INSTALL_ROOT=%{buildroot} install
|
|
%fdupes %{buildroot}%{_datadir}/
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc utilities/AUTHORS utilities/COPYING utilities/CHANGELOG.txt
|
|
%{_bindir}/texmaker
|
|
%{_datadir}/applications/texmaker.desktop
|
|
%{_datadir}/pixmaps/texmaker.png
|
|
%{_datadir}/texmaker/
|
|
|
|
%changelog
|