%define ver 1.3.3 %define rel 1 %define prefix /usr Summary: Extremely simple, and feature-rich, HTML/text editor for GTK/GNOME. Name: gnotepad+ Version: %{ver} Release: 1 Copyright: GPL Url: http://gnotepad.sourceforge.net Group: Applications/System Source: gnotepad+-%{ver}.tar.gz Requires: gtk+ >= 1.2.0 glib >= 1.2.0 BuildRoot: /var/tmp/%{name}-root %description gnotepad+ is an easy-to-use, yet fairly feature-rich, simple HTML/text editor for systems running X11 and using GTK+/GNOME. It is designed for as little bloat as possible, while still providing many of the common features found in a modern GUI-based text editor. %prep %setup -q %build CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} make %install rm -rf $RPM_BUILD_ROOT make prefix=$RPM_BUILD_ROOT%{prefix} install %clean rm -rf $RPM_BUILD_ROOT %files %doc AUTHORS HACKING NEWS README TODO ChangeLog %attr(755,root,root) %{prefix}/bin/gnp %{prefix}/man/man1/gnp.1 %{prefix}/share/* %changelog * Wed Nov 15 2000 Andy C. Kahn - Fix incorrect prefix and destination in install command. The locale files were being installed in a separate location, such that the resulting RPM did not include them. * Mon May 11 2000 Andy C. Kahn - remove "%{prefix}/share/locale/*/*/*" line. It was causing the RPM build to fail. * Mon May 08 2000 Andy C. Kahn - version 1.3.0