%define origname texmakerx Name: TexMakerX Summary: A fork of the LaTeX IDE TexMaker License: GPLv2+ Version: 1.9.9 Release: %mkrel 2 Source0: http://downloads.sourceforge.net/project/texmakerx/%{origname}%{version}.tar.gz URL: http://texmakerx.sourceforge.net/ Group: Publishing Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: qt4-devel Requires: desktop-file-utils %description TexMakerX is a fork of the LaTeX IDE TexMaker and 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 %{version} %build %qmake_qt4 PREFIX=%{_prefix} texmakerx.pro %make %install make install INSTALL_ROOT=%buildroot %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_datadir}/%{origname}/* %{_datadir}/applications/texmakerx.desktop %{_bindir}/texmakerx %changelog * 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