76 lines
2.1 KiB
RPMSpec
76 lines
2.1 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package texmaker (Version 2.0)
|
||
|
#
|
||
|
# Copyright (c) 2010 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
|
||
|
Summary: Free cross-platform LaTeX editor
|
||
|
Version: 2.0
|
||
|
Release: 1
|
||
|
Url: http://www.xm1math.net/texmaker/index.html
|
||
|
Source: texmaker-%{version}.tar.bz2
|
||
|
License: GPLv2
|
||
|
Group: Productivity/Publishing/TeX/Frontends
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
BuildRequires: libqt4-devel >= 4.6.1
|
||
|
BuildRequires: libpoppler-qt4-devel
|
||
|
BuildRequires: update-desktop-files
|
||
|
BuildRequires: libQtWebKit-devel
|
||
|
Requires: libQtWebKit4 >= 4.6.1
|
||
|
Requires: texlive texlive-bin texlive-latex texlive-bin-latex texlive-context hunspell
|
||
|
#
|
||
|
|
||
|
%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
|
||
|
#
|
||
|
|
||
|
%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=$RPM_BUILD_ROOT/usr
|
||
|
qmake -unix texmaker.pro
|
||
|
make INSTALL_ROOT=$RPM_BUILD_ROOT
|
||
|
#
|
||
|
|
||
|
%install
|
||
|
make INSTALL_ROOT=$RPM_BUILD_ROOT install
|
||
|
#
|
||
|
%suse_update_desktop_file %{name}
|
||
|
|
||
|
%clean
|
||
|
rm -rf %{buildroot}
|
||
|
#
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,-)
|
||
|
#%doc COPYING README
|
||
|
/usr/bin/texmaker
|
||
|
/usr/share/applications/texmaker.desktop
|
||
|
/usr/share/pixmaps/texmaker.png
|
||
|
/usr/share/texmaker/
|
||
|
|
||
|
%changelog
|