%define ver 2.8.3 %define rel 1 %define prefix /@unixroot/usr Summary: Qt based advanced text editor Name: qedit Version: %{ver} Release: %{rel} License: GPL Group: Applications/Editors Vendor: bww bitwise works GmbH %scm_source svn http://svn.netlabs.org/repos/ports/qedit/trunk 2302 #Source: %{name}-%{ver}.tar.gz BuildRoot: /var/tmp/%{name}-buildroot Requires: libqt4 #Requires: libqt4-core #Requires: libqt4-gui Requires: aspell %description Qt based advanced text editor. Supports syntax highlighting, matching-parenthesis highlighting, auto-indentation, customizable text macro for many languages, such as C/C++, fortran, Makefile, HTML/XML, etc. Can be plugged with aspell to provide automatic spell-checking. %prep #%setup -q -n %{name}-%{ver} %{rel} %scm_setup %build cmake -DCMAKE_INSTALL_PREFIX=%{prefix} -DCMAKE_BUILD_TYPE=release . make -j4 %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING INSTALL %{prefix}/bin/qedit.exe %changelog * Sun Sep 23 2018 Elbert Pol - 2.8.3.1 - Updated to latest version * Mon Dec 18 2017 Elbert Pol - 2.8.2.1 - Update to latest version * Sat Aug 19 2017 Elbert Pol - 2.8.1.2 - Forgot to fix some requires * Fri Aug 18 2017 Elbert Pol - 2.8.1.1 - Fist RPM package for ARCANOA and OS/2