%define origname texstudio Name: texstudio Summary: Free cross-platform LaTeX editor License: GPLv2+ Version: 2.5.2 Release: %mkrel 1 Source0: http://downloads.sourceforge.net/texstudio/texstudio-%{version}.tar.gz URL: http://texstudio.sourceforge.net/ Group: Publishing BuildRequires: qt4-devel BuildRequires: poppler-qt4-devel Requires: desktop-file-utils %rename texmakerx %description TeXstudio is a LaTeX IDE that gives you an environment where you can easily create and manage LaTeX documents. It provides modern writing support, like interactive spell checking, code folding and syntax highlighting. Also it serves as a starting point from where you can easily run all necessary LaTeX tools. %prep %setup -q -n %{name}%{version} %build %qmake_qt4 PREFIX=%{_prefix} texstudio.pro %make %install make install INSTALL_ROOT=%buildroot %files %{_datadir}/%{origname}/* %{_datadir}/applications/texstudio.desktop %{_bindir}/texstudio %changelog * Thu Jan 17 2013 malo <malo> 2.5.2-1.mga3 + Revision: 389214 - new version 2.5.2 * Mon Jan 14 2013 umeabot <umeabot> 2.5.1-2.mga3 + Revision: 384488 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Nov 30 2012 malo <malo> 2.5.1-1.mga3 + Revision: 323551 - new version 2.5.1 * Sun Sep 30 2012 malo <malo> 2.4-1.mga3 + Revision: 300648 - update to new version 2.4 * Wed Jun 13 2012 fwang <fwang> 2.3-2.mga3 + Revision: 260197 - rebuild for new poppler * Sat Feb 11 2012 malo <malo> 2.3-1.mga2 + Revision: 207312 - spec clean-up after import from Mandriva - update to new version 2.3 - imported package texstudio * Thu Dec 08 2011 Lev Givon <lev@mandriva.org> 2.2-1mdv2012.0 + Revision: 739086 - Update to 2.2. - Rename to texstudio. * Sun Jan 30 2011 Lev Givon <lev@mandriva.org> 2.0-1 + Revision: 634301 - Update to 2.0. * Sat Aug 07 2010 Nicolas Lécureuil <nlecureuil@mandriva.com> 1.9.9a-1mdv2011.0 + Revision: 567368 - New version 1.9.9a - Fix package name - Clean buildroot before install ( removed in previous commit ) * Sat Aug 07 2010 Nicolas Lécureuil <nlecureuil@mandriva.com> 1.9.9-2mdv2011.0 + Revision: 567357 - Fix release - Fix use of translations - Fix qt4-devel Buildrequire * Mon Jul 19 2010 Sandro Cazzaniga <kharec@mandriva.org> 1.9.9-1mdv2011.0 + Revision: 554985 - import TexMakerX