Name: texmaker Version: 1.9.9 Release: %mkrel 2 Epoch: 1 Summary: A QT-based LATEX editor License: GPL Group: Publishing URL: http://www.xm1math.net/texmaker/ Source0: http://www.xm1math.net/texmaker/%name-%version.tar.bz2 Source1: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/en_US.zip Patch0: texmaker-pro.patch Requires: aspell BuildRequires: desktop-file-utils BuildRequires: qt4-devel >= 4.5.1 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description Texmaker is a free LaTeX editor that integrates many tools needed to develop documents with LaTeX, in just one application. It includes the following features: - an unicode editor to write your LaTeX source files (syntax highlighting, undo-redo, search-replace, ...) - the principal LaTex tags can be inserted directly with the "LaTeX", "Math" and "Greek" menus - 370 mathematical symbols can be inserted in just one click - wizards to generate code ('Quick document', 'Quick letter', tabular, tabbing and array environments) - LaTeX-related programs can be launched via the "Tools" menu - the standard Bibtex entry types can be inserted in the ".bib" file with the "Bibliography" menu - a "structure view" of the document for easier navigation of a document (by clicking on an item in the "Structure" frame, you can jump directly to the corresponding part of your document - extensive LaTeX documentation - in the "Messages / Log File" frame, you can see information about processes and the logfile after a LaTeX compilation - the "Next Latex Error" and "Previous Latex Error" commands let you reach the LaTeX errors detected by Kile in the log file - by clicking on the number of a line in the log file, the cursor jumps to the corresponding line in the editor %prep %setup -q %patch0 -p0 unzip %SOURCE1 -d dictionaries/ %build export QTDIR=%{qt4dir} %{qt4dir}/bin/qmake texmaker.pro %{__perl} -pi -e "s|-O2|%{optflags}||g" Makefile %{make} %install rm -rf %{buildroot} mkdir -p %{buildroot}%_bindir INSTALL_ROOT=%{buildroot} make install # icons mkdir -p %{buildroot}%_miconsdir cp utilities/texmaker16x16.png %{buildroot}%_miconsdir/%name.png mkdir -p %{buildroot}%_iconsdir/hicolor/16x16/apps cp utilities/texmaker16x16.png %{buildroot}%_iconsdir/hicolor/16x16/apps/%name.png cp utilities/texmaker32x32.png %{buildroot}%_iconsdir/%name.png mkdir -p %{buildroot}%_iconsdir/hicolor/32x32/apps cp utilities/texmaker32x32.png %{buildroot}%_iconsdir/hicolor/32x32/apps/%name.png mkdir -p %{buildroot}%_liconsdir cp utilities/texmaker48x48.png %{buildroot}%_liconsdir/%name.png mkdir -p %{buildroot}%_iconsdir/hicolor/48x48/apps cp utilities/texmaker48x48.png %{buildroot}%_iconsdir/hicolor/48x48/apps/%name.png mkdir -p %{buildroot}%_iconsdir/hicolor/scalable/apps cp utilities/texmaker.svg %{buildroot}%_iconsdir/hicolor/scalable/apps/%name.svg %clean rm -rf %{buildroot} %if %mdkversion < 200900 %post %{update_menus} %update_icon_cache hicolor %endif %if %mdkversion < 200900 %postun %{clean_menus} %clean_icon_cache hicolor %endif %files %defattr(-,root,root) %doc utilities/AUTHORS utilities/CHANGELOG.txt %_bindir/%name %_datadir/%name %_miconsdir/%name.png %_iconsdir/%name.png %_liconsdir/%name.png %_iconsdir/hicolor/*/apps/* %_datadir/applications/%name.desktop %_datadir/pixmaps/%name.png %changelog * Fri Feb 19 2010 Lev Givon <lev@mandriva.org> 1:1.9.9-2mdv2010.1 + Revision: 508359 - Add en_US dictionary (#40598). * Tue Feb 02 2010 Funda Wang <fwang@mandriva.org> 1:1.9.9-1mdv2010.1 + Revision: 499566 - New version 1.9.9 * Tue Jun 30 2009 Frederik Himpe <fhimpe@mandriva.org> 1:1.9.2-1mdv2010.0 + Revision: 391090 - update to new version 1.9.2 * Sun May 24 2009 Frederik Himpe <fhimpe@mandriva.org> 1:1.9.1-1mdv2010.0 + Revision: 379198 - update to new version 1.9.1 * Thu May 21 2009 Frederik Himpe <fhimpe@mandriva.org> 1:1.9-1mdv2010.0 + Revision: 378397 - Update to new version 1.9 * Wed Nov 05 2008 David Walluck <walluck@mandriva.org> 1:1.8-1mdv2009.1 + Revision: 300031 - 1.8 * Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 1:1.7.1-2mdv2009.0 + Revision: 269424 - rebuild early 2009.0 package (before pixel changes) + Pixel <pixel@mandriva.com> - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas * Sat May 03 2008 Funda Wang <fwang@mandriva.org> 1:1.7.1-1mdv2009.0 + Revision: 200675 - New version 1.7.1 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sat Aug 25 2007 Funda Wang <fwang@mandriva.org> 1:1.6-2mdv2008.0 + Revision: 71117 - BR desktop-file-utils - fix invalid desktop file * Thu Jun 21 2007 David Walluck <walluck@mandriva.org> 1:1.6-1mdv2008.0 + Revision: 42159 - 1.6 - use full source URL * Thu May 10 2007 Austin Acton <austin@mandriva.org> 1:1.5-2mdv2008.0 + Revision: 26094 - install docs where it can find them * Wed May 09 2007 Austin Acton <austin@mandriva.org> 1:1.5-1mdv2008.0 + Revision: 25770 - requires aspell - epoch 1 - new version - use qt4, drop KDE dependency - force build flags - XDG menu, FD.o icons (cookies!!) * Mon Jun 26 2006 Pascal Terjan <pterjan@mandriva.org> 1.12-2mdv2007.0 - fix qtdir and path to the lib on x86_64 - mkrel * Thu Apr 28 2005 Lenny Cartier <lenny@mandrakesoft.com> 1.12-1mdk - 1.12 * Wed Jun 16 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 1.0.1-3mdk - rebuild * Wed Feb 11 2004 David Baudens <baudens@mandrakesoft.com> 1.0.1-2mdk - Fix menu * Tue Aug 05 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.0.1-1mdk - 1.0.1 * Sun Jul 20 2003 Olivier Thauvin <thauvin@aerov.jussieu.fr> 1.0-3mdk - fix menu section (David Coe <david.coe@dsl.pipex.com>) * Sat Jul 19 2003 Olivier Thauvin <thauvin@aerov.jussieu.fr> 1.0-2mdk - buildrequires kdelibs-devel * Fri Jul 18 2003 Olivier Thauvin <thauvin@aerov.jussieu.fr> 1.0-1mdk - 1st mdk contrib (Thanks to war[sheep] to notify me this tools)