1 Summary: LaTeX development environment
2 Summary(pl.UTF-8): Środowisko do tworzenia dokumentów LaTeXa
7 Group: Applications/Publishing
8 Source0: http://www.xm1math.net/texmaker/%{name}-%{version}.tar.bz2
9 # Source0-md5: 17f91175a32827e9c9f45dc7a20a0c2b
10 Source1: %{name}.desktop
11 URL: http://www.xm1math.net/texmaker/
13 BuildRequires: qt-devel >= 4.1
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Texmaker is a free LaTeX editor, that integrates many tools needed to
18 develop documents with LaTeX, in just one application.
20 %description -l pl.UTF-8
21 Texmaker to darmowy edytor LaTeXa, który łączy wiele narzędzi
22 potrzebnych do tworzenia dokumentów LaTeXa w jednej aplikacji.
28 export QTDIR="%{_prefix}"
29 qmake -unix texmaker.pro \
31 CXXFLAGS="%{rpmcflags}"
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir},%{_datadir}/texmaker}
38 install %{name} $RPM_BUILD_ROOT%{_bindir}
39 install utilities/{*.png,*.gif,usermanual.html,style.css} $RPM_BUILD_ROOT%{_datadir}/texmaker
40 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
41 install utilities/texmaker32x32.png $RPM_BUILD_ROOT%{_pixmapsdir}/texmaker.png
42 # are SVG icons supported?
43 #install utilities/texmaker.svg $RPM_BUILD_ROOT%{_pixmapsdir}
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %doc utilities/AUTHORS
51 %attr(755,root,root) %{_bindir}/*
53 %{_desktopdir}/*.desktop