# norootforbuild Name: moe Version: 1.3 Release: 0 Summary: Powerful and User-friendly Text Editor # http://ftp.gnu.org/gnu/moe/moe-%{version}.tar.gz Source: moe-%{version}.tar.bz2 Patch1: moe-ldflags_order.patch URL: http://www.gnu.org/software/moe/moe.html Group: Productivity/Editors/Other License: GNU General Public License version 3 (GPL v3) BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: ncurses-devel gcc gcc-c++ libstdc++-devel BuildRequires: make glibc-devel PreReq: %install_info_prereq %description GNU Moe is a powerful, 8-bit clean text editor for ISO-8859 and ASCII character encodings. It has a modeless, user-friendly interface, online help, multiple windows, unlimited undo/redo capability, unlimited line length, global search/replace (on all buffers at once), block operations, automatic indentation, word wrapping, filename completion, a directory browser, duplicate removal from prompt histories, and delimiter matching. Authors: -------- Antonio Diaz Diaz %prep %setup -q %patch1 %build # not autoconf: ./configure \ --prefix="%{_prefix}" \ --datadir="%{_datadir}" \ --infodir="%{_infodir}" \ --mandir="%{_mandir}" \ --sysconfdir="%{_sysconfdir}" \ CC="%__cc" \ CXX="%__cxx" \ CFLAGS="%{optflags}" \ CXXFLAGS="%{optflags}" %__make %{?jobs:-j%{jobs}} %install %makeinstall install-man %post %install_info --info-dir="%{_infodir}" "%{_infodir}"/moe.info* %preun %install_info_delete --info-dir="%{_infodir}" "%{_infodir}"/moe.info* %clean %__rm -rf "%{buildroot}" %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README %config(noreplace) %{_sysconfdir}/moerc %{_bindir}/moe %doc %{_infodir}/moe.info* %doc %{_mandir}/man1/moe.1* %changelog * Fri Sep 04 2009 Pascal Bleser 1.3 - update to 1.3 * Mon Feb 23 2009 Pascal Bleser 1.1 - moved to openSUSE Build Service - update to 1.1 * Wed Jan 17 2007 Pascal Bleser 0.8-1 - new upstream version * Fri Apr 21 2006 Pascal Bleser 0.7-1 - new package # Local Variables: # mode: rpm-spec # tab-width: 3 # End: